Thursday, January 28, 2010

Re: How to implement Comet in CakePHP ?

For Comet, I just found a new project that aims to implement Comet for
you:
http://www.ape-project.org/home.html

Other than looking at the main page of the project, I haven't done
anything with it. Learn at your own risk. ;)

On Jan 4, 12:00 am, td-nathan <tyler.digi...@gmail.com> wrote:
> I also need to implement a chat room system, are there any good
> tutorials for integrating these Jabber systems with CakePHP?  Ideally
> something that covers the server-side installation and then how to
> build an accessible front-end for users using CakePHP or an existing
> plugin?
>
> On Jan 2, 11:26 am, Pablo Viojo <pvi...@gmail.com> wrote:
>
> > ForgetComet. Take a look at Jabber (A very good serverhttp://www.igniterealtime.org/projects/openfire/) and JsJachttp://blog.jwchat.org/jsjac/ifyou 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 implementcometchat 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
> > > functioncomet(){
> > > //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.organdhelp 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+unsubscribe@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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: