You are not logged in.
I was wondering if there is some kind of web framework like django for C and C++ programmers.
I already know quite well those two languages and I know how long it takes learn a language WELL (overall if complex and liberal as C++),
so I was wondering if I could start web development with those languages.
Or it is better I start studying Python?
Advices? Ideas?
thanks
Offline
The one web thingy for C++ I came across was Wt. I have never used it so can't say anything about it and to be honest to me using C++ for webstuff sounds scary but why not :-)
Offline
to be honest to me using C++ for webstuff sounds scary but why not :-)
It doesn't feel natural to me either...
The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...
Offline
The author of http://nonoba.com/ said the backend is C++-based when I asked him how it worked once. So there are things like that out there.
-dav7
Last edited by dav7 (2008-11-28 13:47:26)
Windows was made for looking at success from a distance through a wall of oversimplicity. Linux removes the wall, so you can just walk up to success and make it your own.
--
Reinventing the wheel is fun. You get to redefine pi.
Offline
Maybe this helps you http://www.cs.tut.fi/~jkorpela/forms/cgic.html
Offline
I'm not sure it's "scary". It's certainly more work to do properly
You basically have 4 options:
A) Use CGI. Simple, because your app is spawned once per request. So, there is no real need to do advanced resource management. OTOH, it's kinda slow - because a new process is spawned for each request. Wikipedia is your friend - http://en.wikipedia.org/wiki/Common_Gateway_Interface
B) Use FCGI. More complex. Your app stays resident and communicates with the web server via a socket (UNIX or TCP/IP). Read introduction, and find a nice C++ lib, at http://cryp.to/publications/fastcgi/
C) Write a "native" web server module -- the howto will differ wildly between servers.
D) Write your own web server with the app baked in. Ouch.
Offline
You really don't want to use C. Try Perl, it accepts a syntax very close to that of C and is much more adapted to web apps.
Offline