/[Grep]/share/web/templates/fragments/remote_results
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /share/web/templates/fragments/remote_results

Parent Directory Parent Directory | Revision Log Revision Log


Revision 44 - (show annotations)
Tue Feb 20 21:55:24 2007 UTC (17 years, 3 months ago) by dpavlin
File size: 414 byte(s)
refactoring: after testing IPC::PubSub with vairous back-ends, it seems that COMET isn't a
good choice if you want predictible delivery. It also has problems with delay, because it's
a, uh, bus....

However, this refactoring has a good side: code size is reduced and is now easier to handle.
1 <%args>
2 $q
3 $feed
4 $item_fragment => 'title'
5 </%args>
6 <%init>
7
8 my $fetch = Jifty->web->new_action(
9 class => 'Fetch',
10 moniker => 'fetch',
11 arguments => {
12 q => $q,
13 feed => $feed,
14 item_fragment => $item_fragment,
15 }
16 );
17
18 $fetch->run or die "can't run?";
19 </%init>
20 <& '/fragments/results',
21 result => $fetch->result,
22 coll => $fetch->result->content('items'),
23 item_fragment => $item_fragment,
24 q => $q,
25 &>
26 </div>

  ViewVC Help
Powered by ViewVC 1.1.26