Ruby's Template Engine for Python

S

Samuel

Hi,

Following the masses I was drawn to RoR's website today and I saw the
following HTML template in one of the screencasts:

------
<body>
<% form_remote_tag :url => { :action => :search },
:update => :results,
:complete => visual_effect:)blind_down, 'image')
:before => %(Element.show('image'))
:after => %(Element.hide('image')) %>
<%= text_field_tag 'Search' %>
<%= submit_tag 'Search' %>
<% end %>
<img id='image' src='foo.png' />
<div id='results'>
</div>
</body>
------

I have to admit that a template engine that integrates with AJAX like
that looks inherently cool. Is there anything like that for Python,
optimally a stand-alone library? Django seems to handle this differently,
from what I can see.

-Samuel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,817
Latest member
DicWeils

Latest Threads

Top