RE: Moving to Metal.js or other

Marco Fargetta, modified 8 Years ago. New Member Posts: 22 Join Date: 1/30/12 Recent Posts
Hi,

I am developing a portlet where I have to show some data colleted from a remote service in a "dynamic" table.
I would have some features like editing, searching, pagination, etc... and at the same time
have the look and feel of other Liferay portlet so I started my work in AUI.

However, it seems AlloyUI is deprecated in Liferay 7 (I am working on this version) so I would move
to Metal.js to be future proof. However, I am not able to load and use Metal.js in my ES6 code to
replace the AUI.

Do you have a working example of a porlet using the new Javascript framework?

I am also open to alternatives, I could try React.js or other bootstrap friendly frameworks
are there guidelines?

Thanks in advance,
Marco
(I am not sure this is the right forum category so I am posting it also in development)
S Ts, modified 8 Years ago. New Member Posts: 16 Join Date: 8/31/16 Recent Posts
The only portlet I have found fully using metal.js is here: https://github.com/liferay/liferay-portal/tree/master/modules/apps/foundation/frontend-image-editor/frontend-image-editor-web
(it uses soy templates)
thumbnail
Byrån Zaugg, modified 8 Years ago. Expert Posts: 252 Join Date: 4/6/12 Recent Posts
Marco Fargetta, modified 8 Years ago. New Member Posts: 22 Join Date: 1/30/12 Recent Posts
Hi,

I have already implemented the portlet following the indication in your link and integrating
metal.js.

https://github.com/FutureGateway/Admin-portlet

The new approach is nice but I found metal.js modules very poor in terms
of functionalities and UI, compared to other framework, but I hope they will get better.

Nevertheless my main question was to understand if metal.js was the right way to go
or react.js was more safe but I went with the first thinking of a better integration.

Cheers
vikash gupta, modified 8 Years ago. New Member Posts: 8 Join Date: 7/23/11 Recent Posts
may be you can try senna.js and datatables instead of metal.js.
Lee Jordan, modified 5 Years ago. Expert Posts: 449 Join Date: 5/26/15 Recent Posts
Three things in life are certain ... death, taxes and Liferay deprecation even as you learn the now deprecated feature, you're already loosing. Four things actually: death, taxes, Liferay deprecation and your car will always be worth less.
zara rafdh, modified 5 Years ago. New Member Posts: 4 Join Date: 1/24/20 Recent Posts
Thank youuu for the tips