Liferay Training

InterBiztech Solution will regularly host public and privatetraining seminars in Hong Kong and Asia. The seminars will becomprehensive, covering architecture, installation, portlet development,themes and CMS. The aim of these courses is designed to help you come upto speed on the functionality and development of Liferay Portal. It willhelp you to increase your productivity as well as introduce you tovaluable new features such as the runtime-portlet tag and hot-deployablethemes. We will also teach you how to migrate your existing Strutsapplications to a portlet environment.

Day 1

The Liferay Development course begins with an introduction toLiferay, portals in general, and why it is better to implement yourapplication as part of a portal framework rather than as a standaloneweb application. You will see the benefits of using Liferay as adevelopment platform, because of the many built-in features and toolsyou can use to implement your site. 

After this, the various Liferay Software Development Kits willbe presented. You will learn the difference between using the PluginsSDK and using the EXT SDK, and what that means for your project. Thiswill better equip you to come up with a development strategy thatgives you the most flexibility. 

Next, you will begin getting your hands dirty by setting up aLiferay bundle for development. You will install the bundle on yourmachine and connect it to a MySQL database. You will also learn howto set up all of the open source development tools that are necessaryto write code for Liferay. Once your machine is set up, you will theninstall Liferay's source, the Plugins SDK, and the ExtensionEnvironment, and configure them for your use. 

After this, you will install the open source, cross-platformJava IDE called Eclipse and set the projects up so that you can debugyour code within Eclipse. By the end of the day, you will have aclear notion of how to use Liferay's SDKs and when it is mostappropriate to use each one, and you will be ready to begin writingcode. 

Day 2

We jump in with both feet with an introduction to the featuresof the Java Portlet API, JSR-286. Using the Plugins SDK, you willwrite your first portlet in the first hour of Day 2.

After this, you will explore some advanced features of theJSR-286 API by creating a project which implements communicationbetween two portlets, using a Baseball metaphor: one portlet “throws”a pitch and the other “catches” it. You will see how you could useinter-portlet communication to implement applications composed ofmultiple portlets. 

After this, you will get a short introduction to usingstandard web application frameworks to write portlets in Liferay, andyou will create a simple portlet using the Struts framework. As youwill see, you have as much freedom to use a specific framework in aportal environment such as Liferay as you would implementing a webapplication—while all the benefits of operating in a portalenvironment come for free. 

Next, you will create a complex, data-driven portletapplication called the Library application, which can storePublishers and Books. During the course of writing this portlet, youwill learn how to use Liferay's Service Builder tool—a codegenerator which automatically generates Hibernate configurationfiles, SQL for creating tables, and code for querying your tables,all from a single XML file which you will create. You will also get anice introduction to tag libraries provided by the Portlet API and byLiferay, and you will use them to create portlet URLs, Actionbuttons, and a data-driven, paginating table using Liferay's SearchContainer. This will enable you to make your portletsindistinguishable from portlets provided by Liferay Portal, so thatyou can provide a unified interface to your users. After this, youwill learn how to integrate Liferay's permissions system into theportlet so that the data in your portlet can be secured using Rolesin exactly the same way as Liferay's portlets. 

Day 3

From portlets, we then move on to themes and layout templates.You will be introduced to Liferay's themes, which enable you tocompletely customize the way Liferay Portal looks so that your sitelooks the way you want it to look. You will learn how Liferay'stheming system works, and you will customize a theme. After this, youwill learn how to create layout templates so that you can customizethe containers into which you and your users can drop portlets. But atheme is more than just its look: you will then learn how to useJavaScript and jQuery in your themes to provide advancedfunctionality, including events and effects. When the section onthemes is finished, you will be able not only to create dynamicthemes, but also to provide advanced features in your themes, such ascolor schemes, handle differences between browsers, use Velocityvariables and macros, embed portlets in a theme, and style layoutsand portlets from a theme. 

Moving on from plugins, you will then learn how to use theExtension Environment to customize specific features of LiferayPortal. You will override internal Liferay JSPs, create an actionwhich fires when Liferay starts, and more. You will also learn how toextend user management in the Control Panel with custom fields ofyour own. 

Liferay uses the Spring framework extensively. You will seehow you can override Liferay's implementations of specific serviceswith your own, using Spring to automatically inject yourimplementation instead of Liferay's. This is an extremely powerfulway to modify Liferay's functionality to be exactly the way you wantit to be. 

Any service generated with the Service Builder utility canalso be a web service which can be called remotely. You will see howyou can use Liferay's web services to make remote calls into Liferayfor anything from a message board thread to a full-blown user importutility that can run as a batch process on a completely separatesystem. 

Finally, you will learn how you can integrate your portletswith Liferay's Control Panel, so that your users can have acentralized interface for administering pretty much anything you wantthem to administer. 

You will find when you have completed the course that you arewell equipped to efficiently develop on the Liferay platform. 

Course Outline

Day 1

Introduction to Liferay
Introduction to Plugins
Introduction to the Extension Environment
Development Strategy
Set up a Liferay bundle

Developer Installation

  • Setting up Development Tools
  • Installing the Plugins SDK
  • Installing the Extension Environment
  • Overview of Development Environments
  • Creating the Projects in Eclipse
  • Debugging Liferay in Eclipse

Day 2

Plugins SDK

  • Java Standard Portlets
  • Inter-Portlet Communication
  • Portlets and Web Application Frameworks
  • Struts Portlets
  • MVC Portlets
    • Design Approach
    • Service Builder
    • Search Container
    • Portlet Permissions
    • Portlet Preferences
    • Validation and Localization

Day 3

JavaScript and jQuery
Advanced Themes

Extension Environment 

  • Using the Extension Environment to Customize Liferay
  • Spring in Liferay

Advanced Topics

  • Using Liferay's Web Services
  • Additional Features of Portlet 2.0
  • Control Panel Portlets


All Trainings:
Dual Core processor, 2GBRAM, wireless card
Windows XP, Mac OSX*, orLinux*
* Note: if you useMac OSX or Linux, you must be prepared to support yourself if anyoperating system issues arise, as the trainer is not guaranteed to befamiliar with these systems.
Developer Training
Basic knowledge of Java andServlets is required.

SystemAdministrator Training

4GB RAM to run avirtual machine

5GB of Free Hard DiskSpace - Administrator Access



Copyright © 2008-2018 InterBiztech Solutions Ltd, All Rights Reserved Powered by Mavista & InterBiztech Solutions Ltd.