473,327 Members | 2,074 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

I have a vision for dynamic C++ driven websites!

I have a vision for webservers, like apache, which drive websites
online. Html and PHP are basically just templates that webservers
*USE*. If we want to be real geniuses then we need to code our own
dynamic website inside of the webserver, and just use basic layouts
and templates as part of an object oriented programming model. If you
just strip all of the colors and layouts from the google website, I
believe what you are left with is hard coded C++ code that gets
injected into the layout and served directly to you individually.
Webservers already multi-task and handle indididual requests. It is
just a matter of processing power and bandwidth that allows google to
serve out so many individual requests. I mean if you think google is
coded up with php and mysql you have to be crazy!

So who is with me? We join the revolution and we launch, our own C++
website programming library, instead of just putting up another
website written in C++. Does anyone follow me here? We basically
just take Apache and make a library that allows C++ programs to work
with it that would control what kind of webpages the end users looks
at.

Mar 30 '07 #1
9 1497
CoreyWhite wrote:
I have a vision for webservers, like apache, which drive websites
online. Html and PHP are basically just templates that webservers
*USE*. If we want to be real geniuses then we need to code our own
dynamic website inside of the webserver, and just use basic layouts
and templates as part of an object oriented programming model. If you
just strip all of the colors and layouts from the google website, I
believe what you are left with is hard coded C++ code that gets
injected into the layout and served directly to you individually.
Webservers already multi-task and handle indididual requests. It is
just a matter of processing power and bandwidth that allows google to
serve out so many individual requests. I mean if you think google is
coded up with php and mysql you have to be crazy!

So who is with me? We join the revolution and we launch, our own C++
website programming library, instead of just putting up another
website written in C++. Does anyone follow me here? We basically
just take Apache and make a library that allows C++ programs to work
with it that would control what kind of webpages the end users looks
at.
Corey,

Could you PLEASE PLEASE PLEASE stop posting to comp.lang.php?
We are still all thinking about your groundshaking postings about davinci,
and cannot take a lot more of your brilliant ideas.

Stick to alt.religion.wicca

Thanks.

Erwin Moller
Mar 30 '07 #2
On Fri, 30 Mar 2007 06:48:57 -0700, CoreyWhite wrote:
I have a vision for webservers, like apache, which drive websites
online. Html and PHP are basically just templates that webservers
*USE*. If we want to be real geniuses then we need to code our own
dynamic website inside of the webserver, and just use basic layouts
and templates as part of an object oriented programming model. If you
just strip all of the colors and layouts from the google website, I
believe what you are left with is hard coded C++ code that gets
injected into the layout and served directly to you individually.
Yea... it's called CGI. I've been programming C++ backends for websites
for years.
Mar 30 '07 #3
CoreyWhite wrote:
....
>
So who is with me? We join the revolution and we launch, our own C++
website programming library, instead of just putting up another
website written in C++. Does anyone follow me here? We basically
just take Apache and make a library that allows C++ programs to work
with it that would control what kind of webpages the end users looks
at.
Been there, done that.

In 2000 I wrote a front-end ASP/PHP scripting language that had embedded
C++ that compiled to DLL's. It also allowed you to dynamically load and
unload DLL's and had a debugging environment that allowed you to track
down exactly which line of code produced which output text.

I called it "CSP" - compiled server pages...

We built a template libary around it not unlike smarty.

Cut a long story short, the new management wanted everything done in
perl and killed the whole thing.

After the new management killed the company, the original founder
started up the company from the ashes and gave me permission to open
source publish all the "non proprietary" parts of the code. I still
haven't got around to doing it.

You can make C++ just as dynamic as a scripted language...


Mar 30 '07 #4
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/softwar...pd/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
co********@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.

Mar 30 '07 #5
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/softwar...pd/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?

Mar 30 '07 #6
On Mar 30, 11:15 am, "shimmyshack" <matt.fa...@gmail.comwrote:
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/softwar...pd/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.

Mar 30 '07 #7
CoreyWhite wrote:
If we want to be real geniuses then we need to code our own
dynamic website inside of the webserver
This has been done before. On Apache it's called modules; on IIS it's
called ISAPI.
and just use basic layouts and templates as part of an object oriented
programming model.
That has also been done before -- it's called MVC.
I mean if you think google is coded up with php and mysql you have to be
crazy!
Indeed, you would have to be.
We basically just take Apache and make a library that allows C++ programs
to work with it that would control what kind of webpages the end users
looks at.
Already been done -- it's called CGIC.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
Geek of ~ HTML/SQL/Perl/PHP/Python*/Apache/Linux

* = I'm getting there!
Mar 30 '07 #8
On 30 Mar, 14:48, "CoreyWhite" <CoreyWh...@gmail.comwrote:
I have a vision for webservers, like apache, which drive websites
online. Html and PHP are basically just templates that webservers
*USE*. If we want to be real geniuses then we need to code our own
dynamic website inside of the webserver, and just use basic layouts
and templates as part of an object oriented programming model. If you
just strip all of the colors and layouts from the google website, I
believe what you are left with is hard coded C++ code that gets
injected into the layout and served directly to you individually.
Webservers already multi-task and handle indididual requests. It is
just a matter of processing power and bandwidth that allows google to
serve out so many individual requests. I mean if you think google is
coded up with php and mysql you have to be crazy!

So who is with me? We join the revolution and we launch, our own C++
website programming library, instead of just putting up another
website written in C++. Does anyone follow me here? We basically
just take Apache and make a library that allows C++ programs to work
with it that would control what kind of webpages the end users looks
at.
It's not what you do it with, it is what you do with it that matters.
If you have an cool web idea patent it and then script/write it in the
most appropriate language.

E.g. what happened to automated purchasing for consumers?

Mar 31 '07 #9
93,

----- Original Message -----
From: <vi***********@gmail.com>
Newsgroups:
alt.magick,alt.religion.wicca,alt.native,comp.lang .c++,comp.lang.php
Sent: Friday, March 30, 2007 11:26 AM
Subject: Re: I have a vision for dynamic C++ driven websites!

On Mar 30, 11:15 am, "shimmyshack" <matt.fa...@gmail.comwrote:
>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/softwar...pd/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.
Oh my, but don't we have a narrow, narrow viewpoint (not Corey). Magick is
the art of causing change in conformance with will. That could EASILY
describe programming eh ? I mean, I mean, Corey may be trying to, doing,
and exposing a great truth here eh ? I have followed his posts dillegently
for quite a while, being a life long software developer (I started in grade
school, began in ernest in Junior High, and haven't stopped). Note, his
posts aren't labled as "off topic" ... because they are not off topic !!!
Unfortunately my experience is with C++, but my passion is Prolog, Lisp,
self modifying decision trees. So unless you want your web server to ask if
you want to play a game I'm not the man. Side's, I'm on permanant
disability ;->.

Bruce
http://bellsouthpwp.net/T/i/Tiger93/dusktodawn.htm
93 93/93
May 15 '07 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: BMM | last post by:
Hi. I am involved in a project that I think is a perfect candidate for an SVG-based implementation (web-enabled, data-driven). However, a subcontractor has suggested that SVG is not the way to go....
0
by: Pascal Costanza | last post by:
Dynamic Languages Day @ Vrije Universiteit Brussel ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Monday, February 13, 2006, VUB Campus Etterbeek The VUB (Programming Technology Lab,...
5
by: pittendrigh | last post by:
There must be millions of dynamically generated html pages out there now, built by on-the-fly php code (and jsp, perl cgi, asp, etc). Programatic page generation is transparently useful. But...
8
by: CoreyWhite | last post by:
I have a vision for webservers, like apache, which drive websites online. Html and PHP are basically just templates that webservers *USE*. If we want to be real geniuses then we need to code our...
0
by: pinxi | last post by:
We are seeking to hire a lead programmer to build a dynamic Web-based imaging module which will enable users to upload a digital image or photograph to the site and choose from thousands of...
9
by: pbd22 | last post by:
Hi. This is just a disaster management question. I am using XMLHTTP for the dynamic loading of content in a very crucial area of my web site. Same as an IFrame, but using XMLHTTP and a DIV. I...
3
by: c.ginestet | last post by:
Hello, I want to create classes that I could aggregate with each others using operators. This would therefore take the form of a dynamic aggregation. For instance, (This code does not...
3
by: =?Utf-8?B?UiBSZXllcw==?= | last post by:
Hi! This discussion may help other programmers get a better idea of how to save uploaded images through a website. Why? Well currently, I save 3 versions of every uploaded image on my own...
25
by: pereges | last post by:
Hello, I'm trying to build a database driven website for a library management system. The database is stored on a remote server which all of my team mates can access. I've installed MySQL, PHP and...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.