GIDForums  

Go Back   GIDForums > Webmaster Forums > Web Design Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 05-Aug-2004, 16:40
Griff Griff is offline
New Member
 
Join Date: Jun 2004
Posts: 15
Griff is on a distinguished road

PERL instead of SSI for static data


Hello, currently I use SSI's to call the menu / footer of my site, but since this data changes very little I thought it would be better to do it in PERL and save some server load.

Anyone have suggestions on how to do this? I'll admit now that I don't know anything about PERL.

Thanks much for any assistance.
__________________
http://www.astridstudios.com
  #2  
Old 05-Aug-2004, 22:16
WaltP's Avatar
WaltP WaltP is offline
Outstanding Member
 
Join Date: Feb 2004
Location: Midwest US
Posts: 3,258
WaltP is a name known to allWaltP is a name known to allWaltP is a name known to allWaltP is a name known to allWaltP is a name known to allWaltP is a name known to all
Quote:
Originally Posted by Griff
Hello, currently I use SSI's to call the menu / footer of my site, but since this data changes very little I thought it would be better to do it in PERL and save some server load.

Anyone have suggestions on how to do this? I'll admit now that I don't know anything about PERL.

Thanks much for any assistance.
As far as I can tell you're not going to save any real "server load". Using SSI the server must locate the header & footer files, add them to your html and send it off. PERL and PHP will purty much do the same thing -- you run a program to generate the webpage and send it off. Either way, the server must process the files.

It's also harder with PERL...
__________________

Got a cough? Go home tonight and eat a whole box of Ex-Lax. Tomorrow, you'll be afraid to cough.
-- Pearl Williams
  #3  
Old 06-Aug-2004, 07:20
conkermaniac conkermaniac is offline
Member
 
Join Date: Dec 2001
Location: China
Posts: 174
conkermaniac is on a distinguished road
Walt, that's true, but I think that PHP and ASP are more flexible than the CGI languages. You rarely see a page with extension .pl or .cgi, unless it's a page that absolutely needs it (message board, form submit). Webmasters who use Perl use it as sparingly as possible and always in conjuction with HTML, whereas PHP is regularly used for templates (and it's not unusual to see a site with all PHP pages).
__________________
You're not supposed to be looking at this.
  #4  
Old 06-Aug-2004, 20:52
WaltP's Avatar
WaltP WaltP is offline
Outstanding Member
 
Join Date: Feb 2004
Location: Midwest US
Posts: 3,258
WaltP is a name known to allWaltP is a name known to allWaltP is a name known to allWaltP is a name known to allWaltP is a name known to allWaltP is a name known to all
Quote:
Originally Posted by conkermaniac
Walt, that's true, but I think that PHP and ASP are more flexible than the CGI languages. You rarely see a page with extension .pl or .cgi, unless it's a page that absolutely needs it (message board, form submit). Webmasters who use Perl use it as sparingly as possible and always in conjuction with HTML, whereas PHP is regularly used for templates (and it's not unusual to see a site with all PHP pages).
I'm not well enough versed in Perl vs PHP/ASP to be sure but from what I see Perl is just as if not more flexible -- it's just not as easy to code and maintain for web because it wasn't written with the web in mind like the others.
__________________

Got a cough? Go home tonight and eat a whole box of Ex-Lax. Tomorrow, you'll be afraid to cough.
-- Pearl Williams
  #5  
Old 24-Aug-2004, 06:50
gm1234 gm1234 is offline
New Member
 
Join Date: Aug 2004
Posts: 1
gm1234 is an unknown quantity at this point

good info


hey good info
 
 

Recent GIDBlogWriting a book by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Transferring data between arrays butters C Programming Language 3 07-Jul-2004 23:55
[CONTEST?]Data Structure Test dsmith C Programming Language 2 06-Jun-2004 16:13
reading a char* into struct data spike666 C Programming Language 7 19-Apr-2004 13:06
Automate a data change php form mjfmn MySQL / PHP Forum 4 20-Oct-2003 10:37

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 02:03.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.