# |
Aug 7th 2008, 10:02 |
Eddie_CRO |
) |
# |
Aug 7th 2008, 10:02 |
nymacro |
quick question: if Auth component hashes the password automagically on save, why would it not be doing it for an edit action, when it does for a add |
# |
Aug 7th 2008, 10:02 |
Eddie_CRO |
'named' |
# |
Aug 7th 2008, 10:02 |
Eddie_CRO |
aaaaa |
# |
Aug 7th 2008, 10:02 |
Eddie_CRO |
i tried through $this->params['id'] but is not there |
# |
Aug 7th 2008, 10:01 |
Eddie_CRO |
how do i get that id 1? |
# |
Aug 7th 2008, 10:01 |
Eddie_CRO |
if i use url /search/id:1 |
# |
Aug 7th 2008, 10:01 |
Eddie_CRO |
a question |
# |
Aug 7th 2008, 10:01 |
Eddie_CRO |
now |
# |
Aug 7th 2008, 10:01 |
Eddie_CRO |
TommyO, i'm bit confused |
# |
Aug 7th 2008, 09:55 |
TommyO |
*meant |
# |
Aug 7th 2008, 09:55 |
TommyO |
yes, of COURSE that's what I menat! :) |
# |
Aug 7th 2008, 09:55 |
Pacifists |
;))) |
# |
Aug 7th 2008, 09:55 |
gwoo |
TommyO: thats the beauty of Cake :) |
# |
Aug 7th 2008, 09:54 |
Lemon|work |
yeah, if i add .pdf to ANY view in my app i get the .pdf version of that page |
# |
Aug 7th 2008, 09:54 |
TommyO |
that's the beauty of MVC |
# |
Aug 7th 2008, 09:54 |
TommyO |
Lemon|work: I have an app with 7 different extensions on a couple of actions and not a single special condition in the action |
# |
Aug 7th 2008, 09:53 |
Lemon|work |
i'm already doing that for fusioncharts |
# |
Aug 7th 2008, 09:53 |
TommyO |
Lemon|work: look into Router extensions. where different views/layouts are used based on extension with 0 code changes required to controller/action logic |
# |
Aug 7th 2008, 09:52 |
TommyO |
your views are whatever format you want. make them xml instead of html. cake even gives you the tools to know the difference and start the magic |
# |
Aug 7th 2008, 09:52 |
moelee |
how do you make the aro reflect the parent_id of a group? |
# |
Aug 7th 2008, 09:52 |
Lemon|work |
but in the future we will also create desktop clients that connect to the server |
# |
Aug 7th 2008, 09:52 |
TommyO |
yes, of course |
# |
Aug 7th 2008, 09:52 |
Lemon|work |
without modifying core code |
# |
Aug 7th 2008, 09:51 |
Lemon|work |
but would it be easy |
# |
Aug 7th 2008, 09:51 |
Lemon|work |
well its always possible |
# |
Aug 7th 2008, 09:51 |
TommyO |
Lemon|work: are you answering your own question? :) |
# |
Aug 7th 2008, 09:51 |
Lemon|work |
and i can get all view related stuff from my application remotely |
# |
Aug 7th 2008, 09:50 |
Lemon|work |
just do all the calls with .xml on the end |
# |
Aug 7th 2008, 09:50 |
Lemon|work |
lets say you want to create a java based desktop application for your web application |
# |
Aug 7th 2008, 09:50 |
Lemon|work |
Would it be possible to create "client side views" |
# |
Aug 7th 2008, 09:50 |
TommyO |
as long as you have the proper security features in place, that is :) |
# |
Aug 7th 2008, 09:50 |
moelee |
word |
# |
Aug 7th 2008, 09:49 |
Eddie_CRO |
but that is some predefined values (vars from post/get, ...). You are suggesting that i can use this var to do, for example, $params["my_param"] = 'my_value' and will work. yes? |
# |
Aug 7th 2008, 09:49 |
TommyO |
yeah. really flexible. and if you give the params names in a url it gives more clues to the user as to what the url means. allowing them to tweak a url to get what they want is imho a great usability feature |
# |
Aug 7th 2008, 09:49 |
stevieboy |
this might help some |
# |
Aug 7th 2008, 09:49 |
stevieboy |
http://debuggable.com/posts/new-router-goodies:480f4dd6-4d40-4405-908d-4cd7cbdd56cb |
# |
Aug 7th 2008, 09:48 |
moelee |
neat |
# |
Aug 7th 2008, 09:48 |
moelee |
ah k |
# |
Aug 7th 2008, 09:48 |
TommyO |
moelee: cake finds things in the url like param:value and puts them in a 'special place'. this allows for out-of-order param passing, and missing pieces, etc |
# |
Aug 7th 2008, 09:48 |
moelee |
ah |