Click to See Complete Forum and Search --> : How can you write a web-based app using C++ and HTML on LINUX


khanhtran
November 17th, 2002, 08:02 PM
Dears programmers,
May someone give me some advice on developing a web application using C++. I am using Linux with MySQL database and Apache web server.
Please help me.

doublehook
November 18th, 2002, 04:20 PM
What do you understand as web application?
If you want to write dynamic or interactive pages
you have PHP and MySQL.
If you want something else tell us more details.
Dou you want to write new functions or you
have new ideas for your Apache web server?

AlionSolutions
November 20th, 2002, 06:33 AM
Hi,
I agree to the posting above. If you could describe a little bit more in detail what you want to archive, somebody might help you.

It looks like someone told you about Web-Applications, and that it is possible to code them in C++ too. Then you thought: "Hey, something new, let's try it." Right ???

But a buzzword makes no project. So if you want to learn something about Web-Applications, you must know what is a Web-Application. The definition of Web-Application is very blurry. Nearly everybody in the business has her/his own definition about it.

Some call a simple HTML-Website including some smart javascripts a Web-Application, and they are also right as the ones that call a full-featured Application-Server a Web-Application.

In general I say, the best language to implement Web-Based-Thingies is Java. Ok, don't hit me... it's my opinion. C++ is the best programming language in the world (who the f.. is Eiffel ):) , but Java is better to quickly develop applications for the web.

This is because Java was not implemented to build traditional Applications, but Web-Based-Apps.
I never want to implement a Raytracer or Fractal-Generator in Java. Ok, the first one I tried
:p
And also I think I would never build an Application in C++ that implements functionalities usually found in a Java-Applet-Code.

For this reason I'm not familiar with calling C++-code from an Apace Webserver etc. I think if this is possible you surely can implement some smart functions, that handle XML-Code, but why ? Java has all built in.

Again, if you could describe more in detail what you want to archieve, maybe we can find a way.

Code on...

Juergen