Croogo Excerpts
As of Croogo 1.3.1 beta, the default behavior for paginated views (promoted, search, etc.) was to show the entire article. I wasn't too fond of this so I edited my templates. For example, under mytheme/nodes/promoted.ctp the body text reads something like:
echo $layout->nodeInfo();
echo $layout->nodeBody();
echo $layout->nodeMoreInfo();
So I changed it to:
echo $layout->nodeInfo();
echo $layout...
Testing Quirks
In my travels across the desert plains that are unit tests, I've discovered a few quirks I thought I'd share here.
Equal !== Identical
The above is obivous, but because my testing knowledge started with the CakePHP docs and the included tests that came with the software, I wrote most of my tests using assertEqual and thought it would be sufficient. I pulled some data, sorted it, and asserted ...
Testing controllers the (slightly less) hard way
UPDATE: This post uses an old version of the class to demonstrate. The principles are the same, though. I've hosted the project on Codaset for all to fork or whatever. It's also wrapped in a nice little plugin. I removed some of the more proprietary things (mocking ACL, configuring Auth, etc.) Get to it here: http://www.42pixels.com/downloads/cakephp-extended-test-case-plugin
I've just rece...
Starting out
My experience with Croogo has been very pleasant so far. I'm still learning my way around the code-side of things. That is, creating templates, plugins, etc. It looks incredibly promising.
I decided to put the blog up before actually completing a template. I have a lot of ideas and information to share that I've developed over the last year. A lot has been lost, unfortunately, so I'm going to ...
Hello World
The quintessential first post! I'm planning on actually updating this blog with relevant posts and articles about CakePHP and programming in general.
Two things I would like to say: I submitted my first (of hopefully many) modification to the CakePHP core. Don't be surprised if you find me unnecessarily giddy when it gets applied. Secondly, I have purchased my ticket to CakeFest which, I expec...

