473,388 Members | 1,277 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,388 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
8 1403
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 #2
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 #3
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 #4
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 #5
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 #6
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 #7
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 #8
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 #9

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

Similar topics

1
by: pcchong | last post by:
I have 3 websites and make use of free counters provided by other web hosting companies to count the no of hits. Now I want to install a multiple-user databased driven asp counter (with initial...
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...
9
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

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.