•  What We Do
  •  What We Can Do For You
  •  How We Do It
  •  About Us
  •  Blog
  •  Search
  •  Client Login

1.818.524.2500


Templating Engines and Python's Many Batteries


Submitted by Anonymous on Fri, 09/25/2009 - 11:37
  • python templating engines web frameworks

It's easy to think, given how much of our work requires interaction with it, that we as programmers exist to shepard HTML. After all, while there are many other options out there, HTML and some pemutation of JavaScript and CSS make up the vastest majority of user interfaces for applications. After all, most applications have a user (or more), and how does that user interface with the application? Through the user interface.

If you're looking for a solid, efficient engine with which you can build applications (and generate HTML), you might try Python for your next project. Python features a large array of web frameworks (like Django, Turbogears, etc). If you want a powerful markup generation engine, but don't want to switch to a full-stack framework, you might try embedding a markup / templating engine. In the Java space, we have many options including FreeMarker, and Velocity.

While these options are mature, they may not have what you're looking for. If you're looking for options, it might be beneficial to embed Jython - a port of the easy-to-use Python-language that runs on the JVM - and then use one of the numerous options discussed on this listing of Python templating engines.

Template engines are useful not just for output, but because they surface a very simple syntax in which input content may be encoded. This content is readily translated into HTML, which can then be re-displayed on pages in your application (assuming you've taken proper cross-site-scripting prevention measures). Thus, these engines solve two problems: output and input.

In the Python community, we like to say that Python comes with "batteries included," and hopefully the two aforementioned listings speak to why.

 

»
  • 's blog

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
2 + 10 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.

Recent Blog Posts

  • NetApp Deduplication Performance
  • Apple’s Snow Leopard: Thinking so different it just doesn’t work
  • Key to evaluating products
  • Some Thoughts on Oracle + Sun
  • Micorosft: Good bad Ugly
  • Proper Way to Install NVIDIA Drivers
  • 10 Freeware titles that are worth checking out
  • Revving Up Sales with Search Engine Optimization (SEO)
  • The difference between a cloud and SaaS
  • 2009 Recap: What will 2010 bring us?
more

Tags for Templating Engines and Python's Many Batteries

Blog

  • python templating engines web frameworks

Tag Cloud

nvidia drivers hdmi pc dvi edid Quark cloud computing microsoft recap RichFaces JSF retail technology java saas Apple real world roi
more tags

Copyright © 2012 by Venarc Corporation. All rights reserved. Venarc and Venarc logo are trademarks of Venarc Corporation.