LIFERAY PORTLET DEVELOPMENT TUTORIAL PDF

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: Kajimi Kilar
Country: Maldives
Language: English (Spanish)
Genre: Sex
Published (Last): 6 January 2015
Pages: 302
PDF File Size: 12.23 Mb
ePub File Size: 13.44 Mb
ISBN: 193-3-24407-874-2
Downloads: 81074
Price: Free* [*Free Regsitration Required]
Uploader: Sasar

Sometimes, however, you may find it necessary to customize a built-in feature. There must be some lifdray configuration files to keep everything wired together and working properly, right?

Before diving in to the Liferay MVC swimming pool with all the other cool kids applicationsreview how each layer of the Moody Vase Conscription pattern helps you separate the concerns of your application. Portlet filters are similar to servlet filters in that they allow request and response modification on the fly. Do you wish you could use npm and npm packages in your portlets?

Liferay provides MVC command classes to break up your controller functionality.

And because the portal controls page layout, you can reposition and resize one or more portlets on a page without altering any portlet code. Window states mimic window behavior in a traditional desktop environment:. To resolve the dependencies for portlet projects, see the classpath entries in the build-common.

  HANS FALLADA EVERY MAN DIES ALONE PDF

This makes tutorials better suited to those with some experience in Liferay development. The view layer contains logic for displaying data. If you want, you can do this with debelopment in Liferay Portal as well. Liferay Portal is based on the Java platform and devvelopment be extended by adding new applications, customizing existing applications, modifying its behavior, or creating new themes.

This tutorial explains the tags that developers can use to create layouts. Liferay IDE lets you create either project type tuttorial command line tools: The properties namespaced with javax.

Portlets instead access a javax.

Most modern applications use View Mode only. Another difference is that portlets run only in a portal server, like the one in Liferay Portal. Liferay Portal is lightweight, can be deployed to a variety of Java EE containers and app servers, and it supports a variety of databases.

In short, Liferay was written by developers for developers, to help you get your work done faster and more easily, to take the drudgery out of web and mobile app development, so that writing code becomes enjoyable again.

This can be very helpful in portlets that have many actions. To add a message, you click the Add Entry button to show a form that lets you enter and save a message.

  MAC FLECKNOE SUMMARY PDF

Writing Your First Liferay Portal Application

Even so, the advantages of modularity are so great that we still recommend you develop your portlets as OSGi modules. Every application is made from one or more modules. In this case, you created a Developmenf Services DS component.

The model layer holds the application data and logic for manipulating it. Technically, a module that contains only a manifest is still valid. Portlet window states control the amount of space a portlet takes up on a page.

Writing Your First Liferay Portal Application – Liferay – Liferay Developer Network

First up is creating a portlet with Liferay IDE, so go ahead and get started. For a detailed description of these features, see the tutorial OSGi and Modularity.

One key difference is that portlets run in a portion of revelopment web page. The first thing to do is give your portlet a project The controller can be broken down into MVC command classes, each of which handles the controller code for a particular portlet phase render, action, and resource serving phases.

That application could be simple: Your new module project is a portlet application. Events are used for IPC.