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):||25 January 2015|
|PDF File Size:||9.96 Mb|
|ePub File Size:||16.14 Mb|
|Price:||Free* [*Free Regsitration Required]|
Although tutorials also contain example code, this code is general and is designed to give you poftlet information you need on only the topics of your choosing.
A good lifetay structure facilitates evolving and maintaining code, especially in collaboration. Depending on how you develop and package your portlet, however, it may not be able to run on other portal containers.
Open a browser, navigate to your portal http: Sometimes, however, you may find it necessary to customize a built-in feature. Writing Your First Application.
This is the default window state. The portlet can be on a page that contains other portlets. Liferay is an open platform in an ecosystem of open platforms. If you want, dveelopment can do this with applications in Liferay Portal as well. Technically, a module that contains only a manifest is still valid.
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. The properties namespaced with javax. This tutorial explains developmeng tags that developers can use to create layouts.
Liferay IDE lets you create either project type using command line tools: InJava Portlet Specification 2. In the Applications list, your application should appear in the Sample category.
With Liferay Portal, you never have to start from scratch. Your browser does not support the video tag. On the second screen of the wizard, enter Guestbook for the component class name, and com. Once this is done, you have a module project named guestbook-web.
Portlets also have a portlet filter available lifery each phase in the portlet lifecycle. Creating a folder structure: If you want to launch the New Portlet Wizard after your project is created, select the checkbox of that name.
The middle man in the MVC pattern, the Controller contains logic for passing the data portlrt and forth between the view and the model layers. Using external artifacts in your project requires configuring their dependencies. Do you want to use a portlet development framework with a UI component model that makes it easy to develop sophisticated, rich Another difference is that portlets run only in a portal server, like lifsray one in Liferay Portal. This makes tutorials better suited to those with some experience in Liferay development.
Here are some links to instructions on Liferay development tools: The first few sections here are Learning Paths. With all your free time, you could. Most modern applications use View Mode only.
Many Liferay applications can run at the same time on the same page. 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.
Liferay provides MVC command classes to break up your controller functionality. By default, it shows guestbook messages that various users leave on your website. The controller can be broken down into MVC command classes, each lortlet which handles the controller code for a particular portlet phase render, action, and resource serving phases.
This makes your applications easy to maintain and upgrade. Developers often choose Liferay for one of these cases and quickly find that it is a great fit for completely different projects.
Here are some good tutorials to start with: Portlet filters are similar to servlet filters in that they allow request and response modification on the fly. Liferay Portal does, however, provide utility methods that can access the ServletRequest and query parameters.
To resolve the dependencies for portlet projects, see the classpath entries in the build-common. Events are used for IPC.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.