Adding my 2 cents:
1. start with the blog toturial; USING THE SAME CAKE VERSION that is
used in it
2. read the manual (manual.cakephp.org), its more of a quickguide in
any case
2.b Make sure you understand the concept, if not the implementation of
model associations. Model associations is DA BOMB!
3. Bake a small project where you let the script create the
view,controller and model files. This help med an AWFUL lot in
understanding how to do it
(4.) Dont use print_r as people above suggest, pass your values to the
views with the $this->set("varname",$value); method and echo it out
with debug($varname); Cake comes with an excellent fast use and styled
debugging method :) One of the first you can try is debug($this-
>data); To see what values are passed to and from forms.
On Jan 22, 11:29 am, RichardAtHome <[EMAIL PROTECTED]> wrote:
> The best advice I could give you under the circumstances you mentioned
> (time constraints), is to not use Cake (initially).
>
> Get the project out using whatever methods you usually employ.
>
> Once its out and you have some breathing space, you could use it as a
> learning project and re-write it using the Cake framework.
>
> Cake's learning curve is (initially) quite steep and you will have
> enough to worry about hitting your deadlines without having to learn a
> whole framework.
>
> Use Cake for your next project :-)
>
> On Jan 22, 10:18 am, Oxygen <[EMAIL PROTECTED]> wrote:
>
> > Wow, I wasn't expecting this many replies!
>
> > Thanks guys!
>
> > To give you a little more background, I've just changed from Java
> > Swing development to PHP. The first thing I had to do in PHP was set
> > up Eclipse and get proper debugging working (I'm planning to look at
> > Komodo and the rest soon). Stepping through code watching variables
> > change, including SQL queries get constructed, was extremely useful.
>
> > The problem is that I'm doing this professionally, and under serious
> > time constraints. If I were at home I'd be playing around to my
> > heart's content with whatever I fancied doing, in this case I need to
> > get something done for a customer in a couple of weeks.
>
> > Thanks again,
> > Ben
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---