On Mon, Oct 3, 2011 at 11:14 AM, euromark <dereuromark@googlemail.com> wrote:
1) dont use spaces in the first place
your whole app should have tabs as indentation - spaces are a bad
practice
but if your company is not able to use the more appropriate
indentation you will need to customize all bake templates for your
need:
/vendors/shells/templates/
2) yes, sure
either use bake to do that or manually create it (in both cases make
sure you create the table for it first)
--
On 3 Okt., 16:58, "Yves S. Garret" <yoursurrogate...@gmail.com> wrote:
> I got a bunch of questions, so I figured that I'd just write one large
> e-mail.
>
> 1 - When I ran "cake bake all" and had the bakery do its thing, _all_ of my
> files had tabs as opposed to spaces. Our coding standard in my company is
> to use 4 spaces as opposed to tabs. How do I make it 4 spaces and not a tab
> by default?
>
> 2 - I probably skipped over something or misread it, but when I was going
> through the CakePHP tutorial and got to this spot:
>
> http://book.cakephp.org/view/1547/Acts-As-a-Requester
>
> I realized that I don't have a User model. Would I just make something
> quick like this?
>
> <?php
> class User extends AppModel {
> var $name = 'User';}
>
> ?>
>
> Kinda lost here :-) .
>
> I appreciate the help that you guys provide with me learning how to use
> CakePHP. I'm just wrapping my head around this thing while working on a
> deadline (long story).
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
No comments:
Post a Comment