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.
|Published (Last):||12 October 2009|
|PDF File Size:||15.8 Mb|
|ePub File Size:||8.23 Mb|
|Price:||Free* [*Free Regsitration Required]|
That application could be simple: If the module sometimes also called a bundle encapsulates pieces of your application, the component is the object that contains the core functionality. The New Portlet Wizard guides you in creating a custom portlet class. Creating Your Own Applications and Extending the Existing Ones Edvelopment Portal is based on the Java platform and can be extended by adding new applications, customizing existing applications, modifying its behavior, or creating new themes.
Introduction – Liferay – Liferay Developer Network
liffray Liferay Portal is designed to be extended. This makes your applications easy to maintain and upgrade. For example, a page in a community site could have a calendar portlet for community events, an announcements portlet for important announcements, and a bookmarks portlet for links of interest to the community.
The portlet takes up an entire page.
Window states mimic window behavior in a traditional desktop environment: A module that publishes a portlet component with the necessary properties The sections that follow the Learning Paths are tutorials. So what do these specifications define?
In short, portlets alleviate many of the traditional pain points associated with pogtlet web apps. Leave the Use default location checkbox checked.
Writing Your First Liferay Portal Application
Something that lets you get right to the features of your app or site, rather than making you start over every time with the basic building blocks? Currently, the following learning paths are available:. Liferay leads in this space by having a member in the Expert Group. The Action phase can also trigger events that are processed by the Event phase.
In a larger application, your -Portlet class can become monstrous and unwieldy if it holds all of the controller logic. I tutoriap Liferay Portal was standards-compliant? With that said, you can use a variety of technologies to develop portlets that run on Liferay Portal.
Creating a Liferay MVC Portlet Project
With Service Builder, the model layer is generated into a service and an api module. This is the default window state. Liferay llferay can be written in any way Java code is written. To specify that property in your component, use this syntax in your property list: Your first step is to create a Liferay Module Project. Although tutorials also contain tutoriql code, this code is general and is designed to give you the information you need on only liferah topics of your choosing.
The last thing you want is for someone to grow frustrated with your site because of constant page Creating a folder structure: Web apps in Liferay Portal are called portlets. Liferay MVC Command Classes In a larger application, your -Portlet class can become monstrous and unwieldy if it holds all of the controller logic.
If you want to launch the New Portlet Wizard after your project is created, select the checkbox of that name. Its name should be guestbook-web-module Portlet.
Portlets – Liferay – Liferay Developer Network
Click Next if you selected Portlet as your plugin type. Each module is packaged as a JAR file that contains a manifest file. Liferay Portal is based on the Java platform and can be extended by adding new applications, customizing existing applications, modifying its behavior, or creating new themes.
Portlets created in Liferay Module Projects are generated as Components. Follow these instructions to create your first Liferay Module Project:. There are no special configuration files that need to be kept in sync with your code.
For Liferay plugins, you can create a new plugin that extends an existing one. It can also be used as a web integration layer, leveraging technologies such as portlets to allow several applications to coexist on the same web page.
You can also extend them to include your own functionality, and this is no hack: The Render phase runs when any portlets on the page complete the Action or Event phases.