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_effectblind_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
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_effectblind_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