best practices on Form Reuse - keeping all forms in a central location with validation |
[eluser]Randy Casburn[/eluser]
Ok guys - I'm playing catch up, and I'm not being an ass. But someone must tell me why all the overhead of ME is required to do something so blastedly simple as that represented in this post: http://ellislab.com/forums/viewreply/434669/ ME is powerful and does great stuff. But in this case if you decompose what you have done, all that is left when the salt is boiled away is a lot of fancy Objectivity that looks cool, sounds great, makes us feel like we're landing on Mars and all it does is what is represented in a single, simple static function call. Why not call it in a simple one line function call with no overhead at all. This goes back to this post. http://ellislab.com/forums/viewreply/434309/ with the code modified and moved over per the above post. Look at this objectively and you'll see it. If you don't believe me, run the code and it will demonstrate it. I can use the same definition over and over where ever I need it. Not everything has to be so convoluted. In fact, most things need to be simple! But hey...IMHO. Make this more challenging so you can defeat my argument. Randy |
Welcome Guest, Not a member yet? Register Sign In |