I know there are much better approaches than comet, but how about
comet in cakePHP?
I am correct so far with above pseudo-code (or algorithm)??

On Jan 3, 4:26 am, Pablo Viojo <pvi...@gmail.com> wrote:
> Forget Comet. Take a look at Jabber (A very good 
> serverhttp://www.igniterealtime.org/projects/openfire/) and 
> JsJachttp://blog.jwchat.org/jsjac/if you want to write a robust chat system. 
> (It
> will save a lot of time)
>
> Regards,
>
> Pablo Viojo
> pvi...@gmail.comhttp://pviojo.net
>
> ¿Que necesitas?http://needish.com
>
>
>
> On Sat, Jan 2, 2010 at 3:36 PM, nacho4d <nach...@gmail.com> wrote:
> > Hey.. Its been a while.
>
> > As I said before I want to implement comet chat system in cakePHP,
> > (there was a plug-in around there, but it does not seems to work fine
> > anymore. not for 1.2)
>
> > So, I have my controller: cometchats_controller.php
> > and my action
> > function comet(){
> > //get database data and pass it to the view
> > //do some other stuff...
> > }
> > the view will be rendered and the message data will be put in a div
> > like this <div id="content"></div>
> > So, let me know If I am in the correct way.
>
> > I could use afterFilter() callback to run a loop to check the database
> > for new message (since it is a chat system)
> > In case there is a new message stop the loop, and render the view
> > again like this:
>
> > this->render('cometchats/comet/', 'ajax);
>
> > but I want to render only the data inside the "content" div, so I have
> > to assign a div.
> > How do I do this?
> > Am I right so far?
>
> > On Dec 18 2009, 11:59 pm, nacho4d <nach...@gmail.com> wrote:
> > > I have been search this (cometin cakephp) for some time, but I
> > > couldn't find anything really helpful
> > > I would appreciate your help. ;)
>
> > > On Dec 17, 5:22 pm, cherif_Gsoul <cherif.sahel...@gmail.com> wrote:
>
> > > > hi, you have to learn more about cakephp is not so hard to learn
> > > > ajax's implementation in  cakephp who is made to work with the
> > > > prototype framework and ther's a helper for jquery developed by the
> > > > community i think, i saw one day a plugin for tchat somewhere do some
> > > > google researchs i am sur you will get it. i do some research if i
> > > > find something i ll post it here ok?
> > > >  tciao.
>
> > Check out the new CakePHP Questions sitehttp://cakeqs.organd help others
> > with their CakePHP related questions.
>
> > You received this message because you are subscribed to the Google Groups
> > "CakePHP" group.
> > To post to this group, send email to cake-php@googlegroups.com
> > To unsubscribe from this group, send email to
> > cake-php+unsubscr...@googlegroups.com<cake-php%2bunsubscr...@googlegroups.c 
> > om>For more options, visit this group at
> >http://groups.google.com/group/cake-php?hl=en

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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

Reply via email to