{"repo":"itod/tdtemplateengine","free":true,"listed":false,"github":"https://github.com/itod/tdtemplateengine","clone":"git clone https://github.com/itod/tdtemplateengine.git","description":"A multi-pass, streaming template engine implemented in Cocoa, for use in Cocoa.","language":"Objective-C","stars":61,"topics":["objective-c","macos","ios","template-engine","template","templates"],"license":"MIT","category":"mobile-apps","readme_excerpt":"TDTemplateEngine === A multi-pass, streaming template engine implemented in Cocoa, for use in Cocoa. TDTemplateEngine is a template engine implemented in Objective-C, and intended for use on Apple's OS X and iOS platforms. It currently has decent unit test coverage. Always use the Xcode Workspace TDTemplateEngine.xcworkspace , NOT the Xcode Project. TDTemplateEngine is built on top of PEGKit, my parsing toolkit for Cocoa. The PEGKit dependency is managed via git externals. TDTemplateEngine is inspired by the Django template language, Java ServerPages, and MGTemplateEngine by Matt Gemmell. Similarity to MGTemplateEngine In fact, TDTemplateEngine's API is very much inspired by MGTemplateEngine. And usage scenarios of the two tools are very similar. If you are in need of a template engine for Cocoa, you should definitely investigate MGTemplateEngine as well. It is more mature. So if MGTemplateEngine exists, why create another one? What makes TDTemplateEngine different? Design Goals of TDTemplateEngine Mutliple-pass TDTemplateEngine offers a multiple-pass architecture . This means that TDTemplateEngine's API allows renderinging of any given template in 2 distinct phases : 1. Compile the template source to an intermediate Abstract Syntax Tree (AST) representation. 1. Render the AST to the final template text result. This multiple-pass architecture has many advantages: A clean, well-factored, classic archecture that should be recognizable for anyone familiar with compiler design ba","default_branch":null,"files":null,"tree":[],"storefront":"/r/itod","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/itod/tdtemplateengine/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}