Wordpress - teknoid.wordpress.com - zen of coding
General Information:
Latest News:
Easy CakePHP logging to FireBug with DebugKit and FirePHP 24 Aug 2013 | 01:48 am
CakePHP 2.x This is espeically useful when you are working with ajax or just in general you don’t want to dump the data to the screen, which is often hard to read. Using FireBug and FirePHP and Cake...
Object mockery and Cake 2 Jul 2013 | 12:09 am
A few times we already had gone over unit testing… and why it is a good thing to do. If you had been interested in this topic for a while, then I’m sure you’ve come across the concept of “Mock Object...
Improved cache and sessions storage with CakePHP and Redis 8 May 2013 | 02:40 am
CakePHP 2.3 + Redis 2.6.7 For the vast majority of applications out there the issue of cache and session store doesn’t really come into play until the application is large enough to where it needs to...
Intercepting “add to cart” action in Magento 8 Feb 2013 | 10:39 pm
(Nuts and bolts of Magento? Maybe…) Magento EE 1.11 Once in a while we’d like to intercept Magento’s “add to cart” event and do some fun things with that. Maybe apply a discount or add a specialty p...
IDE’s are a thing of the past, and ST is here to save the day 8 Oct 2012 | 09:37 am
I love sublime text. I’ve been an IDE user for years. NetBeans, Eclipse, Komodo, phpStorm, phpED, Aptana… I’m sure a few others. I’ve given them all a fair amount of trial over many years. It seems ...
Million dollar site in CakePHP … 3 Aug 2012 | 10:29 pm
Is that possible? Yes, and it has been done. But… — CakePHP is slow. I’ve seen bench-marks on “Hello world” and cake falls behind other frameworks. — What’s your caching strategy? — [crickets] … Cache...
CakePHP + MongoDB, Next Steps 24 Jul 2012 | 03:15 am
CakePHP 2.2 / MongoDB 2.0.4 Let’s continue building on top of what we’ve done previously. I’d say that the main consideration when it comes to building out your MongoDB is the choice between embeddi...
CakePHP + MongoDB Introduction 19 Jul 2012 | 03:40 am
CakePHP 2.2/MongoDB 2.0.4 We all know that CakePHP is awesome, and I’m sure you’ve heard that MongoDB is pretty awesome as well. So how do we make these awesome technologies play well together? In ...
Building “the blog tutorial”… the TDD way (part 2 – controller testing) 7 Jul 2012 | 08:19 pm
CakePHP 2.2 We have prepped our app with enough testing, to be ready to move on to write out the rest of the code… There was a good reason why we have started our TDD with the model layer. By encaps...
Building “the blog tutorial”… the TDD way (part 1 – model testing) 4 Jul 2012 | 11:35 pm
CakePHP 2.2 I personally consider Test Driven Development (TDD) as a “must do”, rather than a “nice to have”. Unfortunately as developers we often suffer from tight deadlines, tons of requirements an...