Showing posts with label content management. Show all posts
Showing posts with label content management. Show all posts

Sunday, 16 September 2012

Setting up an Image Gallery in Joomla

Most Joomla based sites end up requiring an image gallery of some sort and while there are a variety of  options available, you are liable to run into trouble with Javascript conflicts between the Javascript version or library of your Image Gallery plug-in with the other Javascript libraries loaded by the other plug-ins or the template. One option is ofcourse to hack the php template and debugging the Javascript conflicts using a browser based debugger which could be a tricky as well as tedious exercise.
The other and more staright forward approach is to use a non-Javascript based image gallery plug-in. One such plug-in is the css-gallery plugin. The plug-in is easy to install and has a simple configurable interface which is well documented. It is also  possible to add captions and link to the gallery images. It took 5 minutes to set up the image gallery for the St John English School website. An example of the css-image gallery in action can be viewed here. 

Wednesday, 16 July 2008

Portlets, Servlets, Application Servers and Portal Servers

Portlets have been around for a few years now and after JSR 168 have matured as a technology.Easy plugability, interoperability (of Portlets) with various Portal Servers (post JSR 168) and the rich user interfaces possible in Portlets have made them a popular choice in the J2EE development world. The main purpose of this post is to briefly explain the difference between a Portlet and a Servlet (technically and functionally).

Portlet as a technology borrows heavily from the traditional Servlet model. While both, Portlets and Servlets are Java components that have to be hosted within a Java container (JVM), there are some essential differences.

Portlets as compared to Serlvets are relatively specialised components. They give the developer a chance to focus on capturing some essential function without worrying about the 'other' things that go with making the function available to the real world. Further, unlike Servlets, Portlets cannot be invoked via a URL. This is hardly a limitation as they aren't meant to be invoked in such a manner. Portlets are realized and invoked via Portals. Thus browsers (web-clients) communicate with Portlets via Portals.

A Portal defined in layman terms is a 'web-site' but in essence it is a collection of Portlets. It includes a theme other user interface features that define the look and feel of the Portal. Cameron McKenzie explains it well when he says that Portals build upon existing J2EE functionality and simply management of several diverse applications. Content management is a good example of simplified Portal functionality that is considerably simplified. I experienced this first hand when I installed and ran JBOSS Portal Server 2.6.5.

While Servlets are hosted by an Application Server (such as JBOSS application server, Bea's Weblogic), Portlets require Portal servers. Examples of popular Portal servers are JBOSS Portal Server 2.6.5 and IBM's Portal Server 6.1. Portal servers are super sets of Application servers in the sense that they extend their capabilities and provide specialised functions which make single-sign on, customisable security, one-look applications and rich user interfaces possible in Portlets.

To summarise Portlets are specialised Java components.They can be persisted, configured, manipulated via the addition of buttons and while they aren't allowed to generate general HTML code, the iFrame tag can be used with caution. Nifty??? eh??

Monday, 26 May 2008

Connecting Infomation Dumps

I work for a traditional management consulting firm which is just beginning to embrace Web2.0 and its principles of blogging and Wikis. Today was a momentous day in the sense that I was involved setting up the corporate Wiki space where we (or rather projects) could create pages and collaborate using the functionality offered by the Wiki. Some of the managers I discussed the Wiki with, were skeptical about using the Wiki to blog about projects, upload documents and collaborate. The reason for their lack of enthusiasm was the presence of other traditional collaboration tools that have been used by previous projects to maintain project documents and track progress and there was not one but several such tools. As a result, there were several silos of information that were isolated and to a certain extent unusable as not everyone knew about their existence.

Reality check time.Information will continue to exist on File Servers, Email folders, Intranets, Wikis, Content Management Systems and local file systems . A good part of this data will be duplicated, redundant and even in some cases, out-dated. How does one connect these different sources and make data usable and easily manageable. Google Enterprise piggybacking on a Google search appliance can make finding information inside an organization easier but a search solution is not the key. The key is manageability.

While moving information out of every source into a central repository and forcing the workforce to use the central source is out of the question, it brings to the fore front, the need for pluggable interfaces that can connect information across these silos based on content and more importantly update information across several sources when information in one source changed is the need of the hour.

Such a system while in essence would be a Content Management System (CMS) that would manage content held by other CMSs, File Servers and other similar sources, it would need to identify and group together 'similar' data. In such a scenario, Tagging could act as a glue between these disparate sources of data. Moving one step forward, a bookmarking software such as Scuttle could be used to tie in various sources and formats of 'similar' data.