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: Goramar Kazrale
Country: Poland
Language: English (Spanish)
Genre: Spiritual
Published (Last): 12 July 2006
Pages: 20
PDF File Size: 7.96 Mb
ePub File Size: 3.23 Mb
ISBN: 385-8-29262-802-8
Downloads: 67091
Price: Free* [*Free Regsitration Required]
Uploader: Yoktilar

It also ships with a default set of common applications you can make use of right away: This folder is your new portlet project. The most common way to develop web applications for Liferay Portal is with portletsbecause they integrate well with other existing applications. Portlet Preferences are properties for storing basic portlet configuration data.

We will tell you, however, how portlets differ from other types of servlet-based web apps. Doing all this in other types of web apps would require manual re-coding. Liferay Portal offers complete developer front-end freedom. When this phase runs on one portlet, it also runs on all other portlets on the page.

Each module is packaged as a JAR file that contains a manifest file.

Like many web apps, portlets process requests and generate responses. This includes public sites, internal sites like intranets, or mixed environments like collaboration platforms. Fundamentals What are the fundamentals that every Liferay developer should know? Follow these instructions to create your first Liferay Module Project:. Developers use Liferay Portal in many ways.

Writing Your First Liferay Portal Application

Many Liferay applications can run at the same time on the same page. All of these applications are designed to be customized, as is the system itself.

  BRW TOP ACCOUNTING FIRMS 2011 PDF

Compared to servlets, portlets also have some other key differences. That means there are plenty of robust implementations to reference when you need to design or troubleshoot your Liferay applications. Leveraging a Suite of Products, Frameworks and Libraries Liferay Portal offers you a complete platform for building web apps, mobile apps, and web services quickly, using features and frameworks designed for rapid development, good performance, and ease of use.

By default, the default location is set to your Plugins SDK. It contains several portlets, including the initial version of the Guestbook application that you created. Open a browser, navigate to your portal http: There are two ways to pass information from the action phase to the render phase.

Each portlet phase executes different operations: We recommend the latter, so you can take advantage of the modularity features inherent in OSGi. Portlets also have a portlet filter available for each phase in the portlet lifecycle. Creating portlet projects with Liferay IDE is easy.

Alternatively, if you will not be using the Plugins SDK to prtlet your portlet projects, you can copy your newly created portlet project into your IDE of choice and work with it there.

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.

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

This makes portlets much more flexible than servlets. What are the fundamentals that every Liferay developer should know? If there are so many tutorrial of MVC frameworks in Java, why did Liferay create yet another one? This is the default window state.

Beginning Liferay Development

The tutorials cover the following three main areas: But each new project that you do after a while can feel like that: You can also access the New Server Runtime Environment wizard tjtorial you need to set up your runtime server; just click the New Liferay Runtime button next to the Liferay Portal Runtime dropdown menu.

  ANIZOKORI NEDENLERI PDF

Every application is made from one or more modules. What if you want to skin Liferay or customize it? Modules are the core building blocks of Liferay Portal applications. Next, check that your application is available in Liferay Portal. The first thing to do is give your portlet a project Portlets, however, allow Liferay Portal to serve many applications on the same page at the same time. Creating Your Own Applications and Extending the Existing Ones Liferay Portal is based on the Java platform and can be extended by adding new applications, customizing existing applications, modifying its behavior, porltet creating new themes.

Click Next if you selected Portlet as your plugin type.

This makes tutorials better suited to those with some experience in Liferay development. The portlet takes up an entire page.

In this case, you created a Declarative Services DS component. Portlets instead access a javax. A Component is an object that is managed by a component framework or container. When you access a web site, you interact with an application. This gives you access to all the MVC Portlet functionality you are familiar with, plus the added bonus of using Soy templates for You can then apply this to your own custom Liferay applications.

InJava Portlet Specification 2. The properties namespaced with javax. Window states mimic window behavior in a traditional desktop environment:. Each module encapsulates a functional piece of an application, and then multiple modules form a complete application.