Vista combinada Visión Plana Vista de árbol
Discusiones [ Anterior | Siguiente ]
toggle
iqbal ahmed
among liferay MVC and Spring MVC which one is better
11 de marzo de 2013 6:40
Respuesta

iqbal ahmed

Ranking: New Member

Mensajes: 24

Fecha de incorporación: 18 de abril de 2012

Mensajes recientes

Hi guys,

there are lot of MVC framework in the market but we am interested in Liferay MVC and spring MVC, for our client we need to suggest which one to use among this
can anyone who has worked in both the framework help us in this. we have lot of widgets to develop.we have 2 options

1) using liferay MVC along with ALLOY UI. but Alloy UI don't have grid. we can use search container has grid.
2) using Spring MVC along with Jquery. for grid we are planning to use jqgrid.

Can anyone help us with reasons which one is better option among these two for portlet development.

Thanks in advance emoticon
David H Nebinger
RE: among liferay MVC and Spring MVC which one is better
11 de marzo de 2013 8:26
Respuesta

David H Nebinger

Community Moderator

Ranking: Liferay Legend

Mensajes: 11780

Fecha de incorporación: 1 de septiembre de 2006

Mensajes recientes

I'd say go w/ the one that you have familiarity with. That will make you the most successful.

Liferay MVC is appropriate if you're okay w/ following the struts 2/jsp and AUI. It has the least system impact.

Spring MVC is appropriate if you're using another view technology, i.e. jsf, facelets, etc.

jQuery is not so easy to answer. Liferay will already have AUI loaded (can't avoid that), but loading jQuery in can affect the browser. Rather than just one javascript framework in memory, the browser will now have two.
Manish Yadav
RE: among liferay MVC and Spring MVC which one is better
11 de marzo de 2013 10:07
Respuesta

Manish Yadav

Ranking: Expert

Mensajes: 469

Fecha de incorporación: 26 de mayo de 2012

Mensajes recientes

Its totally depends upon your requirements.If you have very complex flow of your application then better to go with spring.otherwise if you have only requirement to show data in grid you can go with liferay MVC framework with liferay grid, data table or jqugrid as you already suggested
Nilang I Patel
RE: among liferay MVC and Spring MVC which one is better
7 de junio de 2015 22:20
Respuesta

Nilang I Patel

Ranking: New Member

Mensajes: 20

Fecha de incorporación: 25 de julio de 2011

Mensajes recientes

Hi iqbal,

As suggested by Manish, it depends on your requirement. If you want your portlet to do just simple thing, choose Liferay MVC. if you wish to do many things with complex render / resource logic and if you want the o/p of portlet is not just JSP but other view technologies like freemaker, velocity, PDF etc, you may choose Spring MVC Portlet.

You may refer my blog on Spring MVC vs Liferay MVC portlet in liferay to understand the core differences and similarities between these framework which help you to decide which one to choose.

Regards
Nilang