Re: DerEuroMark - Ajax and CakePHP Tutorial Question

2014-03-23 Thread GBokiau
My bad, was using 2.2.x, not 2.4 On Sunday, March 23, 2014 3:56:18 PM UTC+1, GBokiau wrote: > > Great article indeed. > > Am particularly interested in the exception handling part : > > But in general try to stick to exception based error handling. That would >> return a response with an error co

Re: DerEuroMark - Ajax and CakePHP Tutorial Question

2014-03-23 Thread GBokiau
Great article indeed. Am particularly interested in the exception handling part : But in general try to stick to exception based error handling. That would > return a response with an error code of 4xx or 5xx usually (depending on > the type of exception) and the following JSON object: > > { >

RE: DerEuroMark - Ajax and CakePHP Tutorial Question

2014-02-06 Thread Advantage+
s.com [mailto:cake...@googlegroups.com ] On Behalf Of euromark Sent: Thursday, February 06, 2014 9:08 AM To: cake...@googlegroups.com Subject: Re: DerEuroMark - Ajax and CakePHP Tutorial Question No that is totally what one would expect when browsing the json file. The thing is that this nev

Re: DerEuroMark - Ajax and CakePHP Tutorial Question

2014-02-06 Thread euromark
return redirect to index > regular HTML request > > } > > } > > } > > > > Does not seem very friendly, is this the correct way? If not what would be? > > > > Thanks again. > > > > Dave &g

RE: DerEuroMark - Ajax and CakePHP Tutorial Question

2014-02-06 Thread Advantage+
? Thanks again. Dave From: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On Behalf Of euromark Sent: Thursday, February 06, 2014 9:08 AM To: cake-php@googlegroups.com Subject: Re: DerEuroMark - Ajax and CakePHP Tutorial Question No that is totally what one would e

Re: DerEuroMark - Ajax and CakePHP Tutorial Question

2014-02-06 Thread euromark
ything on your part…..I said > the post was excellent and well done. > This is just what I came across in the process. > > > > > > *From:* cake...@googlegroups.com [mailto: > cake...@googlegroups.com ] *On Behalf Of *euromark > *Sent:* Thursday, February 06, 2014 6:52

RE: DerEuroMark - Ajax and CakePHP Tutorial Question

2014-02-06 Thread Advantage+
egroups.com] On Behalf Of euromark Sent: Thursday, February 06, 2014 6:52 AM To: cake-php@googlegroups.com Subject: Re: DerEuroMark - Ajax and CakePHP Tutorial Question Sounds like you didnt read the whole post. You probably skipped the "Last tips" part at the end - or it would be wo

Re: DerEuroMark - Ajax and CakePHP Tutorial Question

2014-02-06 Thread euromark
ax'* was not found on this > server. > > > > Thanks again, > > Dave > -- > > Author: dereuromark | github.com/dereuromark/cakephp-sandbox | > Contact<http://sandbox.dereuromark.de/contact> > > > > > > *From:* cake...@goo

RE: DerEuroMark - Ajax and CakePHP Tutorial Question

2014-02-05 Thread Advantage+
k.de/contact> From: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On Behalf Of euromark Sent: Wednesday, February 05, 2014 1:43 PM To: cake-php@googlegroups.com Subject: Re: DerEuroMark - Ajax and CakePHP Tutorial Question there is no need to remove it - but of course you ca

Re: DerEuroMark - Ajax and CakePHP Tutorial Question

2014-02-05 Thread euromark
there is no need to remove it - but of course you can. it is good practice (that is outlined in the post if you read it) to always call the url with the correct extension of what you are expecting. rss => .rss xml => .xml ... and so for an ajax requestion with a json response it would be .json I