在 ZF 中使用 DTL(Django樣板語言) - Calypso

edited 十月 2013 in Zend Framework
網址: http://www.beberlei.de/calypso/

The Django Template Language is a popular template language from the Python framework Django. It offers Template Inheritance, pluggable tags and filters and tries to strictly seperate the presentational and logic concerns of the application. Calypso DTL is a full clone of the Django template language even coming with the same BSD license, which renders this library completly free for private or business use. A Zend Framework integration allows the usage in your ZF projects. The architecture has been cloned almost one to one to cope with future developments of the DTL. The syntax is designer-friendly, easy to learn but very powerful.

Django 樣板語言是個熱門的樣板語言,起源自 Python framework Django,它提供了樣板繼承、可插入標籤與過濾器,嘗試透過嚴謹的方式將應用程式的展示層與邏輯層分離。Calypso DTL 是一個 Django 樣板語言的複製版本,一樣使用 BSD 授權,讓這個函式庫在個人與商業用途都能完整免費(自由?)。它還跟 Zend Framework 整合,可以在 ZF 為基礎的專案中使用,整個架構幾乎跟 DTL 發展的腳步一致,使用的語法對設計師相當友善,容易學卻又功能強大。

據說跟 Smarty 類似,只是對 DTL 不熟。

原始討論: http://twpug.net/x/modules/newbb/viewtopic.php?topic_id=3591
Sign In or Register to comment.