Web Development Technologies

Ragu Bharadwaj, Daylight CIS Inc.


I would like to describe a methodology we are beginning to use at Daylight for the development of web applications. The key advantages are total separation of information and presentation. This allows our users to vary the presentation of any compiled web app that we ship. The method uses 2 technologies which I will describe.
 

XML (eXtensible Markup Language)

    A way of representing information in a tree-based (or container-based) scheme. It is similar to how we do so in a TDT (Thor Data Tree), with the difference that TDTs can have only a couple of levels of children. In XML this restriction is removed.
 

An Example:


<label>
    <name> John Doe </name>
    <address>
        <street> 123 Main Street </street>
        <city> AnyTown </city>
        <state> NM </state>
        <zipcode> 87501 </zipcode>
    </address>
    <phone> 505-989-1000 </phone>
</label>
 

__________________________________________________
| <label>                                        |
|    ____________________________________________|
|    | <name> John Doe </name>                   |
|                                                |
|    ____________________________________________|
|    | <address>                                 |
|    |     <street> 123 Main Street </street>    |
|    |     <city> AnyTown </city>                |
|    |     <state> NM </state>                   |
|    |     <zipcode> 87501 </zipcode>            |
|    | </address>                                |
|                                                |
|    ____________________________________________|
|    | <phone> 505-989-1000 </phone>             |
|                                                |
| </label>                                       |
 
 

So what's the big deal:


 

XSLT (eXtensible Stylesheet Language: Transformations)

    Given an XML tree, such as say

<label>
    <name> John Doe </name>
    <address>
        <street> 123, Main Street </street>
        <city> AnyTown </city>
        <state> NM </state>
        <zipcode> 87501 </zipcode>
    </address>
    <phone> 505-989-1000 </phone>
</label>

typically, one may want to convert it into a printable address label like:

John Doe,
123, Main Street
Anytown, NM 87501

followed perhaps by a bar code for the same

To do so one could

Advantages:

Web App Design

We plan to use the following scheme
 

DB -> XML -> XSLT -> HTML, PDF, WML,...

A Web Application will typically


This allows for:

 
Example apps:


There are several other web technologies that Daylight may offer solutions for in the near future.