Cheetah is a Python-powered template engine and code generator. It can be used as a standalone utility or it can be combined with other tools. Cheetah has many potential uses, but web developers looking for a viable alternative to ASP, JSP, PHP and PSP Are Expected to Be Its Princi User Group. Cheetah:
generates HTML, SGML, XML, SQL, Postscript, form email, LaTeX, or any other text-based format. cleanly separates content, graphic design, and program code. This leads to highly modular, flexible, and reusable site architectures, shorter development time, and HTML and program code that is easier to understand and maintain. It is particularly well suited for team efforts. blends the power and flexibility of Python with a simple template language that non-programmers can understand. gives template writers full access to any Python data structure, module, function, object, or method in their templates. makes code reuse easy by providing an object-orientated interface to templates that is accessible from Python code or other Cheetah templates. One template can subclass another and selectively reimplement sections of It. Province a Simple, Yet Powerful, Caching Mechanism That Can Dramatical Improve The Performance of a Dynamic Website. Compiles Templates Into Optimized, Yet Readable, Python code Cheetah integrates tightly with Webware for Python (http://www.webwareforpython.org/):.. A Python-powered application server and persistent servlet framework Webware provides automatic session, cookie, and user management and can be used with almost Any Operating-System, Web Server, OR Database. Through Python, IT Works with XML, SOAP, XML-RPC, CORBA, COM, DCOM, LDAP, IMAP, POP3, FTP, SSL, etc .. Python Supports Structured Exception Handling, Threading, Object Serialization, Unicode, String Internationalization, Advanced Cryptography, And More. It Can Also Be Extended with code and libraries Written In C, C
, Java and other languages. Like Python, Cheetah and Webware are Open Source Software and are supported by active user communities. Together, they are a powerful and elegant framework for building dynamic web sites. Like its namesake, Cheetah is fast, flexible and powerful Give me an esample! Here's a very Simple Example That Illustrates Some of Cheetah's Basic Syntax:
$ client.surname, $ client.firstname td> | $ client.email td>
TR> #end for TABLE> body> html> Compare this with psp:
|