Dev @ Work

A day in the life of a developer

Liferay Training @ Frankfurt, part 3

March 30th, 2010 by

Today is the second day of the Liferay development course in Frankfurt. Looking through the window gives me hope that the weather will be a bit better than yesterday. Yesterday we spend most of the day setting up Liferay for development and building a basic portlet.

Today we will cover how to use advanced portlet features like JSR-286 eventing, how to set up a portlet using struts and how to create a service using the service builder. I am particularly looking forward to that last part because it allows you to add additional services to Liferay.

Anyway, enough material to blog about so please stay tuned (while I get some breakfast ;) ).

Posted in Java | No Comments »

Liferay Training @ Frankfurt, part 2

March 29th, 2010 by

This morning was devoted to setting up a Liferay development environment. Not too much new stuff for me but I got the change to figure out some small things which will probably be useful in the future.

After a pleasant lunch we are ready to write some code!

The weather in Frankfurt is much like the weather in Holland: rainy.

Posted in Java | No Comments »

Liferay Training @ Frankfurt, part 1

March 29th, 2010 by

Today and the next 2 days I am going to increase my Liferay development skills in the city of Frankfurt. It is an official training by Liferay inc. I flew in Yesterday with my colleague Jeroen. I am writing this post from the class just like in the good old school days ;) . There are about 20 other developers in this 3 day training.

I am really looking forward to learn some new tricks. I will keep you posted!

Posted in Java | No Comments »

Reporting on Liferay and the Future of Portal Development

January 28th, 2010 by

From the comfort of my own home, this is Bert Willems reporting on the Liferay and the future of portal development. I haven’t dreamed it up: this is a report of a Liferay webinar I just attended. Paul Hinz, Chief Marketing Officer of Liferay, Inc hosted the webinar. He talked about the role of open source software in enterprise as well as the vision Liferay has about the future of web, portal and social collaboration technologies.

He explained why a lot of things which portals have promised are actually unmet by today’s portals. Most notably is that portal development using the portlet API is hard when compared to develop decentralized applications in for example PHP or Ruby. The learning curve of Java and it’s technology stack is considerably longer compared to other web application frameworks. Due to this fact other frameworks made their way into the enterprise.

He then elaborated on the evolved focus of portals and other web applications: providing a centralized platform for end user to create, share and develop knowledge. This is not something new because it is all around us already. Take a look at LinkedIn for example: I can add this very WordPress blog to my LinkedIn profile and the same goes for my Twitter account; LinkedIn acts as a portal.

Paul envisions that users will developing applications and share them in the same way the develop content together now in the Wikipedia. The focus of technology providers like Liferay will be on facilitating these user developers. A good example here is Apples iPhone with its countless available user build applications.

The focus of the Liferay development team for 2010 is:

  • Content Management Interoperability Services & integration of 3rd party content repositories
  • User defined workflow & business processes
  • Stronger personalization and enhanced collaboration tools
  • Faceted search & other search improvements

Notice to focus on facilitation and easy of extension rather then providing new features.

This is, in my humble opinion, a positive paradigm shift from classic wisdom owners (fortune 500 companies, patent holders, publishers, standards committees etc.) to wisdom of the crowd. Why shouldn’t we use the collective knowledge in all of our minds and combine it in a productive way so we can solve problems together? I see this shift in the software development world (see the microformats opposed to standardization committees like W3C and JCP) for example but also in the publishing industry (Wikipedia anyone?). There is a lot more to say about this subject but I will save that for a later post. Bye for now.

Setting up Liferay with MySQL

January 24th, 2010 by

Welcome to the second article in a series of articles on Liferay. In this series I will show you various aspects of Liferay, Liferay installation, Liferay maintenance and Liferay development so lets get started. These articles assume that you have basic Java development skills.

In this post I will show you how to configure Liferay to use MySQL instead of Hypersonic. I assume you have followed all the steps in the previous post or that you are using a JNDI datasource. I also assume that you have installed MySQL on your system already. If not, please install it first. If the portal is still running stop it first before continuing with the next steps.

Read the rest of this entry »

Posted in Java | No Comments »

Setting up Liferay in JBoss 5.1

January 24th, 2010 by

Welcome to the first article in a series of articles on Liferay. In this series I will show you various aspects of Liferay, Liferay installation, Liferay maintenance and Liferay development so lets get started. These articles assume that you have basic Java development skills.

In this post I will show you how to install Liferay 5.2.3, the latest communitie edition, on your local machine in the JBoss 5.1 application server, I assume you have a Windows machine. If you are running a different OS you can take the same steps but some paths will change depending on your OS. There are quite a few steps that need to be taken in order to set up Liferay, I will go through each and every step in detail. Read the rest of this entry »

Posted in Java | 13 Comments »

Liferay: Good, Bad or Ugly?

November 2nd, 2009 by

liferay logoHello, I have been developing application for Liferay for about one month now and I thought it would be a nice idea to share my experience. This is no thorough review of the product, just my personal experience with Liferay.

For those who don’t know what Liferay is: it is a portal server based on Java technology. It allows you to create portal and community websites easily. It provides more than 60 out-of-the-box and ready-to-use application called ‘portlets’. Those ‘portlets’ range from simple editorial blocks to blog engine and a chat portlet. It contains a full blown content management system and some powerful collaboration tools. See http://www.liferay.com/web/guest/products/portal/features for a comprehensive list of features.

Anyway, I have been working with Liferay for about one month now, specifically for one project. I won’t elaborate on the project in details but it is a career portal with jobs, resumes and company presentations. I have developed a considerable part of the code myself and it has been an interesting experience because I never wrote one line of Java before: I have a c++/.NET background. Fortunately, I have a good, experienced Java team to back me up.

Okay, lets get back to the subject now. I will separate my experiences into three categories:

The good

In my opinion Liferay is a complete product, the out of the box portlets are useful and you can actually create a full portal just with those portlets: that is impressive.

I also like the fact that Liferay provides pre-packaged version of their portal software which you can download and run without any special configuration. You can get a Liferay portal up and running in 5 minutes.

The Liferay community is active. You can find a lot of information in the WIKI and on the forum. I also like the fact that Liferay provides seminars around the world, to me that is a sign of professionalism.

I also like the fact that Liferay offers custom JS and CSS includes per portlet, this allows me add style and JavaScript without having to code it into the portlet itself  or in a Liferay theme.

The API is pretty powerful and usable, although it is hard to find out how it works (seen second point of The Bad).

The bad

What I think is really bad on Liferay is that there are still some major bugs open in version 5.2.3. Those bugs should have been fixed a long time ago IMHO. I am not sure if those bugs are fixed in the enterprise version of Liferay, so I am judging on that. For example LPS-114.

One other thing I think is bad on Liferay is the lack of API documentation. It is really hard to find how certain things are achieved or what methods do exactly. For example I have spend some hours finding out how I can retrieve a list of pages of the current community. I have searched the Liferay Wiki, the Liferay forums and used Google without success: I ended up reverse engineering Liferay itself. It is working beautifully now but it wasn’t a good experience figuring it out.

The Ugly

Even though Liferay is supposed to be fully compliant with JSR-168 and JSR-286, I can’t get the custom portlet mode to work properly. Although this seems to be an optional part of the JSR-286 I  assume that a enterprise product like Liferay would support this feature. I had to apply a work around which resulted in ugly code.

Considering all above points, I can say I am fairly impressed by the Liferay portal. I would choose it again for portal project.

Please let me know if you agree or disagree with me, lets get into a debate regardin Liferay! It deserves it!

Extending your Successful Website: Improve your Search Engine

October 24th, 2009 by

convert search into moneyAs I showed you in my previous post, Expanding your Website: Make your Visitors Feel Home, innovation on your website is a must in order to keep ahead of your competitors.

Everybody knows that making your content findable is important. There are numerous websites dedicated to optimizing your website for the Google, Yahoo, Bing and Ask. The term SEO (Search Engine Optimization) is commonly known and I am not going to talk about that!

In this article I am going to talk about improvements you can make to your website’s internal search engine. If your website does not contain a lot of content or the content is highly volatile this article might not be relevant for you.

However if your content is really specific, for example:

  • Job offers
  • Location based (company addresses, houses, appliances, etc.)
  • Articles or Whitepapers about specific subjects

This article is a must read for you. First we will get through 2 cases I made to give you idea in what ways you can improve the user experience. Next we will talk about different technologies and selection criteria for search engines.

Read the rest of this entry »

My First Java Steps

August 25th, 2009 by

Hello all, sorry for the radio silence lately, you might wonder what I have been doing lately. Well I have committed a terrible sin against the .NET framework (my previous home :P ): I started learning Java.

Why Java? Because several clients of Liones demand that their applications must be build on the Java platform and I am deeply involved in the process. I am not going to bother you with the organizational side of the process, I will focus on sharing my experience.

Learning Java isn’t really the objective for me, it is just another programming language and C# is similar enough to not cause any problems for me to program in Java. The real objective is to be able to develop applications (called portlets) for the Liferay portal framework. The hidden challenge, for me, turned out to be setting up the environment.

I got everything up and running today: Java, Ant, Tomcat, Liferay and I developed my first custom portlet (an application for Liferay) using above technologies and Java Server Faces. I will post an article on how I did it soon!

Posted in Java | 1 Comment »

Implementing a front end for Microsoft Dynamics CRM

July 30th, 2009 by

Microsoft Dynamics CRM 4.0Today I was working at a custom front end application for Microsoft Dynamics CRM, a project I have been blogging about before. The goal of that project is to create a client portal showing information directly from the CRM. I am going to describe to you the 3 steps you need to take to implement your own front end for Microsoft Dynamics CRM.

Read the rest of this entry »