
Progressively Enhanced Isomorphism with React
Notice: This post is outdated. The React community has settled on Redux as the main Flux implementation. That said, the idea of changing form output based on render target is still valid. A better solution would be to code the…

Introducing Proficionym
I tend to use little app ideas to try out various JS frameworks. This time, my sights were on React. I am also thinking of applying to a company that uses React to speed up their “legacy” Angular app. So,…

Useful Magento Template Methods
Magento is, in my opinion, the most powerful e-commerce platform available for PHP. The community edition is completely free, but that comes with a downside. The documentation and the forum are not very helpful. StackOverflow is definitely a great resource…

How To Flush W3 Total Cache Programmatically
When working with WordPress you will likely need to create custom post types and you will also probably be working with a caching plugin. The problem is that caching plugins typically only flush the cache when normal posts and pages…

Better Responsive Image Semantics
Responsive Images are a tough nut to crack. The W3C is currently considering several possible implementations. Until a standard is reached, people are using various client-side and server-side solutions. The Current Landscape Many client-side solutions end up downloading two copies…

New CSS border spec idea: Extra-border
The idea behind an “extra-border” css specification is to allow specific visual styles without requiring non-semantic markup or :before/:after hacks. I also think multiple extra-borders per element would be a good idea if possible. The layering of extra-borders could produce…

KnockoutJS and Progressive Enhancement for Select Form Fields
Some Background Info I’m working on a mobile hybrid app that uses knockoutJS for it’s forms. There is really no need to worry about progressive enhancement for a mobile app. At least less need. Then in another related project, I…

Xcode Unable to write to file Xcode/DerivedData/appname-blah
Admittedly I have taken a break from coding Objective-C for a little while to learn MOAI and Symfony in separate unrelated projects. Side note: Symfony2 makes PHP fun again. Anyway, I decided to get back to work on my sftp…

UIViewController Hierarchy Inconsistency After Updating To Xcode 4.5
I am working on an iOS app that will be ready soon. Unfortunately, after updating to Xcode from 4.4 to 4.5 I encountered an error, UIViewControllerHierarchyInconsistency. I am guessing it is more to do with changing to the iOS 6…

Mocking PDO(and other) Objects Inside Already Namespaced Classes
I’m back again addressing the issue of Mocking PDO and similar objects for unit-testing purposes. My previous post showed how to do so when testing a class that is not namespaced. It basically injected the class being tested into a…