Forums

Home » Liferay Documentation

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Jakob Fahrner
Developer Guide Sample Applications
July 21, 2011 7:28 AM
Answer

Jakob Fahrner

Rank: New Member

Posts: 10

Join Date: July 19, 2011

Recent Posts

Hi,

I'm quite new to LifeRay and just more or less finished a crash course with the developer guide.
The guide is very helpfull and the examples a nice too, but I often wondered if there is a place to download the code within working sample applications.

I think it would be cool to have the code snippets in the guide to 4 downloadable plugins
so for each section on
  • my-greeting-portlet
  • deep-blue-theme
  • example-hook
  • ext-example

which can be imported to Eclipse and are working.

Because I often had the problem that some small code parts where missing and or some things simple didn't worked with the code from the guide.
So I wished to have some working examples to look at.
I tried to download some plugin applications from the public svn but I only found quite complicated to start with.

In my opinion that shouldn't be a great deal, but help a lot to start with developing
I would be very grateful if someone could provide this
David H Nebinger
RE: Developer Guide Sample Applications
July 21, 2011 7:46 AM
Answer

David H Nebinger

Rank: Liferay Legend

Posts: 6134

Join Date: September 1, 2006

Recent Posts

You can download many samples from the Downloads page under either the Official Plugins or Community Plugins. Most of them come with source, and there are themes, templates, hooks, and portlets.

You'll find a number of portlet examples based upon your favorite web development stack (i.e. struts, spring mvc, jsf, etc.).
Jakob Fahrner
RE: Developer Guide Sample Applications
July 22, 2011 2:11 AM
Answer

Jakob Fahrner

Rank: New Member

Posts: 10

Join Date: July 19, 2011

Recent Posts

Thanks for your quick answer.
Yeah I noticed that there are quite a lot of applications to look at and I'm happy about this.

My point was if I start with the developer guide and there are example project described
It would be nice to have exactly these example plugins available to download in a working version.
Hitoshi Ozawa
RE: Developer Guide Sample Applications
April 22, 2012 5:21 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7990

Join Date: March 23, 2010

Recent Posts

I think David means samples available in the svn:

http://svn.liferay.com/repos/public/plugins/trunk/portlets/
Richard Sezov
RE: Developer Guide Sample Applications
April 23, 2012 8:06 AM
Answer

Richard Sezov

LIFERAY STAFF

Rank: Regular Member

Posts: 196

Join Date: February 7, 2007

Recent Posts

Note that these are all on Github now:

https://github.com/liferay/liferay-plugins

--Rich
Hitoshi Ozawa
RE: Developer Guide Sample Applications
April 23, 2012 7:39 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7990

Join Date: March 23, 2010

Recent Posts

Is github the "official" repository now. Will svn be faded out now (not updated)?
Would appreciate offical liferay.com stance of this issue.
David H Nebinger
RE: Developer Guide Sample Applications
April 23, 2012 7:48 PM
Answer

David H Nebinger

Rank: Liferay Legend

Posts: 6134

Join Date: September 1, 2006

Recent Posts

Hitoshi Ozawa:
I think David means samples available in the svn


No, actually I meant the source is available in the downloads of the plugins available from both the official plugins and the community plugins. You don't get the full build.xml, but the source code is there. For checking out how the plugins do their thing, often times that is enough.
Hitoshi Ozawa
RE: Developer Guide Sample Applications
April 24, 2012 4:56 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7990

Join Date: March 23, 2010

Recent Posts

Jakob,
Seems David meant the completed plugin source code. If you want to know how to use a particular feature, it's often easier to just look at samples in the svn.

http://svn.liferay.com/repos/public/plugins/trunk/portlets/
Jorge Ferrer
RE: Developer Guide Sample Applications
April 24, 2012 10:01 AM
Answer

Jorge Ferrer

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2756

Join Date: August 31, 2006

Recent Posts

Hi Hitoshi,

Github is the main source repository now, but we are syncronizing it with SVN daily.

We will eventually stop using the SVN servers but we will let everyone know before we do that.
Hitoshi Ozawa
RE: Developer Guide Sample Applications
April 24, 2012 2:51 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7990

Join Date: March 23, 2010

Recent Posts

Thanks for the reply.

Which means you'll be moving away from SourceForge to GitHub.

I'll start using GitHub now then.
Jorge Ferrer
RE: Developer Guide Sample Applications
April 25, 2012 2:44 AM
Answer

Jorge Ferrer

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2756

Join Date: August 31, 2006

Recent Posts

We will still be using Sourceforge, just not for the version control of our source code.