# |
Sep 22nd 2011, 11:25 |
ujjain |
DidItAgain: It's definitely worth it to spend a week learning much about Cakephp when you have time, it helps writing productivity lots. |
# |
Sep 22nd 2011, 11:25 |
DidItAgain |
D: |
# |
Sep 22nd 2011, 11:25 |
DidItAgain |
now how do I solve the updating problem -.- |
# |
Sep 22nd 2011, 11:24 |
DidItAgain |
hmm ok will try reading up on it |
# |
Sep 22nd 2011, 11:24 |
rchavik |
hmm |
# |
Sep 22nd 2011, 11:24 |
fenix` |
but i wouldn't do scaffolding yet |
# |
Sep 22nd 2011, 11:24 |
fenix` |
make sure you say yes to CRUD methods and views |
# |
Sep 22nd 2011, 11:24 |
fenix` |
all you do is define your model validation, and tell it to make controllers and views |
# |
Sep 22nd 2011, 11:23 |
DidItAgain |
ok |
# |
Sep 22nd 2011, 11:23 |
fenix` |
DidItAgain: bake is the simplest way to get a working prototype |
# |
Sep 22nd 2011, 11:23 |
DidItAgain |
I just want to get this prototype working.. |
# |
Sep 22nd 2011, 11:23 |
DidItAgain |
no fenix.. I have a demo comin up on oct 4.. and I dont want to get into things I dont know yet... |
# |
Sep 22nd 2011, 11:23 |
dakota |
and I mean the edible type :) |
# |
Sep 22nd 2011, 11:22 |
fenix` |
DidItAgain: have you condidered using bake? |
# |
Sep 22nd 2011, 11:22 |
dakota |
woot, free cake :) |
# |
Sep 22nd 2011, 11:22 |
DidItAgain |
Now how do I go about making sure it updates the record and doesnt save again? |
# |
Sep 22nd 2011, 11:21 |
fenix` |
like if its just an id, i'll create a function like set<varname>($var) |
# |
Sep 22nd 2011, 11:21 |
ujjain |
I know :D |
# |
Sep 22nd 2011, 11:21 |
DidItAgain |
lol |
# |
Sep 22nd 2011, 11:21 |
DidItAgain |
Your name is an Indian city ujjain |
# |
Sep 22nd 2011, 11:21 |
ujjain |
Yeah, I got that. :P |
# |
Sep 22nd 2011, 11:21 |
DidItAgain |
4th largest city in India I mean |
# |
Sep 22nd 2011, 11:21 |
ujjain |
ah ok, pretty impressive. |
# |
Sep 22nd 2011, 11:21 |
DidItAgain |
It is the IT capital of India.. there are over 40,000 IT companies in Bangalore alone |
# |
Sep 22nd 2011, 11:20 |
dakota |
fenix`: ito transporting data |
# |
Sep 22nd 2011, 11:20 |
DidItAgain |
Yes ujjain.. Bangalore is the city Im currently in.. its the 4th largest city in Bangalore, and is somewhat comparable to New York |
# |
Sep 22nd 2011, 11:20 |
dakota |
fenix`: what do you mean? |
# |
Sep 22nd 2011, 11:19 |
fenix` |
to* |
# |
Sep 22nd 2011, 11:19 |
fenix` |
do automatically determine the correct configuration of apps on vms? |
# |
Sep 22nd 2011, 11:19 |
ujjain |
DidItAgain: I was reading "The Flat World" (I forgot name), but is Bangalore the IT capital of India? |
# |
Sep 22nd 2011, 11:19 |
DidItAgain |
im writing a server consolidator |
# |
Sep 22nd 2011, 11:18 |
ujjain |
Yeah, it's supposed to update, especially if you create forms with hidden id field etc. |
# |
Sep 22nd 2011, 11:18 |
DidItAgain |
whats that? |
# |
Sep 22nd 2011, 11:18 |
DidItAgain |
O_O |
# |
Sep 22nd 2011, 11:18 |
fenix` |
DidItAgain: you writing an asset register? |
# |
Sep 22nd 2011, 11:17 |
ujjain |
I have no idea, I am not that experienced with Cakephp yet. |
# |
Sep 22nd 2011, 11:17 |
DidItAgain |
the book says its supposed to update.. now Im confused |
# |
Sep 22nd 2011, 11:16 |
DidItAgain |
while its supposed to update an existing row with the id i passed it |
# |
Sep 22nd 2011, 11:16 |
DidItAgain |
it does ujjain |
# |
Sep 22nd 2011, 11:16 |
DidItAgain |
yes |
# |
Sep 22nd 2011, 11:15 |
ujjain |
DidItAgain: It creates a new entry in MySQL table with formdata with auto-incremeneted id? |