Chapter 2. Taglibs

MWT features a taglib engine, called Phable, that enables users to write widgets using a tag-based language similar to XHTML but with a richer, extendible set of tags. People familiar to web programming in JSP already know the beauty and magic of taglibs: MWT implementation of taglibs is very similar to JSTL.

Tags offer many benefits with respect to the traditional ways of coding pages for web sites (mixing scripting code with HTML, adopting a templating system to separate presentation from business login etc.) and have proven to be particularly suitable and useful for mobile site development, mainly because of the following aspects: