Dylan Server Pages
Encyclopedia
Dylan Server Pages is a template engine for providing dynamic web site content using the Dylan programming language
Dylan programming language
Dylan is a multi-paradigm programming language that includes support for functional and object-oriented programming, and is dynamic and reflective while providing a programming model designed to support efficient machine code generation, including fine-grained control over dynamic and static...

. They are similar in spirit to JavaServer Pages
JavaServer Pages
JavaServer Pages is a Java technology that helps software developers serve dynamically generated web pages based on HTML, XML, or other document types...

, but without the ability to mix program logic and page content. All dynamic content is invoked via DSP tag calls such as .

Currently, a DSP application is implemented as a Dylan project that uses the Koala HTTP server library. This effectively means that each DSP application has to run on a different Koala server and therefore on a different HTTP port.

DSP templates contain normal HTML and DSP tag calls. DSP tag calls generate the dynamic content of your web pages. DSP tags use standard XML syntax. There are several special tags—called "directives"—defined that couldn't easily have been defined by the user. DSP directives use the same syntax as other tags, but they use the special tag library name %dsp. For example, the include directive might look like this: <%dsp:include url="foo.dsp"/>.
The source of this article is wikipedia, the free encyclopedia.  The text of this article is licensed under the GFDL.
 
x
OK