Introduction to JavaScript in Liferay

As much as Java is used throughout Liferay’s back-end data layer, JavaScript is used throughout its presentation layer. Liferay uses JavaScript to implement responsive control logic and provide powerful UI components, and the scripts leverage Liferay’s component-rich JavaScript library AlloyUI.

Liferay’s JavaScript follows the Module Pattern to encapsulate data and functionality. It makes available its modules via the Liferay global object. The Liferay object is loaded automatically at runtime and is available throughout the portal, its theme, and all portal plugins. It includes a myriad of sub-objects that are chock-full of useful methods. Read on to find out more how you can take advantage of Liferay’s JavaScript objects.

« Workflow Enabling EntitiesGetting Browser and Platform Details in JavaScript »
この記事は役に立ちましたか?
1人中0人がこの記事が役に立ったと言っています