Reputation: 1
I ask you to please have information on the rules for development on Liferay:
Thank you in advance.
Upvotes: 0
Views: 679
Reputation: 3133
Starting with question 1: when you have multiple portlets in the same liferay project, they will be exported in the same .war file. As a result:
If you use Service builder, all your projects -except the hooks- will have access to your service
All your portlets will/can share the same localization keys, and Utility functions
To make it more simple, each time you have to decide between bundling them in the same project or not, you should answer the question : "Is it a good idea having to deploy all these portlets Together in EVERY Portal ?"
Not sure if you're talking about instance able portlets, or a complex form that can could be splitted in different portlets. If all the forms in that page are meant to interact with each other, you better move them in the same portlet, because inter-portlet communication is an issue.
Now, about the Framework, there can be no definite answer on that. Every framework has it's benefits and fan base. I find LiferayMVC convenient for very simple portlets (a few pages, with simple controls that will work out of the box, and a small total number of actions). For every other case, I'd recommend JSF for the following reasons:
Upvotes: 2