首先,对不起我的英文:)
我是网络开发者。 通常用PHP编码。
最近开始学习C ++。
我想创建简单的应用程序,这将简化日常工作。 例如,每当我查看我的网上银行账户时,必须通过任何浏览器登录我的账户。 我想做的是,创建将存储我的登录和通行证的迷你Windows应用程序,将登录到我的帐户,并在登录后直接显示我在浏览器上看到的确切页面。 我正在谈论的网站就在这里
问题是,我找不到任何有关创建此类应用程序的教程。 不知道从哪里开始。 做过研究,却一无所获。 (也许我选择了错误的关键词:))所以决定在这里发帖。 我不需要你的代码,只需给我起点,在哪里学习如上所述创建应用程序。
还有一个问题:在构建这样的Windows应用程序之前,了解网站的编码语言是否重要? 我的意思是:PHP / C#...等等提前
First of all, sorry for my English :)
I'm web developer. Generally coding in PHP.
Recently started to learn C++.
I want to create simple application which will simplfy daily routine works. For ex,Every time when I check my internet banking account, must login to my account via any browser. What I wanna do is, to create mini windows application which will store my login and pass, will login to my account, and show exact page what I see on browser directly after login. Website that I'm talking about is here
The problem, I can't find any tutorial about creating such application. Don't know where to start. Did research but found nothing about this. (Maybe I selected wrong keywords :)) So decided to post question here. I don't need your code, just give me starting point, where to learn to create applications as I described above.
And one more question: Is it important to know website's coding language before building such windows apps? I mean: PHP/C#... etc Thx in advance
最满意答案
不知道为什么你会选择这种类型的项目的C ++,虽然它可能,这将是相当繁琐的。 我建议查看Java,perl,ruby,python或其他支持Selenium Webdriver API的语言。 你也可以在Perl中使用mechanize API,这也有点乏味。 我过去使用Selenium( http://seleniumhq.org )成功完成了这样的事情。 不幸的是,我认为目前还没有适用于C ++的Webdriver API(您可以尝试编写一个!),但我发布的其他语言肯定有API可用。 查看: http : //seleniumhq.org/about/platforms.html#programming-languages 。
编辑
如果你对使用C ++的屏幕抓取更感兴趣,这个问题以及线程中的一些答案也可能对你有用: https : //stackoverflow.com/questions/489522/library-recommendation-c-html-解析器
Not sure why you would pick C++ for this type of project, though it's possible, it would be quite tedious. I would recommend looking into Java, perl, ruby, python, or some other language that supports the Selenium Webdriver API. You can also use the mechanize API with Perl, which is also a bit tedious. I've done things like this in the past with success using Selenium (http://seleniumhq.org). Unfortunately, I don't think there is a Webdriver API for C++ as of yet (you could try writing one!), but there are definitely APIs available for the other languages I posted. Check out: http://seleniumhq.org/about/platforms.html#programming-languages.
EDIT
If you're more interested in screen scraping with C++, this question, and some answers within the thread, may prove useful to you as well: https://stackoverflow.com/questions/489522/library-recommendation-c-html-parser
更多推荐
发布评论