Reply to Re: I have a vision for dynamic C++ driven websites!

Your name:

Reply:


Posted by virtualadepts on 03/30/07 14:42

The best idea I could come up with was to download a minimal httpd
webserver written in a single C++ source file from here:
http://www.muquit.com/muquit/software/mhttpd/mhttpd.html
It doesn't handle PHP yet, but that could be coded in to it later.
Once you have the bare bones of a webserver, it is just a matter of
coding that into the DLL, along with a front end to code up webpages
in cpp files. The idea is simple enough, to have a custom web
server. But getting nice minimalistic code that translates to and
from CPP, HTML, PHP, & CSS is hard. I think we would have to use the
dynamic template model. CPP functions could have all the basic
objects for templates the websites use in its memory, and know how to
modify them. With the option of writing web based scripts directly in
the CPP program. The hard part comes when you want to translate the
entire language of PHP to CPP, and translate HTML, and especially CSS
or javascript. The easy way to do it is to leave room for people to
input their own scripts into the webserver, and to look at them as
basic modifiable objects.

What was the idea behind your project? Write me an e-mail at
coreywhite@gmail.com if you ever catch wind of other projects out
there that can do this. I like the CGI/C++ backend idea. I'll be
looking into it today.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация