Re: Help Understanding Fat Models

2012-01-30 Thread Chooch Schubert
Thank you Jeremy. This is a great, concise description and the example code helps a lot to see the difference. {c} On Mon, Jan 30, 2012 at 4:52 PM, jeremyharris wrote: > The best advice is to keep things DRY (Don't Repeat Yourself). Generally, > this results in thin controllers (small control

Re: how to confiure myproject with cakephp 1.3 on shaing host

2012-01-30 Thread Chooch Schubert
I'm pretty sure that is an .htaccess file issue. See the Cake Documentation at this link: http://book.cakephp.org/2.0/en/installation/advanced-installation.html#apache-and-mod-rewrite-and-htaccess Specifically, the last paragraph related to shared hosts. {c} On Mon, Jan 30, 2012 at 3:38 PM, ah

Re: how to confiure myproject with cakephp 1.3 on shaing host

2012-01-30 Thread Chooch Schubert
Your project files should be in the root of public_html. So move everything out of the "tet" folder down one level, then delete it. public_html should look like this: public_html/ app lib plugins vendors index.php Also, check with your webhost that the .htaccess files will be

Help Understanding Fat Models

2012-01-30 Thread Chooch Schubert
I see the oft-repeated phrase "Keep your controllers thin and models fat", but I'm having a problem wrapping my head around it. Most of the tutorials and examples I see have just about all of the code in the controllers, and the models have little more than associations. So.. what exactly does a f

Re: Record-level permissions with ACL in CakePHP 2.0

2012-01-26 Thread Chooch Schubert
Perhaps the actual *link* would help! Sorry about that: http://www.ibm.com/developerworks/opensource/tutorials/os-php-cake1/index.html {c} On Thu, Jan 26, 2012 at 4:47 PM, Chooch Schubert wrote: > This tutorial from IBM may help you. It is listed as current for Cake > 1.3.4 and th

Re: Record-level permissions with ACL in CakePHP 2.0

2012-01-26 Thread Chooch Schubert
This tutorial from IBM may help you. It is listed as current for Cake 1.3.4 and they are working to update it for 2.0. Even given the differences, it might give you some code examples that you can manipulate to get what you want. {c} On Wed, Jan 25, 2012 at 5:18 PM, Brian wrote: > I'm working

Re: Problem with Paginate (Cake 2.0.5)

2012-01-13 Thread Chooch Schubert
ic $helpers = array('Html', 'Form', 'Paginator'); > > The paginator will load that for you automatically. > > > Andras Kende > http://www.kende.com > > On Jan 12, 2012, at 6:10 PM, Chooch Schubert wrote: > > > I have followed the 2.0 book t

Problem with Paginate (Cake 2.0.5)

2012-01-12 Thread Chooch Schubert
I have followed the 2.0 book to add pagination to a controller/view. I get the paginate controls and they are rendering correctly (they *think* I'm doing things like next page and sort when I click on the links since they change their counts and links) however the data returned isn't paginated. I