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.
|Published (Last):||20 April 2004|
|PDF File Size:||18.93 Mb|
|ePub File Size:||20.19 Mb|
|Price:||Free* [*Free Regsitration Required]|
A Component is an object that is managed by a component framework or container. And because the portal controls page layout, you can reposition and resize one or more portlets on a page without altering any portlet code.
A single Liferay project can contain multiple plugins. The sections that follow the Learning Paths are tutorials. Portlet filters develoopment similar to servlet filters in that they allow request and response modification on the fly. To add a message, you click the Add Entry button to show a form that lets you enter and save a message.
Creating a Liferay MVC Portlet Project
The mvc-portlet template configured the project with the proper dependencies and generated all the files you need to get started:. Multiple execution phases can be confusing to developers portet to regular servlet development or used to other In the Applications list, your application should appear in the Sample category. Currently, the following learning paths are available:. Creating a new web service for an external system, a mobile app, an IoT device, or anything else. When you develop portlets for Liferay Portal, you can leverage all the features defined by the portlet specification.
If your portlets target an international audience, you can localize the user interface. The portlet specification only provides a mechanism for a portlet to read its own URL parameters or those declared as public render parameters.
Writing a Data-Driven Application. Portlet creation using the Plugins SDK is simple.
Portlets – Liferay – Liferay Developer Network
This is not a recommended configuration, and it is encouraged that you keep your projects in the Plugins SDK. I thought Liferay Portal was standards-compliant? If you want, you can do this with applications in Liferay Portal as well. Something that lets you get right to the features of your app deveopment site, rather than making you start over every time with the basic building blocks? Liferay Portal offers complete developer front-end freedom.
Developing with the Plugins SDK.
Using external artifacts in your project requires configuring their dependencies. Developers often choose Liferay for one of these cases and quickly find that it is a great fit for completely different projects.
But each new project that you do after a while can feel like that: With all your free time, you could. Select the Tutoriwl liferay-plugins-sdk option for your build type. Developmnt and OpenSocial gadgets. Open a browser, navigate to your portal http: Liferay is an open platform in an ecosystem of open platforms.
Doing all this in other types of web apps would require manual re-coding. Modules are the core building blocks of Liferay Portal applications. Summary Previous Portet a Portlet Next. If there are so many implementations of MVC frameworks in Java, why did Liferay create yet another one?
Window states mimic window behavior in a traditional desktop environment: Liferay Portal ships with suites of applications to get you started building your site quickly. It can also be used as a web integration lifray, leveraging technologies such as portlets to allow several applications to coexist on the same web page. One key tutoriall is that portlets run in a portion of the web page. The portlet can be on a page that contains other portlets.
This makes tutorials better suited to those with some experience in Liferay development.
This section shows you how to develop portlets using the following frameworks and techniques:. With that said, you can use a variety of technologies to develop lortlet that run on Liferay Portal. Liferay provides MVC command classes to break up your controller functionality. Developemnt What are the fundamentals that every Liferay developer should know? In short, portlets alleviate many of the traditional pain points associated with developing web apps.
To add an application to a page, click the Add button in the upper right hand corner it developmfnt like a plus signand then select Applications. By default, new portlets use the MVCPortlet framework, a light framework that hides part of the complexity of portlets and makes the most common operations easier.
Leave the Use default location checkbox checked. Processes events triggered in the Action phase. Liferay MVC Degelopment Classes In a larger application, your -Portlet class can become monstrous and unwieldy if it holds all of the controller logic. Developing a custom theme that adapts the look and feel of the platform to the visual needs of your project.
Your browser does not support the video tag.