Java or Django for Liferay?

I would like to get an opinion on which language is better to use with LifeRay. I would like to create an application that I would like to integrate with LifeRay. What language would you advise me to learn first?

Java? - A friend suggested that Java and LifeRay are going well.

Django? - I recently saw it and saw a review. I find it pretty straightforward and I think it will be easy for me to learn. But I don't know if LifeRay is the right fit.

+2


source to share


5 answers


Liferay is written in 100% Java.

I don't know if there is even a portlet in Python / Django. There is a Ruby / Rails bridge for Liferay portlets http://rails-portlet.rubyforge.org/ , but I would definitely go for Java.



(Liferay) Portlets are based on Java standards (JSR-268, JSR-186), so Java is the way to go.

+5


source


Others have already answered that Liferay is a Java application. Let me add that there are definitely many ways to use other languages ​​to customize liferay.

However, when you ask about which language you should first be warned that the portal container is not the easiest environment to learn, and besides the language, you need to learn a lot about the implemented specifications, coding style and other frameworks used.

Liferay is huge in code size. If you start learning one of two languages, there are two aspects:



  • As for Liferay, the support on the www.liferay.com forums is best in Java, I've rarely seen support for other languages ​​(no questions and answers)
  • As for your personal learning curve: if you work closely with the django people, you can get better support for them in django.

Basically: you have to decide for yourself. Learning a new language and new environment / server / environment is tough.

+3


source


There are ways to write JSR compliant portlets in Ruby, PHP, and Groovy, and via Java via the Portal Pack - you can also run Django through Jython on an application server that supports LifeRay and use that for reverse portlets. I'm not sure how much preferable it would be to do this in Java alone, though ...

+2


source


I thought Liferay was a Java based product. If Django and Python are an option, I don't know about it.

This link says that I am correct.

+1


source


Liferay supports the creation of portlets in scripting languages.

Look at your wiki for reference

0


source







All Articles