Tho designing tag libs (or now tag files) makes it easier for the non-programmer. It also makes it easier for the programmer.
JSP until 2.0 was dogged by a lack of a basic feature most "languages" have had for decades. We were in the BASIC stage of development, having to use includes (ie. gotos) to try to get some reuse. What was missing was procedural abstraction and data abstraction.
Tag libs, and better yet tag files, give you both. Tag files have the advantage of letting you express yourself in the same language you are using for your UI. That allows you to write truly reusable UI code.
Even the non-programmer can do it!! |