Javascript framework in Liferay portal

Why using jQuery when there is allready an equaly good javascript library Alloy. It has selectors, animations, ajax support… Alloy is javascript and CSS framework for building dynamic web components. It is based on YUI framework. Liferay also provides JSP tag library for some of alloy components.

And how to use Alloy framework:

 AUI().ready('aui-node', function(A) {

    // Javascript code here; // We are able to use 'aui-node' functions });

Alloy homepage

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s