471,326 Members | 1,827 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,326 software developers and data experts.

Ruby's Template Engine for Python

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
Dec 8 '07 #1
0 903

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

220 posts views Thread by Brandon J. Van Every | last post: by
54 posts views Thread by Brandon J. Van Every | last post: by
13 posts views Thread by Wayne Folta | last post: by
65 posts views Thread by Amol Vaidya | last post: by
17 posts views Thread by allen.fowler | last post: by
reply views Thread by bruce | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.