Sunday, March 28, 2010

Re: Undefined index

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.

No comments: