Liferay recently added documentation on using Maven for the development of Liferay plugins. The full documentation can be found here: http://www.liferay.com/documentation/liferay-portal/6.1/development/-/ai/developing-plugins-using-maven. I want to go through a few issues I noticed when following the instructions to set up the Maven environment. The code and configuration files can be found at https://github.com/thbehlau/sample-liferay. ADD PROFILES TO YOUR […]

INTRODUCTION One of the features you normally set up as part of your portlet, particularly if it contains content that is processor intensive, is content caching.  Luckily for us, the portlet specification defines caching mechanisms most portal vendors should support.  One of these caching strategies is the expiration cache.  Though it doesn’t give fine grain […]

Administering your audiences and various sites through Liferay can be a challenging task if not properly planned out at the beginning of a project. Known as Information Architecture, or IA, the practice of planning and organizing a sites, audiences, resources, content and flow is too often an overlooked step in website development. There are millions […]

This post will discuss data validation approaches in Spring 3, specifically form validation in a SpringMVC context. Prior to Spring support of JSR-303 bean validation, validating data, specifically form data, in Spring applications was often an ad-hoc process. Custom validation logic needed to be written in controller classes, within beans, or via JavaScript on the […]

It has become quite apparent over the years that I have an interesting “gift”. It’s not the obvious agility in logic and reasoning required to be a successful software engineer. I am instead referring to my ability to misplace pretty much anything. My brother used to joke that if you wanted to get rid of […]

Outdated IE vs Current IE

Not all companies are on the bleeding edge, yet they still have projects or applications to support.  What is in the designer’s arsenal to create compelling and innovative interfaces? The reasons vary, but there are many companies who have or support applications requiring the use of an outdated browser.  Believe it or not, as of […]

CMS’s are great! Their purpose is to provide the ability to develop/design once and allow a general site manager to update the content without having to have web skills or paying a designer/developer just to make an edit. (One argument for this is that WYSIWYG editors that come with a CMS try so hard to […]

In my work as a consultant over the years, I have been fortunate to work with many technologies. One of my favorites is JavaScript. Back in the early days of image maps, JavaScript was a real chore, having limited functionality. As the years have gone on, however, JavaScript has emerged as a very helpful technology. […]

Something that comes along every once in awhile is having to import/update client records in MySQL. For example, the client submits a spreadsheet with “updated” values that need to be merged into the database, in this case emails: How to merge these values into the existing table when there are hundreds of values, though? The […]

“Using Spring Tool Suite (STS) for Liferay Development” is the first blog in a series that researches the usability of STS in the Liferay Development process. One might ask: Why not to use the Liferay Development Studio? For one thing, I dislike Ant. All my recent projects have used Maven. There is not a good […]