Jaggery From WSO2
Jaggery is a framework developed by WSO2, to write web apps 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. Importantly, Jaggery is open-source and released under Apache 2.0.
As a pure Javascript server-side scripting engine, Jaggery combines all the strengths of Javascript with flexibility and freedom at both the development and deployment stages. Most JavaScript webapp development mechanisms restrict developers to a framework-specific structure or patterns, which demand an additional learning curve. By contrast, with Jaggery, any developers who are versed in Javascript have everything they need to get going.
you can download and try the language from the visiting Jaggery website.
so lets download and try it...
visit the jaggery website here
there is a quick Quickstart tab that shows you how to setting up Jaggery on your pc. so lets follow it..
Prerequirement is you needs to have installed java on your PC
- Download & Extract
jaggery-0.9.0-SNAPSHOT.zip
to a directory you prefer. lets call itJAGGERY_HOME
navigate to the
JAGGERY_HOME
and Run following commonds on teminal accourding to your Operating system.
- For windows :
JAGGERY_HOME/bin/server.bat
For Linux :
sh JAGGERY_HOME/bin/server.sh
- For windows :
Now you are done setting up jaggery in your pc. you can run any Jaggery app by pointing the browser URL to http://localhost:9763/taskmaster.
Now Lets try some coding with Jaggery.
- Basic Syntax:
lets try common programing example of print "Hello world" from Jaggerythe file extention should be ".jag"see very easy... lets keep going..
- Let's try something cool, write jaggery code separate and print it separately
This post is really nice and informative. The explanation given is really comprehensive and informative..
ReplyDeletepure jaggery online