incubator-esme-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Pollak" <feeder.of.the.be...@gmail.com>
Subject Re: [ESME-dev] Re: FW: JavaScript funtime
Date Thu, 11 Dec 2008 14:49:54 GMT
On Wed, Dec 10, 2008 at 10:52 PM, Mrinal Wadhwa <mrinal.wadhwa@gmail.com>wrote:

> I've been traveling over the last 10 days or so and haven't had time to
> join the new lists ... I just joined them though .. once I'm back, I can
> take up the below task .. its great that we'll now have a clear separation
> of the html/js (view) code .. makes things so much more flexible on the
> client side .. Thanks David.


Turns out it's less code on the server side (although at this point, we're
resending all the messages to the client... I've got an actual item to do a
partial update... but I want to pull the UI out before jumping into the
performance enhancements.)


>
>
> Cheers,
> Mrinal
>
>
>
> On Thu, Dec 11, 2008 at 9:23 AM, Hirsch, Richard <
> richard.hirsch@siemens.com> wrote:
>
>>
>> I'm forwarding this to the Google Dev group, so those who are still not on
>> the apache mailing list will become aware of it.
>>
>> Please do not respond to this message but respond on the apache list.
>>
>> Thanks.
>>
>> D.
>>
>> ________________________________
>>
>> From: David Pollak [mailto:feeder.of.the.bears@gmail.com]
>> Sent: Thu 12/11/2008 02:28
>> To: esme-dev@incubator.apache.org
>> Subject: JavaScript funtime
>>
>>
>>
>> Folks,
>>
>> I've been working on migrating the Comet Actors to emit JavaScript rather
>> than HTML.  Here's the output of the Tag Cloud Actor:
>>
>> var esme_tags = {'Pork': 0.5, 'Elwood': 0.5, 'Meow': 0.5, 'Esme': 1.0,
>> 'Ie Sucks': 1.0, 'Thanks': 0.5, 'Snork': 0.5, 'Cat Food': 0.5,
>> 'Toads': 0.5}
>> ;
>> var esme_words = {'hoo': 0.11111111, 'fooasdas': 0.11111111, 'doing':
>> 0.11111111, 'ee': 0.11111111, 'cat': 0.22222222, 'like': 0.22222222,
>> 'how': 0.22222222, 'foog': 0.22222222, 'eat': 0.44444445, 'ie':
>> 0.44444445, 'hello': 1.0, 'i': 0.44444445, 'slot': 0.22222222, 'mush':
>> 0.22222222, 'push': 0.22222222, 'you': 0.22222222, 'm': 0.11111111,
>> 'sluce': 0.11111111, 'from': 0.11111111, 'meow': 0.11111111}
>> ;
>>
>> esme_display_tag_cloud();
>>
>> Here's the output from the Timeline Actors:
>>
>> var esme_user_timeline = [{'$lift_class': 'message', 'id': 52, 'text':
>> '<message><body>Hello 44</body>\u000a        <tags></tags></message>',
>> 'source': 'web', 'when': 1220488284616, 'conversation': 0, 'author':
>> 1, 'replyto': 0, 'viagroup': 0}
>> , {'$lift_class': 'message', 'id': 51, 'text': '<message><body>Hello
>> 43</body>\u000a        <tags></tags></message>', 'source':
'web',
>> 'when': 1220488269056, 'conversation': 0, 'author': 1, 'replyto': 0,
>> 'viagroup': 0}
>> , {'$lift_class': 'message', 'id': 50, 'text': '<message><body>Hello
>> 2</body>\u000a        <tags></tags></message>', 'source':
'web',
>> 'when': 1220488216783, 'conversation': 0, 'author': 1, 'replyto': 0,
>> 'viagroup': 0}];
>>
>>
>> esme_display_user_timeline();
>>
>> We need code that's going to translate the JSON objects to displayable
>> things.  Who's up for writing such code?
>>
>> Thanks,
>>
>> David
>>
>>
>> --
>> Lift, the simply functional web framework http://liftweb.net <
>> http://liftweb.net/>
>> Collaborative Task Management http://much4.us <http://much4.us/>
>> Follow me: http://twitter.com/dpp
>> Git some: http://github.com/dpp
>>
>>
>>
>>
>>
>
> --~--~---------~--~----~------------~-------~--~----~
> You received this message because you are subscribed to the Google Groups
> "esme-dev" group.
> To post to this group, send email to esme-dev@googlegroups.com
> To unsubscribe from this group, send email to
> esme-dev+unsubscribe@googlegroups.com<esme-dev%2Bunsubscribe@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/esme-dev?hl=en
> -~----------~----~----~----~------~----~------~--~---
>
>


-- 
Lift, the simply functional web framework http://liftweb.net
Collaborative Task Management http://much4.us
Follow me: http://twitter.com/dpp
Git some: http://github.com/dpp

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message