2008年8月4日星期一

[fw-mvc] Zend_View_Dtl ready for review

Hello fellow frameworkers,

I finished my proposal for a ZendX_View_Dtl component which aims for inclusion
in the Zend Extras Library. It is a full clone of the Django Template
Language Parser (Django is a python web framework much like ZF).

http://framework.zend.com/wiki/display/ZFPROP/Zend_View_Dtl+-+Benjamin+Eberlei

The Django Template language is an object oriented template system,
that allows for template inheritence. See
http://www.djangoproject.com/documentation/templates/ on how it works.

I have already finished a first version of this component downloadable under
http://www.beberlei.de/calypso/ with some information on how to get it
running with ZF MVC (Dont be confused: Calypso is my personal zf extensions
namespace).

There is also a demo included that shows the integration with DojoX DTL (A
clientside Django Template Language parser), where you can mark certain
blocks of the template as clientside and they are sent to the browser to be
renderd by DojoX DTL using json data from an url thats called.

I know its yet another template language, but the possibility for Server vs
Client-Side rendering allows to change a site from complete server side
rendering to partial client side rendering in seconds, which might be a very
viable solution for Projects that implement B2B software.

I'd really appreciate some feedback,
Benjamin

--
Benjamin Eberlei
http://www.beberlei.de

没有评论: