# |
Sep 22nd 2011, 01:42 |
markstory |
requesthandler does it in startup() |
# |
Sep 22nd 2011, 01:42 |
friskd |
Ok. |
# |
Sep 22nd 2011, 01:42 |
markstory |
beforeFilter or a component. |
# |
Sep 22nd 2011, 01:42 |
markstory |
one more if things go smoothly |
# |
Sep 22nd 2011, 01:42 |
markstory |
friskd: its in the 2nd rc |
# |
Sep 22nd 2011, 01:41 |
friskd |
app controller beforeFilter? |
# |
Sep 22nd 2011, 01:41 |
friskd |
or where is a good place to to intercept a PUT request and read it. |
# |
Sep 22nd 2011, 01:41 |
friskd |
how far along are we til 2.0? |
# |
Sep 22nd 2011, 01:41 |
friskd |
;( |
# |
Sep 22nd 2011, 01:40 |
friskd |
Is 2.0 stable yet? checking website |
# |
Sep 22nd 2011, 01:40 |
markstory |
reading php://input is destructive so assuming is a bad thing to do. |
# |
Sep 22nd 2011, 01:39 |
markstory |
and has hooks to add your own decoders in. |
# |
Sep 22nd 2011, 01:39 |
friskd |
;( |
# |
Sep 22nd 2011, 01:39 |
markstory |
in 2.0 it does json |
# |
Sep 22nd 2011, 01:39 |
friskd |
not json? |
# |
Sep 22nd 2011, 01:39 |
friskd |
markstory: but if the system is receiving a PUT shouldn't cake do that for me. so i can just access it at $this->params['form'] like it does for POST |
# |
Sep 22nd 2011, 01:39 |
markstory |
cake will read php://input if the request is xml. But otherwise it leaves it alone. |
# |
Sep 22nd 2011, 01:38 |
markstory |
you just have to pull it out of php://input |
# |
Sep 22nd 2011, 01:38 |
markstory |
friskd: it does. |
# |
Sep 22nd 2011, 01:38 |
friskd |
Why does Cake not properly handle PUT data? |
# |
Sep 22nd 2011, 01:32 |
FSCV |
ok, thanks Predominant |
# |
Sep 22nd 2011, 01:32 |
Predominant |
Its often much simpler to win people over when they can see the result. |
# |
Sep 22nd 2011, 01:31 |
Predominant |
FSCV: In your own time, build an example in Zend and in Cake, demonstrating the benefits of Cake |
# |
Sep 22nd 2011, 01:31 |
friskd |
or at least the icing... The cake is the best part. |
# |
Sep 22nd 2011, 01:31 |
cpgo |
throw cake in his face |
# |
Sep 22nd 2011, 01:29 |
FSCV |
what to do when a boss insists on using Zend and not give Cake a chance? |
# |
Sep 22nd 2011, 01:26 |
friskd |
andx='a'andy='b' |
# |
Sep 22nd 2011, 01:25 |
friskd |
I am only able to do a PUT and pass all the data i want in the url as query string paramaters. |
# |
Sep 22nd 2011, 01:25 |
friskd |
Should Cake be taking the body of PUT request and make it accessible via the $this->params variable? |
# |
Sep 22nd 2011, 01:13 |
mdunham918_ |
np |
# |
Sep 22nd 2011, 01:12 |
Brazilian |
have to run now, byee |
# |
Sep 22nd 2011, 01:12 |
Brazilian |
cpgo, tks again man |
# |
Sep 22nd 2011, 01:12 |
Brazilian |
tks a lot |
# |
Sep 22nd 2011, 01:12 |
Brazilian |
mdunham918_, very nice man |
# |
Sep 22nd 2011, 00:56 |
mdunham918_ |
you can make it match against any field that one is set to confirm_password: 'rule' => array('matchesValidation', 'confirm_password'), the second field there is the field that it gets checked against |
# |
Sep 22nd 2011, 00:55 |
mdunham918_ |
easy as cake |
# |
Sep 22nd 2011, 00:55 |
mdunham918_ |
Brazilian: http://bin.cakephp.org/view/732262543 |
# |
Sep 22nd 2011, 00:52 |
Brazilian |
mdunham918_, don't forget to show me the view as well please |
# |
Sep 22nd 2011, 00:51 |
mdunham918_ |
!bin |
# |
Sep 22nd 2011, 00:51 |
Brazilian |
mdunham918_, I do man, please |
# |
Sep 22nd 2011, 00:51 |
mdunham918_ |
i got the code for a matches validation if you want it Brazilian |