In my quest to follow the DRY principle I've been looking into refactoring my views. If you use Bake to generate default views you'll have 'add' and 'edit' views. These both share the same form inputs and if you start playing around with error messages you'll have to do it on both forms.
Would this warrant the use of Elements?
Or would an element be overkill for this?
What are others doing?
Cheers,
Sonic
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---
- Refactoring Views Sonic Baker
- Re: Refactoring Views Matt Adams
- Re: Refactoring Views Sonic Baker
- Re: Refactoring Views Matt Adams
- RE: Refactoring Views Christian Winther
- Re: Refactoring Views Grant Cox
- Re: Refactoring Views [EMAIL PROTECTED]
- Re: Refactoring Views Sonic Baker
- Re: Refactoring Views Matt Adams
