{Jaggery.js} “The delicious javascript framework”
http://jaggeryjs.org
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.
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
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.
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
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
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
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}
The API http://jaggeryjs.org/documentation.jag
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
and you can do this !
It's awesome coz, it's just javascript & JSON end to end
If you simply want to send some JSON to the client
It's built to write RESTy apps Match URLs at runtime
Design URLs at development time
It's modular
Its extensible via modules
Even the core is written in modules and bound with configuration
It's completely open-source, under Apache 2.0
Mail us at [email protected]
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/
Questions ?
https://ail.google.com/mail/u/0/?ui=2&ik=ad9ae58f41&view=att&th=1331a70983344a32&attid=0.1&disp=thd&realattid=f_gtxto6mk0&zw
Selected Customers
WSO2 engagement model
Quick Start
Development Support
Development Services
Production Support
Turnkey Solutions
WSO2 Mobile Services Solution
WSO2 FIX Gateway Solution
WSO2 SAP Gateway Solution
Top Related