What is the difference between APGen and Server-Side Includes?
Server-side includes (SSIs) are implemented as a Web server extension – they offer simple content re-use, but extract a processing toll because the file insertion is performed on every page request. Because SSIs execute on the Web server and are performed on every page request, they are actually more similar to Active Server Pages than they are to APGen. Two significant advantages of APGen compared to SSIs are: • Execution of APG scripts (and content insertion) is performed independently of Web page requests. Because of this difference, APGen content generation adds zero overhead to each Web page request. • APG scripts can contain script, as well as include files. SSIs can only contain include files. It is the script that enables programmable content generation, access to database data, and other completely customizeable behavior. This is equivalent to the difference between SSIs and Active Server Pages.