Pin Me

Learn about Cheetah Software - Template and Code Generator

written by: Sheila Robinson•edited by: Michele McDonough•updated: 6/17/2010

You may consider the Cheetah software template and code generator if you are interested in creating dynamic websites that follow object-oriented principles. Websites can get complicated, but delays can occur due to project bottlenecks. Should you invest in it? Here's some information that can help.

  • slide 1 of 6

    What is Cheetah Software?

    Cheetah software Cheetah is an open source template engine and code generator tool that is written in Python. It is useful for creating heavy volume, fast changing dynamic websites. The tool can generate HTML, XML, and many other text based formats. Its overall design can create results in an object-oriented interface, which can separate the content, programming code and web/graphic design sections of a project. By separating in this manner, it is thought that projects can be completed by IT professionals in teams more efficiently. Team members will not hinder the progress of others since their work does not affect the completion of their own work.

  • slide 2 of 6

    Who is using Learning about Cheetah and using it?

    Cheetah software is used in open-source projects by the government, commercial and academic applications. Some of these organizations include: Dell, CNN, eBay, PayPal and LA Care Health Plan.

  • slide 3 of 6

    Creating the Template and Code

    The creation of Cheetah templates does require knowledge of Python and object oriented programming methodology. Programmers who would like an alternative to ASP, JSP or PSP will find Cheetah a comparable tool. Cheetah can also be used as a code generator to extend programming libraries and code for Java, SQL, C++ and other languages. This gives the programmer flexibility with data structure, modules, functions, objects and methods.

  • slide 4 of 6

    Using Cheetah Templates

    Once the Cheetah templates are in place, users can use them without having to know any specific programming language. If you want to learn about Cheetah, it does not require a large learning curve.

    Web/Graphic designers can put “placeholders” (values that will be substituted at runtime) that will be used for dynamic components and content. Placeholders can be identified by “$”. They can also reuse the templates for areas of a project that may have the same type of display or function. Web designers would also be interested to note that the Cheetah program doesn't use HTML “style” tags. Since rendered HTML tags can cause errors and can be hard to distinguish from “style” tags, they are not used.

    Once the web/graphic designers have finished with the template the program is compiled into the Python language. From this point content writers can then use the templates to add takes as needed.

  • slide 5 of 6

    Other Cheetah Functions

    Cheetah software can be integrated with Webware for Python (a server and servlet framework) which provides cookie user management, is cross operating system compatible, provides auto session and works with different servers and databases.

  • slide 6 of 6


    Image Credit: Sias van Schalkwyk