开发者

which language will be suitable for an web Interface [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 11 years ago.

I am planning to write a webcrawler in c++ and i need to manage the crawler settings in a web interface ...so i am planning to use some languages like perl or开发者_JAVA技巧 python to use as web interface and c++ as language..which will be the best language for c++ to interact with python or perl ..etc..


If your web UI needs are simple, there's no reason you can't build the web interface in C++ as well. I have built a server using the mongoose embeddable http server library, adding support for web configuration pages is simple enough. If all you need is to render some input forms and process the input fields when the user submits the form, you can do it all very easily in C++. If you need to build more sophisticated web pages, you might be better off using bindings for Python, Perl or whatever language you feel most comfortable with.


If you're using the web app to write to config files, and then reading them using the C++ app, you can use any of those languages.

When I'm doing something that I want built quickly I would grab PHP or Perl. Both have extensive libraries that can do just about anything you would need. My personal preference for something like you are describing would be PHP but that is a personal preference only.


You can easily interface between Python and C++ using Boost.Python.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜