Are there any basic tutorials for creating my first liferay 7 portlet like a Hello World App?
I am new to Liferay and need some help getting started. I have read over the liferay 7 tutorials and I have tried following the Liferay 7 Creating An MVC Portlet, but having trouble understanding where everything goes and how it all works together, and I feel that it is not a comprehensive tutorial.
About Me and My Liferay Aspirations:
I have experience with JAVA, JavaScript and Node.js.
I'd eventually like to be able to display a google map and display content on it, but just want to make some baby steps understanding portlets. Correct me if a portlet is not the right thing for me to be focusing on for this goal.
There is an excellent book "Liferay in Action". It helpls a lot, but there are a lot of mistakes in code. On the other hand, there is "Portlet in action", but it doesn't have free pdf-version :\
Also, you can visit web.liferay.com, I don't like this forum but there are good questions from time to time.
And any other issues you can only google, google and google again. Unfortunately, there is no alternative way.
The tutorials are not going to give you all the details, because they must be as short as possible. That said, the Creating an MVC Portlet tutorial should get you pretty well on your way. Which parts, specifically, are you having trouble understanding?
Have you read the Liferay MVC Portlet introductory tutorial? It's even sparser on details but it might fill in a few gaps.
If you are first time developing using liferay then this link might help you. It is guide to liferay 6.2. Creating plugin portlets is same in liferay 6.2 and 7. Just setup is different.
For creating liferay modules refer liferay 7 documentation.
Related
I'm new to liferay. And I've some basic question that what is liferay all about. What is a liferay plugin project or service builder project? Is liferay any framework,GUI tool, a content manager or WHAT?
I know that you guys are not engaged with this tool in this BLOG but still somehow it is related to java. So please guys help me.
Have you tried reading the liferay tag-wiki on stackoverflow? Just hover your mouse over it and you will have answers to all your questions. And if you want more just click on the pop-up and you would also find details about how to learn more about Liferay.
Still as per the norms of answering, here are some brief answers to your question:
Is liferay any framework,GUI tool, a content manager or WHAT?
Liferay is an open source JSR 286 compliant web-portal and social platform, written in Java. It includes content-management and more. It has different plugins known as portlets like Blogs, Forums, Document management, Content management etc.
What is a liferay plugin project or service builder project?
Plugin projects are nothing but small components/applications/widgets that run in the portal. Some might have UI and others might run in the backend.
Service Builder is a framework in liferay to ease development of services which might include service to access database, web-services, json web-services.
Everything else is given in the tag-wiki and the wiki also includes links to official resources if you wish to use/develop in liferay.
plugins are features which developers add them to portals like liferay.
for example:
liferay hooks are defined to do some tasks, like user's authentication, adding users, etc .. and we want change (override) that hooks, so we need develop ext plugins to do this for us.
I've been tasked with creating a documentation website for some services that we expose externally. Part of my task is to find out what the best base software would be to build this site. One of my specific objectives is to determine whether or not the Liferay Portal software or its plugins are suitable for building what is primarily functioning as an API documentation website. It seems like Liferay is meant for more content-driving applications, such as news, wikis, blogs, etc.
If Liferay is suitable for this task, are there any pointers on what the general layout should be for the site?
Liferay itself is proving to be rather complicated to learn, so I figured that it'd be better to figure out if I'm wasting my time or not before really diving into learning how to use it.
At the same time, are there any better, non-commercial alternatives?
Thanks!
I am creating web portal using Liferay and I implemented a simple document browsing page. I was using amazon java libraries to accomplish that and it was quite easy(just download all of the jars, include them in your portlet library folder and AWS(AmazonS3) is ready to use). On the other, the programmatic part of creating this portals with Liferay is quite a lot. I suggest you if you don't like programming to chose another software :)
I hope this was helpful! Its just an advice not a concrete answer.
Good luck with developing your website :)
following the tutorials on http://www.youtube.com/watch?v=Nq480A0pgqc&list=PL0-GOAU3tpMYm0F1CHYP5_egk0mmAGMab for orchard cms.
Although all tutorials I find are using the dashboard to change the appearance of the site.
Is this the norm? I would like to learn to work from VS for this but cant find much on it....
any advice?
thanks
If you are looking for a starting point I would recommend Skywalker's excellent tutorial series. If you need to do it in orchard, it is in this series.
http://skywalkersoftwaredevelopment.net/blog/writing-an-orchard-webshop-module-from-scratch-part-1
On themes - they are changed from within Orchard, but developed outside it. VS is not necessary, but gives good intelli-sense on razor views.
The correct place to start on writing a new theme is here: http://docs.orchardproject.net/Documentation/Writing-a-new-theme
I have a question for any JBoss Seam developers out there:
I am creating a web project using JBoss Seam by generating entities and reverse-engineering code from existing database tables. This is my first time developing a web app in JBoss/Java/JSF, being an old school .NET web developer from years ago.
How do I save user input in text controls, so that it stays on the web page after a page refresh? I used to use Viewstate or Sessionstate in .NET, not sure what the equivalent of this would be in Java/JSF. Someone mentioned using java beans, but not sure how to do that, and Googling produces little help.
Any comments much appreciated, thanks.
Rather than going through the steps required here, it might be easier for you to go through the Seam tutorial, which will give you the basics. You can then clarify things here afterwards:
http://docs.jboss.org/seam/latest/reference/en-US/html/tutorial.html#registration-example
Snaps is a (rather new) web framework growing out of the Eclipse Virgo community that (will) allow dynamic, componentized web UIs by exploiting the OSGi infrastructure. Apparently it is the heir of "Slices", the previous attempt at this.
What I am wondering is whether there is any work ongoing in looking at how JSF (2) can be combined with such an approach? Is this at all possible? If so, is there any concrete work ongoing?
There is no work going on looking at JSF specifically or any other Web framework for that matter. Snaps aims to give you the dynamic runtime ability to compose your web app without restricting your choice of web framework in any way. It definitely doesn't aim to be another web framework.
I know some people have had JSF running on Virgo so I don't see any reason that you can't use it with snaps although I haven't tried it so I can't say for certain. If you do find a problem raise a bug on the Virgo project :)
Chris.
In case you're still interested:
At the Virgo formus I know there is some guy who does have it running with FancyFaces.
If you might have found another solution, would be glad to hear.
Grts