In these tutorials you’ll learn how to develop portlet projects to top your Liferay pizza in such a way that the end-user won’t be able to tell the difference between . Developing Your First Portlet For example, features like platform-generated URLs exist to support Liferay’s ability to serve multiple applications on the same. In short, Liferay was written by developers for developers, to help you get The most common way to develop web applications for Liferay Portal is with portlets.

Author: Fenrira Kagami
Country: Mexico
Language: English (Spanish)
Genre: Video
Published (Last): 11 October 2013
Pages: 84
PDF File Size: 6.46 Mb
ePub File Size: 19.78 Mb
ISBN: 403-1-85443-759-2
Downloads: 70732
Price: Free* [*Free Regsitration Required]
Uploader: Fekasa

Leave the Use default location checkbox checked.

Portlet Development

Liferay Portal is lightweight, can be deployed to a variety of Java EE containers and app servers, and it supports a variety of databases. Portlets, however, allow Liferay Portal to serve many applications on the same page at the same time. The first thing to do is give your portlet a project We will tell you, however, how portlets differ from other types of servlet-based liferayy apps.

Client Side Files are the. How many times have you had to start over from scratch? To add an application to a page, click the Add button in the upper right hand corner it looks like a plus signand then select Applications.

Introduction – Liferay – Liferay Developer Network

Start learning to develop apps for Liferay: Liferay supports two main, standards-based technologies for incorporating your applications into Liferay: By default, the default location is set to your Plugins SDK.

Each portlet phase executes different operations:. You can also access the New Server Runtime Environment wizard if you need to set up your runtime server; just click the New Liferay Runtime button next to the Liferay Portal Runtime dropdown menu. This is not a recommended configuration, and it is encouraged that you keep your projects in the Plugins SDK.


It can be used to build websites of all sorts, from very large websites with hundreds of thousands of articles, to smaller, highly dynamic and interactive sites. Currently, the following learning paths are available:. It contains several portlets, including the initial version of the Guestbook application that you created.

So what do these specifications define? Open a browser, navigate to your portal http: Developing a mobile app that leverages Liferay as its back-end, which you can write in a fraction of the normal time thanks to Liferay Screens and Liferay Mobile SDK.

With all your free time, you could. You can then apply this to your own custom Liferay applications.

The Display namehowever, can have spaces. The most common way to develop web applications for Liferay Portal is with portletsbecause they integrate well with other existing applications. In the Applications list, your application should appear in the Sample category. Themes and Layout Templates. In a larger application, your -Portlet class can become monstrous and unwieldy if it holds all of the controller logic. InJava Portlet Specification 2.

In the processAction method you can invoke the setRenderParameter With Service Builder, the model layer lifrray generated into a service and an api module. Liferay Portal is designed to be extended.

Doing all this in other types of web apps would require manual re-coding. When using MVC commands, the javax. To portet that property in lifeay component, use this syntax in your property list: Liferay code can be written in any way Java code is written.


Ljferay so, the advantages of modularity are so great that we still recommend you develop your portlets as OSGi modules. To specify that property in your component, use this syntax in your property list:.

This makes tutorials better suited to those with some experience in Liferay development. You can determine from the plugin. For examples, check out the liferay-plugins repository from Github.

There are two ways to pass information from the action phase to the render phase. Alternatively, if you will not be using the Plugins SDK to house your portlet projects, you can copy dfvelopment newly created portlet project into your IDE of choice and work with it there. The last thing you want is for someone to grow frustrated with your site because of constant page That application could developemnt simple: Learning Paths walk you through the development of a specific example application from start to finish, beginning with setting up your development environment and ending with a fully functional example application.

This makes your applications easy to maintain and upgrade. This is the default Liferay homepage. Many Liferay applications can run at the same time on the same page. The portlet can tutorail on a page that contains other portlets.