TechWhirl (TECHWR-L) is a resource for technical writing and technical communications professionals of all experience levels and in all industries to share their experiences and acquire information.
For two decades, technical communicators have turned to TechWhirl to ask and answer questions about the always-changing world of technical communications, such as tools, skills, career paths, methodologies, and emerging industries. The TechWhirl Archives and magazine, created for, by and about technical writers, offer a wealth of knowledge to everyone with an interest in any aspect of technical communications.
Jenny asked:
> Still, I'd like to know why anyone would use [components]
> when they can use server-side includes to do the same thing.
When you "publish" from either DW or GL, the application inserts the files that are referenced from the library or component panel. This design-time insertion of external files is useful if you build your web site to be server/platform-agnostic and/or static HTML-only files with no dynamic (read: request-time) content.
SSI (Server Side Includes) rely on the web server processing the files at request-time, not design time, so the web server inserts the header or footer (or whatever) only when the page is requested by a browser. This requires a web server or add-on module to the web server that supports SSI, an ISP that allows SSI, and the particular syntax to use SSI for that web server.
Caching can mitigate the performance decrease from SSI.
If you use a web application server to respond to client requests (a browser), then you would typically not use SSI, as they have been abandoned for more updated technologies such as filters (on J2EE) or (ColdFusion) or whatever for .ASP or PHP.
HTH,
Matthew J. Horn
Sr. Technical Writer
< m a c r o m e d i a >
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Help Authoring Seminar 2003, coming soon to a city near you! Attend this
educational and affordable one-day seminar covering existing and emerging
trends in Help authoring technology. See http://www.ehelp.com/techwr-l2.
A new book on Single Sourcing has been released by William Andrew
Publishing: _Single Sourcing: Building Modular Documentation_
is now available at: http://www.williamandrew.com/titles/1491.html.
---
You are currently subscribed to techwr-l as:
archive -at- raycomm -dot- com
To unsubscribe send a blank email to leave-techwr-l-obscured -at- lists -dot- raycomm -dot- com
Send administrative questions to ejray -at- raycomm -dot- com -dot- Visit http://www.raycomm.com/techwhirl/ for more resources and info.