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
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:
>
> {
>
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
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
?
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
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
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
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
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
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
10 matches
Mail list logo