# |
Sep 22nd 2011, 01:52 |
friskd |
moving forward. |
# |
Sep 22nd 2011, 01:52 |
markstory |
friskd: that would work :) |
# |
Sep 22nd 2011, 01:51 |
markstory |
and doing a smaller no BC changes release for 2.1 |
# |
Sep 22nd 2011, 01:51 |
friskd |
markstory: Simple Hack in beforeFilter: if($this->RequestHandler->isPut()){ parse_str(file_get_contents("php://input"),$putData); $this->params['form'] = $putData; } |
# |
Sep 22nd 2011, 01:51 |
markstory |
but we're focusing on finishing 2.0 first |
# |
Sep 22nd 2011, 01:51 |
markstory |
mdunham918_: There have been talks of the next big release being 5.3 and updating models. |
# |
Sep 22nd 2011, 01:51 |
mdunham918_ |
!date |
# |
Sep 22nd 2011, 01:51 |
mdunham918_ |
!dating |
# |
Sep 22nd 2011, 01:50 |
mdunham918_ |
i could build one in 60 minutes :P |
# |
Sep 22nd 2011, 01:49 |
Styles |
What's that dating site somebody made in like 60 hours with cake? |
# |
Sep 22nd 2011, 01:49 |
mdunham918_ |
baby steps :) |
# |
Sep 22nd 2011, 01:49 |
mdunham918_ |
this is a great transition into 5.3 with cake2 |
# |
Sep 22nd 2011, 01:49 |
mdunham918_ |
namespaces |
# |
Sep 22nd 2011, 01:49 |
mdunham918_ |
any plans for a 3.0 laid out anywhere any rumors of 5.3? |
# |
Sep 22nd 2011, 01:48 |
markstory |
) |
# |
Sep 22nd 2011, 01:48 |
mdunham918_ |
markstory: kudos cake2 rocks |
# |
Sep 22nd 2011, 01:44 |
friskd |
Thanks very much Mark. |
# |
Sep 22nd 2011, 01:44 |
friskd |
Ok. Cool. |
# |
Sep 22nd 2011, 01:43 |
markstory |
in 2.0 you can configure it. |
# |
Sep 22nd 2011, 01:43 |
friskd |
Ill do the beforeFilter option. at least for starts. |
# |
Sep 22nd 2011, 01:43 |
markstory |
but in 1.3 it only does xml |
# |
Sep 22nd 2011, 01:43 |
markstory |
in both. |
# |
Sep 22nd 2011, 01:43 |
friskd |
in 2.0? |
# |
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 |