HTML
  Home arrow HTML arrow Page 4 - Using SSI to Boost Efficiency
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Dedicated Servers  
Moblin 
JMSL Numerical Library 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
HTML

Using SSI to Boost Efficiency
By: Clay Dowling
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 3 stars3 stars3 stars3 stars3 stars / 7
    2004-08-16

    Table of Contents:
  • Using SSI to Boost Efficiency
  • Enabling SSI
  • Simple SSI Directives
  • How to Use SSI
  • Navigation Menus
  • Common HTML Blocks
  • Business Considerations

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Using SSI to Boost Efficiency - How to Use SSI


    (Page 4 of 7 )

    Knowing the basic directives, you're now ready to start putting them into action. If you use the typical situation of developing on your local machine and then deploying to your server, you'll need to set up a local web server. Because features are handled slightly differently, it's a good idea to use the same web server on both production and development machines.  If you're deploying to an Apache server and running a Windows desktop, you'll also need to make sure your local web server really is an Apache server.

    From the Services tool (under Administrative Tools on the control panel), choose the World Wide Web Publishing service, right click, and select properties.  If the "Stop" button is enabled, disable it.  Then change "Startup Type" to either "Manual" or "Disabled".  The screen capture below shows what it should look like when you have finished.

    Using SSI

    If  you haven't done it yet, install the Apache server now (httpd.apache.org) as a system service, and perform the steps described earlier in "Enabling SSI".  If you already have Apache installed, start it now and set it to start automatically. Manage this through the services panel just as you did for IIS.

    The biggest gain available is from identifying common page elements that are repeated on all pages.  On my sites, these include page headers, footers and navigation menus.  I also have several common elements which don't appear on every page, but do appear on several pages.  These are all good candidates for SSI. A recent calculation showed that I reduced redundant text in my pages by 40% just by putting my navigation, headers and footers into SSI files. That's a nice savings in time during construction and maintenance.

    The #flastmod directive also does a little work for me, keeping my download pages up to date. I haven't been able to measure how much effort this saves me, but it's a great convenience. I have a weak memory for routine details, and it makes sure my visitors can tell when something has been updated. If you have download pages with items that are occasionally updated, you have a good opportunity to take advantage of this directive.  You can change the format of the date that is displayed; check the documentation for your web server for the #config directive.

    More HTML Articles
    More By Clay Dowling


     

    HTML ARTICLES

    - Tabular Database Forms with HTML
    - Using the Find Functions for HTML Database F...
    - Sorting for Database Forms with HTML
    - Edit and Other Database Form Functions with ...
    - More Database Form Functions with HTML
    - Database Form Functions with HTML
    - Using the HTML Table Element as a Recordset
    - Building Single Row Database Forms with HTML
    - Introduction to Database Forms with HTML
    - Another Look at Animation of Geographical Ma...
    - Animation of Geographical Map Regions
    - Changing and Moving Pictures with CSS
    - Clickable Geographical Map Regions
    - Gradient Creation with the HR Element
    - Text on HTML Images: Do it Yourself







    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway