Byzantine Askemos Language Layer

ApplicationProgramming :: pdf :: context view

inbound links:
See also upcoming examples!

TODO: this section is a literal copy from the archive and really outdated.

There are roughly two ways of dynamically generating programm output like websites. One way is the "PHP way" (or Perl, Ruby, pick one). This means you write some HTML code and mix the output from running another program in between. Beeing often used, there are several disadvantages though. For example, operation on fragments of code must all be done on the string-level. Superflous, distracting and potentially buggy code is introduced in your application to parse input and generate output. At worst, your output is simply invalid. Another disadvantage is that malicious or obnoxious HTML and scripts can be inserted relatively easy in the output by any potential attackers of your site, unless you take great care to escape HTML characters - which again clutters you application code.

The other way is to use XML: You use languages like XSL, which includes XSLT and XPath or XQuery?. The BALL kernel blends the latter approach with MIME converters to use simple input syntax like SXML?, Wiki or OOo, since reference XML is needlessly verbose and thus hard to write, Scheme and SQL into a system of communicating sequential processes to express your business logic.

Last modification: Sun, 19 Dec 2010 20:37:52 +0100

Author(s): jfw,

Document number A26b5619be8d5e3348cca356acfc8efea delivered to public at Sat, 11 Jul 2020 05:38:57 +0200

short comments