The Artima Developer Community
Sponsored Link

Python Buzz Forum
Myghty is mighty interesting

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Ramdas S

Posts: 60
Nickname: ramdaz
Registered: Sep, 2005

Ramdas S is a Python fan, writer and developer based out of Bangalore India
Myghty is mighty interesting Posted: Feb 14, 2006 9:03 AM
Reply to this message Reply

This post originated from an RSS feed registered with Python Buzz by Ramdas S.
Original Post: Myghty is mighty interesting
Feed Title: Python tags from blog of s ramdas
Feed URL: http://ramdas.diqtech.com/feeds/tags/python/
Feed Description: Latest Pythonic experiements by S Ramdas
Latest Python Buzz Posts
Latest Python Buzz Posts by Ramdas S
Latest Posts From Python tags from blog of s ramdas

Advertisement
Everyone has their own favorite templating engine these days on Python. I have tried Cheetah and Kid, and found both of them lacking in terms of features. I am having a lot of problems with Kid templating system, when I work on TurboGears. Kid is throwing up a few errors, and although it kind of forces me to write good XML, I think the system gets a bit too mean. However Kid has limitations, and for the pain I guess it is not worth it. Pradeep Gowda of btbytes.com fame pointed me to Myghty and I am starting to appreciate it. Myghty is based on Mason, which helps you to embed Perl in HTML. From the Myghty web site "Advantages of Myghty · 100% support for all of HTML::Mason's industry-proven featureset, and more· A flexible and extensible caching system comes built-in, available at the component, page, and superpage levels through simple tags, or programatic access anywhere. Supports memory, file, DBM and memcached backends.· Templates embed 100% real Python, Python control structures, Python whitespace· Real .py and .pyc modules generated on-the-fly· mod_python, CGI, WSGI support built-in, tested, on the road right now, including with FCGI, Lighttpd and Python Paste - runs standalone out of the box too. Also supported with CherryPy and Turbogears via the BuffetMyghty template adapter. · Built-in Session support for all platforms - doubles as a drop-in replacement for mod_python's session, also supports file and memcached backends. · The only place in Python where you'll get the original template inheritance model - the most widely used and feature-rich · Unique Module Components system allows any arbitrary function or object method within a Python module to intermix with templates freely, or be mapped to URL resolution - they are the ideal environment-agnostic MVC controller · A ruleset-driven Resolution engine, the only one of its kind - resolves components based on paths, regular-expressions, across multiple directory structures and even within modules and their attributes. Create logic-driven chains allowing unheard-of amounts of URI resolver flexibility, and add your own rules. Myghty's resolver can match any URI to any code or template - guaranteed." I will write a very small Myghty example in next blog to illustrate the power of Myghty.

Read: Myghty is mighty interesting

Topic: Opening up templates Previous Topic   Next Topic Topic: Turned off the Google Toolbar

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use