2 Kasım 2012 Cuma

Velocity Guide

Velocity is a Java-based template engine. It permits web page designers to reference methods defined in Java code. Web designers can work in parallel with Java programmers to develop web sites according to the Model-View-Controller (MVC) model, meaning that web page designers can focus solely on creating a well-designed site, and programmers can focus solely on writing top-notch code. Velocity separates Java code from the web pages, making the web site more maintainable over the long run and providing a viable alternative to JSPs.

Velocity - Guide

Hello $customer.Name!
#foreach( $mud in $mudsOnSpecial )
   #if ( $customer.hasPurchased($mud) )
          $flogger.getPromo( $mud )

Hiç yorum yok:

Yorum Gönder