Ruby's Template Engine for Python

Discussion in 'Python' started by Samuel, Dec 8, 2007.

  1. Samuel

    Samuel Guest

    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
     
    Samuel, Dec 8, 2007
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?SmViQnVzaGVsbA==?=

    Is ASP Validator Regex Engine Same As VS2003 Find Regex Engine?

    =?Utf-8?B?SmViQnVzaGVsbA==?=, Oct 22, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    714
    =?Utf-8?B?SmViQnVzaGVsbA==?=
    Oct 22, 2005
  2. Replies:
    1
    Views:
    379
    Sybren Stuvel
    Apr 10, 2006
  3. Sasha
    Replies:
    3
    Views:
    592
    Sasha
    May 22, 2007
  4. Steve Howell

    Re: Ruby's Template Engine for Python

    Steve Howell, Dec 8, 2007, in forum: Python
    Replies:
    3
    Views:
    288
    Bruno Desthuilliers
    Dec 10, 2007
  5. Ruby Baby
    Replies:
    1
    Views:
    132
    Ruby Baby
    Jan 23, 2004
Loading...

Share This Page