wso2 product release webinar introducing jaggery
TRANSCRIPT
![Page 1: Wso2 product release webinar introducing jaggery](https://reader033.vdocuments.site/reader033/viewer/2022052506/557cf8fbd8b42a57118b4bda/html5/thumbnails/1.jpg)
{Jaggery.js} “The delicious javascript framework”
http://jaggeryjs.org
![Page 2: Wso2 product release webinar introducing jaggery](https://reader033.vdocuments.site/reader033/viewer/2022052506/557cf8fbd8b42a57118b4bda/html5/thumbnails/2.jpg)
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.
![Page 3: Wso2 product release webinar introducing jaggery](https://reader033.vdocuments.site/reader033/viewer/2022052506/557cf8fbd8b42a57118b4bda/html5/thumbnails/3.jpg)
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
![Page 4: Wso2 product release webinar introducing jaggery](https://reader033.vdocuments.site/reader033/viewer/2022052506/557cf8fbd8b42a57118b4bda/html5/thumbnails/4.jpg)
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.
![Page 5: Wso2 product release webinar introducing jaggery](https://reader033.vdocuments.site/reader033/viewer/2022052506/557cf8fbd8b42a57118b4bda/html5/thumbnails/5.jpg)
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
![Page 6: Wso2 product release webinar introducing jaggery](https://reader033.vdocuments.site/reader033/viewer/2022052506/557cf8fbd8b42a57118b4bda/html5/thumbnails/6.jpg)
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
![Page 7: Wso2 product release webinar introducing jaggery](https://reader033.vdocuments.site/reader033/viewer/2022052506/557cf8fbd8b42a57118b4bda/html5/thumbnails/7.jpg)
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
![Page 8: Wso2 product release webinar introducing jaggery](https://reader033.vdocuments.site/reader033/viewer/2022052506/557cf8fbd8b42a57118b4bda/html5/thumbnails/8.jpg)
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}
![Page 10: Wso2 product release webinar introducing jaggery](https://reader033.vdocuments.site/reader033/viewer/2022052506/557cf8fbd8b42a57118b4bda/html5/thumbnails/10.jpg)
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
![Page 11: Wso2 product release webinar introducing jaggery](https://reader033.vdocuments.site/reader033/viewer/2022052506/557cf8fbd8b42a57118b4bda/html5/thumbnails/11.jpg)
and you can do this !
![Page 12: Wso2 product release webinar introducing jaggery](https://reader033.vdocuments.site/reader033/viewer/2022052506/557cf8fbd8b42a57118b4bda/html5/thumbnails/12.jpg)
It's awesome coz, it's just javascript & JSON end to end
If you simply want to send some JSON to the client
![Page 13: Wso2 product release webinar introducing jaggery](https://reader033.vdocuments.site/reader033/viewer/2022052506/557cf8fbd8b42a57118b4bda/html5/thumbnails/13.jpg)
It's built to write RESTy apps Match URLs at runtime
Design URLs at development time
![Page 14: Wso2 product release webinar introducing jaggery](https://reader033.vdocuments.site/reader033/viewer/2022052506/557cf8fbd8b42a57118b4bda/html5/thumbnails/14.jpg)
It's modular
Its extensible via modules
Even the core is written in modules and bound with configuration
![Page 15: Wso2 product release webinar introducing jaggery](https://reader033.vdocuments.site/reader033/viewer/2022052506/557cf8fbd8b42a57118b4bda/html5/thumbnails/15.jpg)
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/
![Page 16: Wso2 product release webinar introducing jaggery](https://reader033.vdocuments.site/reader033/viewer/2022052506/557cf8fbd8b42a57118b4bda/html5/thumbnails/16.jpg)
Questions ?
![Page 18: Wso2 product release webinar introducing jaggery](https://reader033.vdocuments.site/reader033/viewer/2022052506/557cf8fbd8b42a57118b4bda/html5/thumbnails/18.jpg)
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
![Page 19: Wso2 product release webinar introducing jaggery](https://reader033.vdocuments.site/reader033/viewer/2022052506/557cf8fbd8b42a57118b4bda/html5/thumbnails/19.jpg)
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