Using the TextHelper with CakePHP
Published on Jan 24, 2011
Really, the TextHelper? Yes, this is probably one of the most overlooked helpers in CakePHP. Sure we all know about the HTML Helper, Form Helper, JS Helper, etc... but how many of us use the Text Helper? I've seen so many custom functions for truncating text and adding an ellipsis (...) to the end of it. How about replacing email addresses with links? Etc... No more I say! Let's begin explorining the Text Helper now.
Importance of using the CakePHP Helpers
Published on Mar 20, 2009
Uggghh, I hate to even be writing about this! I have been spending the past two days cleaning up a project that has been running for over one year. It was our first ever CakePHP project at our company and we were too lazy to be consistent about using $html->link() when creating our links.
Just recently the client has requested a change for their Facebook application. We simply need to add a "requirelogin" HTML attribute to every link.