On Wed, Jul 29, 2009 at 11:59 AM, Xavi Ramirez <xavi....@gmail.com> wrote:

>
> Hello,
>
> I don't quite understand what a more REST orientated approach.  Do you
> mean purely client-side comet actor interface?  I personally would
> love to write javascript like this:
>
> lift.comet.MyActor.listeners.add(myListener);
> lift.comet.MyActor.send(myJSObj);
>
> I've been emulating this type of interface by wrapping this.jsonCall
> (where this refers to a comet actor instance) with javascript
> function.  Unfortunately, I had to jump through a number of hoops to
> get this method to work correctly.


Nice interface... can you open a ticket for it at
http://github.com/dpp/liftweb/issues


>
>
> Thanks,
> Xavi
>
> On Sun, Jul 26, 2009 at 12:05 PM, Timothy
> Perrett<timo...@getintheloop.eu> wrote:
> >
> > Hey folks,
> >
> > As you may or may not know, i'm currently working on integrating lift
> > with objective-j... One of the things i'm keen to integrate is lifts
> > comet support. The current implementation of CometActor is pretty much
> > based around javascript and manipulating the DOM. This is great for
> > the vast majority of use cases however its not so great when you want
> > a a more REST orientated approach.
> >
> > Id like to have a comet option that could mean i could push data back
> > down the wire, but with dispatchPF, not with <lift:comet....>.
> >
> > What are peoples thoughts? I took a look at this but its so deep
> > inside the lift internals its a bit deep for me to delve without more
> > information on how i could go about implementing this.
> >
> > Thoughts?
> >
> > Cheers, Tim
> > >
> >
>
> >
>


-- 
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Git some: http://github.com/dpp

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to