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):||4 February 2009|
|PDF File Size:||5.58 Mb|
|ePub File Size:||15.91 Mb|
|Price:||Free* [*Free Regsitration Required]|
Liferay IDE lets you create either project type using command line tools: Developing a new full-blown web application. Customizing an existing web application or feature. You understood the Action phase and Creating a Liferay MVC Portlet Using the Terminal Navigate to the portlets directory in the terminal and enter the appropriate command for your operating system: With all your free tutoriap, you could.
After lkferay starts, drag and drop the guestbook-web project from the Project Explorer to the server.
Beginning Liferay Development
Before diving in to the Liferay MVC swimming pool with all the other tytorial kids applicationsreview how each layer of the Moody Vase Conscription pattern helps you separate the concerns of your application.
Like many web apps, portlets process requests and generate responses. In the Applications list, your application should appear in the Sample category.
Liferay Portal is designed to be extended. Portlets and OpenSocial gadgets. Portlets can be placed on pages by users or portal administrators, who can place several different portlets on a single page. On the second screen of the wizard, enter Guestbook for the component class name, and com. Devlopment and Layout Templates. Events are used for IPC. If your portlets target an international audience, you can localize the user interface.
It contains several portlets, including the initial version of the Guestbook application that you created. Technically, a module that contains only a manifest is still valid. All of these applications are designed to be customized, as is the system itself. Its name should be guestbook-web-module Portlet. The view and the controller share a module, the web module.
This is not a recommended configuration, and it is encouraged that you keep your projects in the Plugins SDK.
This section shows you how to develop portlets using the following frameworks and techniques:. Currently, the following learning paths are available: Our portlet needs two execution phases, the action phase and the render phase.
Introduction to Liferay Development
Most modern applications use View Mode only. 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.
To specify that property in your component, use this syntax in your property list:. Often a web application takes up the entire page.
Writing Your First Liferay Portal Application – Liferay – Liferay Developer Network
Sometimes, however, you developmwnt find it necessary to customize a built-in feature. Liferay Portal ships with suites of applications to get you started building your site quickly. One of the most often cited best characteristics of Liferay is how versatile it is.
The Liferay Developer Network provides learning paths and tutorials that teach you how to use these three environments.
That means there developpment plenty of robust implementations to reference when you need to design or troubleshoot your Liferay applications. In many ways, writing your application as a portlet is easier than writing a standalone application.
How many times have you had to start over from scratch? We will tell you, however, how portlets differ from other types of servlet-based web apps.
Liferay MVC Portlet – Liferay – Liferay Developer Network
Once the portlet processes all events, the portal calls the Render phase on all portlets on the page. Liferay Portal also contains an OSGi runtime. Liferay Portal does, however, provide utility methods that can access the ServletRequest lifeeray query parameters.
Liferay Portal is lightweight, can be deployed to a variety of Java EE containers and app servers, and it supports a variety of databases.
Fill in the Project name and Display name. You can also extend them to include your own functionality, and this is no hack: If you do this, you will need to make sure the project references some. Even so, the advantages of modularity are so great that we still recommend you develop your portlets as OSGi modules.
Creating lifetay new web service for an deve,opment system, a mobile app, an IoT device, or anything else. But each new project that you do after a while can feel like that: One key difference is that portlets run in a portion of the web page. The first few sections here are Learning Paths. The Liferay-specific configuration files, while optional, are important if your portlets will be deployed on a Liferay Portal server. Your browser does not support the video tag. Liferay Portal provides many features that help users accomplish their tasks.