Categories


Recent Posts


Archives


PHP Traits

It's another quick primer this time. Today we're going to talk about a PHP 5.4+ feature called traits. While Laravel doesn't make heavy use of traits they are sprinkled around the core codebase, so you'll want to get familiar with them.

astorm

Laravel Facade Troubleshooting

Last time we described the PHP patterns used to implement Laravel's facade feature, and started to describe some of the "gotchas" involved. We briefly discussed how a facade introduces a second type of singleton/shared service into the system, as well as the inherent problem

astorm

Laravel Objects

Laravel is already a well documented system. The quick-start guide guide has all the information a developer needs to start building applications with Laravel. What's less well documented, and more interesting to me, is documentation of Laravel's implementation. The PHP community has a pretty

astorm

Anti-SQL Bias

Anti-SQL Bias Developers coming into Magento are often put off by seemingly voodoo rituals like “Don’t directly manipulate the database tables with SQL”. This may be a ritual, but it’s a smart one, and my answer to this questions tells you why. It also includes an example SQL query for fetching all the product [...]

astorm

tim-reynolds/magento-qconfig

tim-reynolds/magento-qconfig When I started using Magento the System Configuration section made me feel a little dumb — so many options, but no easy way to search for things. I’d always forget where a particular option was. After a few months of using grep and ack to search though the system.xml files and work backwards to figure [...]

astorm
email hidden; JavaScript is required