Re: How to config ajax to work

2011-07-14 Thread taqman filler
OK I try this

2011/7/14 Phang Mulianto :
> Cake use with ajax is simplify your code writing..
>
> you just spit it up with $html->ajax(url, response, anything)
>
> You don't need to write the ajax command all the way...to many typing for
> doing ajax manually.. and if you need to learn it, just use php code
> alone..don't make things complicated...
>
>
> On Thu, Jul 14, 2011 at 7:29 PM, taqman filler  wrote:
>>
>> in code I use variable to receive  data from ajax file correct or not
>> I made a mistake here
>>
>> 2011/7/14 Jens Dittrich 
>> >
>> > The concept is easy. Create a request Object fill it with data and send
>> > it to the server, then wait. Maybe you get an answer maybe you won't. Write
>> > handlers for all possible outcomes like success, failure, server messages
>> > and no answer at all and handle the eventually received information.
>> > If you want to see what is going on then use Firebug for Firefox or
>> > Chrome developer tools in chrome. There is also some tooling available in
>> > IE9.
>> > However, the concept of AJAX has nothing to do with CakePHP, it is
>> > always the same.
>> >
>> > --
>> > Our newest site for the community: CakePHP Video Tutorials
>> > http://tv.cakephp.org
>> > Check out the new CakePHP Questions site http://ask.cakephp.org and help
>> > others with their CakePHP related questions.
>> >
>> >
>> > 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
>>
>> --
>> Our newest site for the community: CakePHP Video Tutorials
>> http://tv.cakephp.org
>> Check out the new CakePHP Questions site http://ask.cakephp.org and help
>> others with their CakePHP related questions.
>>
>>
>> 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
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> 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
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


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


Re: How to config ajax to work

2011-07-14 Thread Phang Mulianto
Cake use with ajax is simplify your code writing..

you just spit it up with $html->ajax(url, response, anything)

You don't need to write the ajax command all the way...to many typing for
doing ajax manually.. and if you need to learn it, just use php code
alone..don't make things complicated...


On Thu, Jul 14, 2011 at 7:29 PM, taqman filler  wrote:

> in code I use variable to receive  data from ajax file correct or not
> I made a mistake here
>
> 2011/7/14 Jens Dittrich 
> >
> > The concept is easy. Create a request Object fill it with data and send
> it to the server, then wait. Maybe you get an answer maybe you won't. Write
> handlers for all possible outcomes like success, failure, server messages
> and no answer at all and handle the eventually received information.
> > If you want to see what is going on then use Firebug for Firefox or
> Chrome developer tools in chrome. There is also some tooling available in
> IE9.
> > However, the concept of AJAX has nothing to do with CakePHP, it is always
> the same.
> >
> > --
> > Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> > Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
> >
> >
> > 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
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> 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
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


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


Re: How to config ajax to work

2011-07-14 Thread taqman filler
in code I use variable to receive  data from ajax file correct or not
I made a mistake here

2011/7/14 Jens Dittrich 
>
> The concept is easy. Create a request Object fill it with data and send it to 
> the server, then wait. Maybe you get an answer maybe you won't. Write 
> handlers for all possible outcomes like success, failure, server messages and 
> no answer at all and handle the eventually received information.
> If you want to see what is going on then use Firebug for Firefox or Chrome 
> developer tools in chrome. There is also some tooling available in IE9.
> However, the concept of AJAX has nothing to do with CakePHP, it is always the 
> same.
>
> --
> Our newest site for the community: CakePHP Video Tutorials 
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help 
> others with their CakePHP related questions.
>
>
> 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

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


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


Re: How to config ajax to work

2011-07-14 Thread Jens Dittrich
The concept is easy. Create a request Object fill it with data and send it 
to the server, then wait. Maybe you get an answer maybe you won't. Write 
handlers for all possible outcomes like success, failure, server messages 
and no answer at all and handle the eventually received information.
If you want to see what is going on then use Firebug for Firefox or Chrome 
developer tools in chrome. There is also some tooling available in IE9.
However, the concept of AJAX has nothing to do with CakePHP, it is always 
the same.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


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


Re: How to config ajax to work

2011-07-14 Thread taqman filler
I try to understand  concept of ajax before use helper or libraly
if use it when got problem or modified  it's can't be done

2011/7/14 Jens Dittrich 

> Why are you trying to reinvent the wheel? Is there any real reason for you
> to write AJAX code yourself? Why are you not using reliable and tested
> libraries like jQuery or Mootools in the first place?
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> 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
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


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


Re: How to config ajax to work

2011-07-14 Thread taqman filler
I try to understand  concept of ajax before use helper or libraly
if use it when got problem or modified helper it's can't be done

2011/7/14 Jens Dittrich 

> Why are you trying to reinvent the wheel? Is there any real reason for you
> to write AJAX code yourself? Why are you not using reliable and tested
> libraries like jQuery or Mootools in the first place?
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> 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
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


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


Re: How to config ajax to work

2011-07-14 Thread Jens Dittrich
Why are you trying to reinvent the wheel? Is there any real reason for you 
to write AJAX code yourself? Why are you not using reliable and tested 
libraries like jQuery or Mootools in the first place?

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


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


How to config ajax to work

2011-07-13 Thread taqman filler
I try to use tooltip but got problem this 
I do not know where the problem comes from
this code http://bin.cakephp.org/view/1377568168

thank

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


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