Read + Write + Report
Home | Start a blog | About Orble | FAQ | Blogs | Writers | Paid | My Orble | Login

SSI - Saves lot of Time and Space

July 22nd 2006 08:12
By writing long HTML pages with redundant data on hundreds of pages of
a single website, developers forget that there are various
technologies by which they can save lot of bandwidth and development
time. One of the technology is SSI whose full form is Server Side
Includes
. SSI is not a new programming language but this is just a
simple approach which helps in including data in the HTML page on the
server when user request a HTML page.

Suppose you want to develop 20 page website where many parts of the
website are same on all the pages like footer, header, navigation,
etc. Conventionaly developers develop the website with all the data
(footer, header, etc) in the single HTML page, regardless of whether
the data is going to be reuse in some other page or not. This
involved lot of developing time and storage space on server.

By using SSI developers need to create a seperate text file which
includes the data (part of the HTML page) and then refer that file in
the HTML page (saved as STHML extension). By this the developer can
reference the same file on all the 20 pages or 1000s of pages without
even writing the same data again and again.

Example

SSI file including the navigation code.(nav.ssi)
****************************************
<ul id="menu">
<li><a href="#">Side Channel Blowers</a>
<li><a href="#">Liquid Ring Comp.</a>
<li><a href="#">Centrifugal Pumps</a>
</ul>
****************************************

SHTML file (index.shtml)
****************************************
<iv id="left">
<!--#include file="nav.ssi"-->
</div><!-- left end -->
*****************************************

Some of the disadvantages
* Developer need to host the website on the server to test it. Opening
the file from the local folder will prevent the ssi part to be
displayed on the HTML page as the data/content from SSI is added on the server.

In a gist, SSI is convenient and simple approach by which developers
can save lot of development time and bandwidth.

127
Vote
Add To: del.icio.us Digg Furl Spurl.net StumbleUpon Yahoo


   
subscribe to this blog 


   

   


Recent Posts:
      Sorry 
      iPad 
      Modern Warfare Has 2 arrived 
      a 
      Apple earnings up 12 percent for the third quarter 
      The New Zune HD 
      Make $12.00 Hour Online 
      Orble needs your help now. 
      The Livio Radio 
      New Blogs For Me 

Add A Comment

To create a fully formatted comment please click here.


CLICK HERE TO LOGIN | CLICK HERE TO REGISTER

Name or Orble Tag
Home Page (optional)
Comments
Bold Italic Underline Strikethrough Separator Left Center Right Separator Quote Insert Link Insert Email
Notify me of replies
Notify extra people about this comment
Is this a private comment?
List the Email Addresses or Orble Tags of the people you would like to be notified about this comment


One per line max of 30

List the Email Addresses or Orble Tags of the people you would like to be notified about this private comment thread. Only the people in this list will be able to see or reply to your comment.


One per line max of 30

Your Name
(for the email going out to the above list, it can be different to your Orble Tag)
Your Email Address
(optional)
(required for reply notification)
Submit
More Posts
1 Posts
1 Posts
1 Posts
63 Posts dating from July 2006
Email Subscription
Receive e-mail notifications of new posts on this blog:
0
Moderated by techman
Copyright © 2006 2007 2008 On Topic Media PTY LTD. All Rights Reserved. Design by Vimu.com.
On Topic Media ZPages: Sydney |  Melbourne |  Brisbane |  London |  Birmingham |  Leeds     [ Advertise ] [ Contact Us ] [ Privacy Policy ]