*Introducing Jaggery*

Jaggery is a framework to write webapps and HTTP-focused web services for
all aspects of the application: front-end, communication, Server-side logic
and persistence in pure Javascript. One of the intents of this framework is
to reduce the gap between writing web apps and web services.

This Framework uses Mozilla Rhino to process Javascript at the server and
also contains a powerful caching layer with the support of Rhino compiled
scripts; so its as fast as the JVM. As few key features, Jaggery has native
JSON support and also E4X support for XML manipulation.

M3 can be downloaded at http://dist.wso2.org/products/jaggery/dl/jaggery
-1.0.0-SNAPSHOT_M3.zip

*Say Hello to Jaggery*

<html>

<body>

 <h1>

<%

   var name = 'Jaggery';

   print("Hello " + name);

%>

</h1>

</body>

</html>

*Setting up Jaggery*

   1. Extract jaggery-1.0.0-SNAPSHOT_M3.zip
   2. This will generate a bin directory with execution scripts.
   3. Run sh bin/wso2server.sh (bin/wso2server.bat) command to start the
   server.
   4. Upon successful startup, {http://localhost:9763/docs} should take you
   to the documentation Jaggery App.

*Key Features*


   - Compose server side scripts purely in javascript (.jss)
   - Script caching support
   - Script include support
   - Module include support
   - Command line tool for easy development
   - Try-it tool for web based script validation
   - Includes support for,
      - HTTP request/response and session
      - JSON send/receive
      - Server side XMLHttpRequest
      - URIMatcher
      - Web Service invocation
      - File I/O
      - Email
      - XSLT
      - Atom
      - Read/write feed
      - Relational database
      - WSO2 Registry/Repository

For more information and samples you can refer to Jaggery docs at (
http://{yourip}:9763/docs/documentation.jss<http://localhost:9763/docs/documentation.jss>
) which are shipped with the distribution


Thanks,
*Jaggery Development Team*

<http://www.nuwanbando.com/>
_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to