|
Posted by virtualadepts on 03/30/07 15:26
On Mar 30, 11:15 am, "shimmyshack" <matt.fa...@gmail.com> wrote:
> On 30 Mar, 15:42, virtualade...@gmail.com wrote:
>
>
>
> > 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
> > coreywh...@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.
>
> so corey/virtualade is just an elaborate way of getting people to
> visit muquit.com, or do you just enjoy replying to your own posts?
LOL, funny. I'm busy ordering books on CGI & Perl now. It is hard to
find the good books though. I'm looking for something comprehensive
and written at the level experts using the language would use the book
as a reference.
Navigation:
[Reply to this message]
|