Mako 0.3.4

Operating systemsOS : Windows / Linux / Mac OS / BSD / Solaris
Program licensingScript Licensing : MIT License
CreatedCreated : Jun 24, 2010
Size downloadDownloads : 9
Program licensing
Thank you for voting...

It provides a familiar, non-XML syntax which compiles ...

It provides a familiar, non-XML syntax which compiles into python modules for maximum performance.
mako by Mike Bayer's syntax and API borrows from the best ideas of many others, including Django templates, Myghty, Cheetah and Genshi.
Conceptually, Mako 0.3.4 is an embedded Python (i. e. Python Server Page) language, which refines the familiar ideas of componentized layout and inheritance to produce one of the most straightforward and flexible models available, while also maintaining close ties to Python call and scoping semantics.
Most important functions of Mako [mako0.3.4.exe]:
• Super-simple API. For basic usage.
• Fast. An included bench suite, adapted from a suite included with Genshi.
• Standard template features like control structures constructed from real Python code (i. e. loops, conditionals), straight Python blocks, inline or at the module-level, plain old includes.
• Callable blocks like access variables from their enclosing scope as well as the template's request context, can be nested arbitrarily, can specify regular Python argument signatures, outer-level callable blocks can be called by other templates or controller code (i. e. "method call"), calls to functions can define any number of sub-blocks of content which are accessible to the called function (i. e. "component-call-with-content"). This is the basis for nestable custom tags.
• Inheritance. Features like support for "multi-zoned" inheritance - define any number of areas in the base template to be overridden, support for "chaining" style inheritance - call next. body() to call the "inner" content, the full inheritance hierarchy is navigable in both directions (i. e. parent and child) from anywhere in the chain, inheritance is dynamic ! Specify a function instead of a file-name to calculate inheritance on the fly for every request.
News in the current Mako - 0MB version:
• Now using MarkupSafe for HTML escaping, i. e. in place of cgi. escape(). Faster C-based implementation and also escapes single quotes for additional security. Supports the __html__ attribute for the given expression as well.
• When using "disable_unicode" mode, a pure Python HTML escaper function is used which also quotes single quotes.
• Note that Pylons by default doesn't use Mako 0.3.4's filter - check the environment. py file.
• Fixed call to "unicode. strip" in exceptions. text_error_template which is not Py3k compatible.

Mako 0.3.4 scripting tags: code syntax, templates, mako, call, theme, python, inheritance, template library, engine, generate code. What is new in Mako 0.3.4 software script? - Unable to find Mako 0.3.4 news. What is improvements are expecting? Newly-made Mako 0.4 will be downloaded from here. You may download directly. Please write the reviews of the Mako. License limitations are unspecified.