|
To create web pages with dynamic data, you need a convenient and powerful server-side scripting
environment. Using the legacy CGI protocol is slow and difficult to create great looking web
pages because you cannot see the result until it is rendered. In contrast, environments such as
Embedded Server Pages or PHP allow you to see what the page will look like
in WSYWIG tools like Dreameweaver.
Appweb provides a rich set of options to use when creating web pages or web applications. This document compares the alternatives and suggests where each option is best deployed.
|
| Target Use | Legacy dynamic pages and forms | In-memory form processing | Dynamic embedded web pages and forms | Enterprise web pages and forms | Custom URL processing |
| Typical memory footprint | External program | 10K
|
50K
|
1-2MB | Handler code |
| Performance | Slow | Very fast form processing | Very fast page and form processing | Fast page and form processing | Fastest possible |
| Advantages | Standard in wide-use | Simple fast forms processing | Easy creation of dynamic web pages
|
Large base of PHP code and developers | Allow any URL handling desired |
| Disadvantages | Slow. Limit to forms. Can't design page WYSIWYG | Limit to forms. Can't design page WYSIWYG | Not quite the feature set of PHP
|
Large memory footprint | Must build functionality |
| Remarks
|
Use just for legacy CGI programs and scripts. Use ESP or PHP
instead.
|
Use ESP instead.
|
Use where memory footprint matters. Useful in embedded systems.
|
Use where memory footprint is not a major concern. Useful for
enterprise web applications.
|
Use for custom HTTP processing.
|