Rensselaer Luwak Luwak Technology How it works but first… 1 Rensselaer Luwak Some History DESIGN CONTENT __________________ _____________ ________________ ________________ _______________ __________________ ________________ 2 Rensselaer Luwak Some History DESIGN CONTENT BUSINESS LOGIC __________________ _____________ ________________ ________________ pea (%sp,16) _______________ pea move.l move.l jsr rts 0x4C00 xC8.w,%a0 %a0, %a2 (%a2) __________________ ________________ 3 Rensselaer Luwak How do we separate content from presentation and presentation from business logic? We need a generalized markup language… 4 Rensselaer Luwak XML 5 Rensselaer Luwak • XHTML XHTML and XML • XML <h1> <birdlist> Birds of Kent Island <title> </h1> Birds of Kent Island <h2> </title> Common names of birds nesting <subtitle> on Kent Island, New Brunswick Common names of birds nesting on </h2> Kent Island, New Brunswick <ol> </subtitle> <li>Common Eider Duck</li> <birds> <li>Herring Gull</li> <bird>Common Eider Duck</bird> <li>Leach’s Storm-Petrel</li> <bird>Herring Gull</bird> <li>Savannah Sparrow<li> <bird>Leach’s Storm-Petrel</bird> <li>Tree Swallow</li> <bird>Savannah Sparrow</bird> </ol> <bird>Tree Swallow</bird> </birds> </birdlist> 6 Rensselaer Luwak <birdlist> <title> Birds of Kent Island </title> <subtitle> Common names of birds nesting on Kent Island, New Brunswick </subtitle> <birds> <bird>Common Eider Duck</bird> <bird>Herring Gull</bird> <bird>Leach’s Storm-Petrel</bird> <bird>Savannah Sparrow</bird> <bird>Tree Swallow</bird> </birds> </birdlist> XSLT (and XPath) <xsl:template match=“/”> <h1> <xsl:value-of select=“title”/> </h1> <h2> <xsl:value-of select=“subtitle”/> </h2> <ol> <xsl:apply-templates select=“birds/bird”> </ol> </xsl:template> <xsl:template match=“bird”> <li><xsl:value-of select=“.”/></li> </xsl:template> 7 Rensselaer Luwak DB XML Images HTML XML PDF CSS 8 XSL XSLNS4 XSL XSL DEFAULT PDA Rensselaer Luwak Roles • reader • writer • editor • editor-in-chief • administrator • broadcaster 9 Rensselaer Luwak 10 Rensselaer Luwak 11 Rensselaer Luwak Building Blocks • Open source solutions that adhere to standards – Java 2 Enterprise Edition JBoss (& Jetty) – Jakarta: Struts, Xerces, Xalan, Lucene – XML, XSL (xslt, xsl-fo), JSP, JavaScript, XHTML, CSS – MySQL more… 12 Rensselaer Luwak ?article=3 EJB’s XML HTML XALAN XSLT Images CSS 13 DB Rensselaer Luwak Advantages • Follow well-recognized, open standards • Cost = time + hardware; all components are otherwise FREE • Separation of roles • Serve from any platform and transform for any platform, device, or media • Easy import into other applications 14 Rensselaer Luwak Future Directions Current & Future Projects • • • • • Calendar System Web Forms Conferences Directories Web Services 15 Rensselaer Luwak In conclusion… Thanks! 16 Rensselaer Luwak Thank you References and Useful Links • This presentation: – http://www.rpi.edu/dept/cct/public/highedweb • J2EE: – http://java.sun.com/j2ee/ – http://java.sun.com/j2ee/j2ee_guide.pdf • JBoss: – http://www.jboss.org • Development Tools: –http://jakarta.apache.org –http://www.w3c.org 17