Few points about alloy ui : Alloy ui is a library which built on the top YUI3 library. It uses the concept of sandbox. It is a meta framework for building rich ui web pages.
This concept uses the call back concept for running the code. It provides the functionality of adding the module (s) on demand for accessing its defined functions. How to create sandbox?
YUI().use(arg1,arg2…….argn,function(A){ //code will be added here. });
The following steps needs to be followed in order to create a hello world:
Seed js file and css file
http://cdn.alloyui.com/2.0.0/aui/aui-min.js
http://cdn.alloyui.com/2.0.0/aui-css/css/bootstrap.min.css
< script > var checkObj=YUI(); checkObj.use(function(A){ alert("Hello World"); }); < /script >
Live Demo : Alloyui Basic Test
Let’s discuss how to use packages in the next tutorial in the series of basics of alloy ui.