2. WSO2
Founded in 2005 by acknowledged leaders in XML, Web Services
Technologies & Standards and Open Source. Primary contributors to Apache
Web Services projects started in 2001
Producing entire middleware platform 100% open source under Apache
license
Business model is to sell comprehensive support & maintenance for our
products
Technology OEM’d by IBM, Progress, Software AG, Alcatel, EMC, and CA
Venture funded by Intel Capital and Quest Software.
Global corporation with offices in Palo Alto, USA Portsmouth, UK &
Colombo, Sri Lanka
150+ employees and growing.
3. Why do we need another server-side js
toolkit
Right now, when writing a web app we need to walk
through multiple layers of technology
HTML(5)/JS, PHP/Ruby/Java, ORM(SQL)
Information captured at the client need to be
transformed at each layer
JSON/CSV/XML
Its not straightforward to build a natively REST/JSON
app
Developing an API coupled to the app is a nightmare
4. What is Jaggery
A completely Javascript way of writing all parts of the Web
applications and services
Eliminates the mismatches across different layers
Closes the gap between Web apps from Web services by
allowing one to create both applications and APIs at the
same time.
5. What jaggery offers for multi-tier web app
development
A vanilla platform
No heavy frameworks
No restrictions
Only a set of APIs
Smooth & easy deployment
Enterprise grade runtime
6. What it has, as of now
A module architecture
The runtime augments the features of a web server
It talks smoothly in JSON
Can handle URL patterns
Can talk to databases
A Shell that can execute the jaggery scripts
Its a new platform, we believe everybody will start building
cool things
7. How to make things work
Extract jaggery-1.0.0-SNAPSHOT_M5.zip to a directory you
prefer. lets call it JAGGERY_HOME
Navigate to {JAGGERY_HOME}/bin directory which contains all
the Jaggery execution scripts.
Run sh {JAGGERY_HOME}/bin/server.sh
({JAGGERY_HOME}/bin/server.bat in windows) command to
start the server
Point the browser URL to http://localhost:9763/taskmaster
8. The famous "Hello World" in Jaggery
Create a directory called helloapp at
{JAGGERY_HOME}/apps/
Create a jaggery file helloworld.jag inside the helloapp
directory and add the following code snippet
Thats it! now point to
{http://localhost:9443/helloapp/helloworld.jag}
10. The extensibility
Jaggery can be extended using modules
Yeah ! go on write some
You can import any script which is written for commonjs
as a jaggery module
If nothing for the rescue, you can expose even a JAVA
library as a module for Jaggery
15. It's completely open-source, under Apache 2.0
Mail us at dev@wso2.com
Report your issues at
https://wso2.org/jira/browse/JAGGERY
The source is at (which will be soon moved to GitHub)
http://svn.wso2.org/repos/wso2/carbon/platform
/trunk/products/jaggery/