Sunday, March 28, 2010

Re: Undefined index

I endorse what Paul says. I, too, had built up my own library of code, but it got so complex (and probably not very good!) and I always seemed to be building and improving the library each time I faced a new challenge rather than developing my apps. This slowed down my delivery rate, and led me to go hunting for a better solution. I looked at CodeIgniter, Zend, WaveMaker and a few others, but decided that Cake was as good as any. It seemed to offer good community support (which has proved true and been borne fruit), is in constant development/improvement and is fully rounded (you can do most things with it). One thing that helped me enormously was to stop fighting it, admit I only know how to use a fraction of it and ask for help. In 97.4% of all cases it is me making making a basic error, not the fault of Cake. Once you jump on board and go with the flow, it really pays dividends. I have also found that straying too far off the path and trying to do my own thing is bad - sticking to conventions is good in so many ways.

Jeremy Burns
jeremyburns@me.com


On 28 Mar 2010, at 09:15, WebbedIT wrote:

> Can you explain why you believe Cake/Auth is removing Username and
> Password? Can you boil this down to a very simple code example where
> a non ajax form submits all fields and your ajax form submits all
> fields minus the username and password?
>
> I have designed many sites with Cake and never had such issues
> including using jQuery/AJAX to validate a form field by field
> including username and password (although you can't use the field
> password as Cake automatically hashes it - but that's no biggy).
>
> As for your argument that for an experienced developer who is very
> confident with PHP, MySQL, Flex etc, maybe using a framework is not
> the best option for you if you already have your own library of
> code ... it's a personal choice.
>
> For me who had taught myself PHP and a lot of bad habits CakePHP has
> been a steep learning curve that was well worth it. My coding now
> follows the MVC design pattern and is so much more efficient and
> maintainable. Other developers could instantly step into my shoes and
> support/develop my code.
>
> Don;t know if anyone can answer which of the many benefits cake
> offer's would suit you, you must have started looking at frameworks
> for a reason so your best placed to know if a framework has made your
> life any better. Personally if I were you I would stick with it till
> you become more familiar with all of the features as I am yet to see
> one person in the community come out and say I have given Cake a good
> go and I'm going back to my own PHP and there are a lot of developers
> in the community.
>
> Those who do slate Cake tend to be favouring another framework from
> what I have seen.
>
> Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
>
> You received this message because you are subscribed to the Google Groups "CakePHP" group.
> To post to this group, send email to cake-php@googlegroups.com
> 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?hl=en
>
> To unsubscribe from this group, send email to cake-php+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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?hl=en

To unsubscribe from this group, send email to cake-php+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.

No comments: