public
Description: Cake is a Codeigniter mAKE
Homepage: http://www.caironoleto.com/cake
Clone URL: git://github.com/caironoleto/cake.git
cake / README.mkdn
cbdde55b » caironoleto 2008-11-05 add README 1 # cake
2
3 [cake][cake_url] is a generator to [CodeIgniter Framework][ci_url].
4
5cb4a3b4 » caironoleto 2008-11-11 add messages and add more i... 5 You can use to generate your controllers and models. When you create controllers, *cake* will create views and add routes to your controller.
6
7 By default, you can see your routes in `system/application/config/routes.php`.
8
9 By default, you can see your views in `system/application/views/`.
10
a3703f07 » caironoleto 2008-11-06 add msgs and edit readme 11 ## How to install?
12
13 git clone git://github.com/caironoleto/cake.git /home/yourUser/.cake
14 sudo ln /home/yourUser/.cake/bin/cake /usr/bin/cake
15 sudo ln /home/yourUser/.cake/bin/Generate.php /usr/bin/Generate.php
16
17 ## Usage:
18
19 cd /home/yourUser/codeIgniterPath/
20 cake [mode] [name] [method1] [method2] [method3]
21
22 ## Modes available:
23
c636b683 » caironoleto 2008-11-06 fix links and Modes available 24 * controller
25
26 * model
a3703f07 » caironoleto 2008-11-06 add msgs and edit readme 27
28 ## Example:
29
30 cairo@lt:~/myProject$ cake controller home
31 cake by Cairo Noleto - http://www.caironoleto.com/
32
33 system/ exists
34 system/application/ exists
35 system/application/controllers/ exists
5cb4a3b4 » caironoleto 2008-11-11 add messages and add more i... 36 Add route to HomeController
a3703f07 » caironoleto 2008-11-06 add msgs and edit readme 37 Create system/application/controllers/HomeController.php
38
39 cairo@lt:~/myProject$ cake controller home index
40 cake by Cairo Noleto - http://www.caironoleto.com/
41
42 system/ exists
43 system/application/ exists
44 system/application/controllers/ exists
5cb4a3b4 » caironoleto 2008-11-11 add messages and add more i... 45 Add route to HomeController
a3703f07 » caironoleto 2008-11-06 add msgs and edit readme 46 Add index in HomeController
47 system/application/views/ exists
394e2d79 » Cairo Noleto 2009-01-06 alter README 48 system/application/views/home/ exists
49 Create system/application/views/home/index.php
a3703f07 » caironoleto 2008-11-06 add msgs and edit readme 50 Create system/application/controllers/HomeController.php
51
52 cairo@lt:~/myProject$ cake model user
53 cake by Cairo Noleto - http://www.caironoleto.com/
54
053b545f » caironoleto 2008-11-06 fix again 55 system/ exists
56 system/application/ exists
57 system/application/models/ exists
58 Create system/application/models/User.php
a3703f07 » caironoleto 2008-11-06 add msgs and edit readme 59
60 cairo@lt:~/myProject$ cake model user find_all
61 cake by Cairo Noleto - http://www.caironoleto.com/
62
63 system/ exists
64 system/application/ exists
65 system/application/models/ exists
66 Add find_all in User
67 Create system/application/models/User.php
68
69 ## License:
70
71 cake is released under [Creative Commons Attribution 3.0 Unported][license_url].
72
73 ## Author:
74
75 ### **Cairo Noleto**
76
77 Working at [Add4 Comunicação][add4_url]
78
79 Blog: [Cairo'sBlog][blog_url]
80
81 Twitter: [@caironoleto][twitter_url]
82
83 [twitter_url]: http://www.twitter.com/caironoleto
c636b683 » caironoleto 2008-11-06 fix links and Modes available 84 [blog_url]: http://www.caironoleto.com/
85 [add4_url]: http://www.add4.com.br/
a3703f07 » caironoleto 2008-11-06 add msgs and edit readme 86 [license_url]: http://creativecommons.org/licenses/by/3.0/
cbdde55b » caironoleto 2008-11-05 add README 87 [cake_url]: http://www.caironoleto.com/cake/
88 [ci_url]: http://www.codeigniter.com/