Liferayは6年連続でGartner Magic Quadrantのリーダーに。 詳細はこちら
The Proposals Wiki has been deprecated in favor of creating Feature Requests in JIRA. If you wish to propose a new idea for a feature, visit the Community Ideas Dashboard and read the Feature Requests Wiki page for more information about submitting your proposal.
« FrontPage に戻る

Application Builder

Hi liferayers!

I spend my days writing Liferay portlets and there are a lot of tasks that are common to almost every portlet I have to do. It is very usual that the customers ask for a portlet that manage something, for example "Enterprise Resources" (like pcs, phones, cars...) or "Schools".

But what do they have in common? You may ask.

Well, the basic portlet has the following parts:

  • Edit/detail view form
  • Search container with all the items and the action menu
  • Search form
  • Advanced search form

After you create all these "screens" you can create, delete, update, search these objetcs... and it's ALWAYS the same. Wouldn't it be great to do this automatically?

I know there's something called OpenXava that aims to achive this, but it's a developer approach. I want a PORTLET in Liferay that creates PORTLETS.

In SugarCRM you have a module builder that do exactly this, you can define the fields of the new object, and you create the forms, so that with a few mouse clicks you have a custom new module ready to use. It creates the database tables too...

You can create a new module (we would call it portlet) in a few steps:

  • You select the fields of your object and their types
  • You say if it's related with any other system object
  • You define the forms (View, edit, search container, search and advanced search) with a drag and drop system
  • You publish it directly into the system

When I first used SugarCRM, the first thing I thougt was: "I wish Liferay had something like this!"

This will reduce the ammount of work hours needed to create a simple portlet and every user could create a custom portlet without developing... wouldn't it be great?!

This is an initial article. I will go on writing about this in the following days

The forum discussion post is this one:

0 添付ファイル
26865 参照数
平均 (3 投票)
コメント 作成者 日時
Hm - I'm not sure whether I like this approach.... Andreas Oberhack 2009/11/20 1:49
Yeah, Andreas. It's true that this may fit... Juan Fernández 2009/11/25 5:21
Exo portal already has a form builder portlet. Lisa Simpson 2009/12/03 13:12
Hi Lisa: it's true that there's already a form... Juan Fernández 2009/12/03 23:32
Hey guys, We are going through core... Jorge Ferrer 2009/12/08 15:58
Jorge, is there any documentation available on... Sebastian M 2011/01/03 12:45

Hm - I'm not sure whether I like this approach.

I think it's a good approach for simple applications with a simple data / object model.

For more complex applications - and liferay's target market is the enterprise market - I would prefer a direction which is already started quite well with the plugins sdk.

Let's fine tune that code, integrate that in all major IDE's, add ui code generation capabilities and have plugins for several ui technologies like JSP / JSF / Flex etc.

But that's only my oppinion having my own requirements in mind.

Like always: may we should start collecting / discussing the requirements first :-))
投稿日時:09/11/20 1:49
Yeah, Andreas. It's true that this may fit basic needs, with "simple data / object model", as you say, but it can be anough for many people that doesn't have to be necessarily developers, but end users.

The main idea behind this is to build a simple (or not that simple) portlet WITHOUT writing a single code line.

It's true that the plugins SDK is much more powerful... and it's not actually incompatible with this idea, isn't it? I mean, this can be a sdk "facade" for non technical users to design their own simple portlets. This can avoid them to run scared when they need something simple and they realize how much work is to develop a simple portlet.

Anyway, it's up to the community to discuss these issues
Andreas Oberhackへのコメント。投稿日時:09/11/25 5:21
Exo portal already has a form builder portlet.
Juan Fernándezへのコメント。投稿日時:09/12/03 13:12
Hi Lisa:
it's true that there's already a form builder and an application builder, but they are just the first steps in this direction. If we evolve from this point, we will be able to reach a real application builder where every user may, with as less as possible tech knowing, create their own portlets.

I think about creating a school or a veterinary clinic admin portlet in several clicks, I think about creating a contact management system with a few clicks... this can make Liferay a "development" environment of web applications.

Lisa Simpsonへのコメント。投稿日時:09/12/03 23:32
Hey guys,

We are going through core development spring in L.A. right now, and thought that you'd like to know that Ray Augé, one of Liferay's senior engineers has presented how he's been using a rapid application development environment based on the web content capabilities to convert around 60 independent portlets to a few structures and templates. What he's done is very similar to what is being discussed here and we've decided to make some improvements and incorporate it into the roadmap.
投稿日時:09/12/08 15:58
Jorge, is there any documentation available on this approach?
Jorge Ferrerへのコメント。投稿日時:11/01/03 12:45