Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What are diff. methods for serving dynamic web pages
Message
 
To
28/10/2001 09:51:17
General information
Forum:
Linux
Category:
Other
Miscellaneous
Thread ID:
00574228
Message ID:
00574626
Views:
29
Perl PHP JSP ASP (with ChiliSoft) perl and so on. Actually any language including BASH can be used to program dynamic web pages.

There are two basic differences
Active Page Rendering and CGI based scripting.
Active rendering is like ASP / JSP and PHP where some code SQL type, and more) actually resides on the page the .jsp, .php, and when the page is processed by the apache server, Then the code is parsed out, and the values are replaced when the page is displayed using standard html.

Cgi type scripts like perl / python and so on. render the page before its sent to the web server. and then the server just serves up the page. Sort of keeps scripting away from html.

Its my understanding of technology,that CGI was the first way things were done, and then came the ASP / PHP type languages. where acive scritiping is done right on the web server program itself. More and more people are opting for the active way of doing things these days... Not to say its better or faster- but it does allow for page displays and recalculations etc, without having to rely on javascripts do to it. Resorting of columns is one example of what a PHP - JSP or ASP page can do without too much trouble, but in the GCI methods, you would have to redraw the entire page.


IMO I would look at www.codecharge.com and download their sample application,
it will generate a fully functionaly dynamic web application in your choice of scripting languages. All working the same. just the scritping languages are different.

Then take a look at the code it generates, and see what makes most sense to you and go from there.

I got their demo running in one evening, and created asp and php pages running on my server in just a hour or so.

Sure it like creating an applicaiton with a wizard. (NOT that I like that myself) but it does give you a read head start on how things are done.

Bob Lee






>what are diff. methods for serving dynamic web pages on linux Apache server.
>As far as I know CGI scripting is one of them. Which is the best scripting language.
>
>Rajesh
In the beginning, there was a command prompt, and all was well.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform