# |
Aug 6th 2008, 16:06 |
TommyO |
by that I mean real, live, useable apps |
# |
Aug 6th 2008, 16:06 |
cozby |
production? |
# |
Aug 6th 2008, 16:05 |
TommyO |
Rails gets more press than production imho. Cake has a pretty solid following |
# |
Aug 6th 2008, 16:05 |
Swiatecki |
it will come? |
# |
Aug 6th 2008, 16:04 |
cozby |
seriously this framework is nutters, I'm surprised the dev community hasn't jumped on it... (too busy with Rails I guess) |
# |
Aug 6th 2008, 16:03 |
cozby |
TommyO: cool, yeah the new find syntax IS sweet |
# |
Aug 6th 2008, 16:03 |
TommyO |
cozby: check the manual, because I haven't used the magic methods in years - I love the new syntax of find() so I just always use that |
# |
Aug 6th 2008, 16:03 |
cozby |
don't know if its possible to control the return amount from a findby |
# |
Aug 6th 2008, 16:02 |
cozby |
er I guess not |
# |
Aug 6th 2008, 16:02 |
cozby |
TommyO: so can I toss in a $recursive param to minimize my results? |
# |
Aug 6th 2008, 16:02 |
cozby |
TommyO: ah cool |
# |
Aug 6th 2008, 16:02 |
TommyO |
cozby: and can be used by any field: findAllByFirstName() etc... |
# |
Aug 6th 2008, 16:01 |
Swiatecki |
hmm.. ive gotta learn to bake :p |
# |
Aug 6th 2008, 16:01 |
TommyO |
cozby: it's a Magic Method, in the manual it's simply called: findAllBy |
# |
Aug 6th 2008, 16:01 |
cozby |
can't find it in the manual but I use it |
# |
Aug 6th 2008, 16:01 |
TommyO |
creating all of your dirs and your basic pieces: AppController, AppModel, PagesController etc... |
# |
Aug 6th 2008, 16:00 |
TommyO |
Tom_M_: Swiatecki: bake will generate a skeleton app for you too |
# |
Aug 6th 2008, 15:59 |
Swiatecki |
Tom_M_: hmm okay |
# |
Aug 6th 2008, 15:59 |
cozby |
is findAllByUserId deprecated? |
# |
Aug 6th 2008, 15:57 |
Tom_M_ |
you create folders and files under your /app folder manually. i do it that way, slower .. but i also copy and paste from old projects since most my projects are similar it works out to be faster for me i think (than bake) |
# |
Aug 6th 2008, 15:56 |
Swiatecki |
Tom_M_ ^^ |
# |
Aug 6th 2008, 15:55 |
Swiatecki |
how would you do if you want to create a new project, you just want the files, but wil du the coding your self |
# |
Aug 6th 2008, 15:55 |
Swiatecki |
ofc |
# |
Aug 6th 2008, 15:54 |
bjn |
Question (looked in the manual, sorry if I missed it): Does CakePHP require any particular PHP extensions to be compiled/enabled? |
# |
Aug 6th 2008, 15:54 |
Tom_M_ |
provided that they follow cake's naming conventions of course |
# |
Aug 6th 2008, 15:54 |
Tom_M_ |
yea |
# |
Aug 6th 2008, 15:54 |
Swiatecki |
so i create a couple of tables and run the wizzard? |
# |
Aug 6th 2008, 15:53 |
Tom_M_ |
yea the bake script allows you to go through a console based wizard that asks a series of questions based on what it discovers in your database. it then makes some assumptions and depending on your db architecture, creates all the add/edit/delete/view pages and forms you'd need to get started |
# |
Aug 6th 2008, 15:52 |
Swiatecki |
Tom_M_: have i understood this correctly: you can somehow(bake?) create a copy of the std. cake dir for a new project? |
# |
Aug 6th 2008, 15:48 |
Raphael |
thanks in advance |
# |
Aug 6th 2008, 15:48 |
Raphael |
I'll look at tomorrow in the morning |
# |
Aug 6th 2008, 15:47 |
Raphael |
If you find the answer, please let it here |
# |
Aug 6th 2008, 15:46 |
olof |
ACL question here. When I insert an ARO that contains a . (for example cake acl create aro 'my.name@example.com') everything before the first period is treated as the modelname. How can I escape the periods? I tried \. which worked, but the \ was also written into the aro |
# |
Aug 6th 2008, 15:46 |
achew22 |
does anyone know where the datetime combo boxes gets combined into date format/ |
# |
Aug 6th 2008, 15:44 |
Tom_M_ |
sadly i dont use it as much as i should |
# |
Aug 6th 2008, 15:44 |
Tom_M_ |
bake is really good |
# |
Aug 6th 2008, 15:43 |
altos |
thanks for the help guys |
# |
Aug 6th 2008, 15:43 |
altos |
well i'm out for today |
# |
Aug 6th 2008, 15:42 |
Swiatecki |
k, hmm gotta look at that bake stuff :p |
# |
Aug 6th 2008, 15:41 |
TommyO |
Swiatecki: an entire app dir structure exists in cake/console/libs/templates/skel which is what bake uses for its source |
# |
Aug 6th 2008, 15:39 |
Tom_M_ |
k |