Ed Zynda

Coder | Hacker | Superhero

Test The Untestable With AspectMock

Posted on · Tagged in

Some of us have had the pleasure of working with someone else’s ancient codebase to either add new features or fix bugs. It’s never fun and usually a pain. Because of the design (or lack thereof) of the application, it doesn’t lend itself to unit testing. The code is littered with static method calls, objects instantiated inside methods rather than being injected through a constructor, and other elements of poor design.…

Read more »

New Book: Aspect-Oriented Programming in PHP

Posted on · Tagged in

I’ve been looking for a way to challenge myself as well as showcase some of my knowledge to the world. After some thinking, I’ve decided that I would go ahead and write a book. I’ve been reading a lot about aspect-oriented programming and really like what it provides to enhance object-oriented programming. There isn’t a lot of information about this in the PHP community so I figured a book would be a great way to drum up some more interest and help create a larger community around the subject of AOP.…

Read more »

Aspect Oriented PHP Using Go! AOP Framework

Posted on · Tagged in

In my last article we took a look at using aspect oriented programming (AOP) in PHP by installing the excellent AOP PECL extension for PHP. This is great if you have admin access to the servers you run your code on. It’s very common though, for people to run their code on shared hosting. These types of providers don’t usually provide a way for you to install any extra PHP extensions besides the common extensions they provide.…

Read more »

What Is A Microframework? Getting Started With Silex

Posted on · Tagged in

There is no shortage of coding frameworks these days. I can’t scroll through my twitter and facebook feeds or my favorite dev forums without stumbling upon something new. Like a hungry barracuda, I’m instantly attracted to new shiny things. While browsing reddit.com/r/php I came across a mention of a microframework called Silex. Now you may be wondering what a microframework is. I was wondering the same thing, so I took a look at the project’s website to figure out for myself.…

Read more »

Getting Started With Laravel 4 and Vagrant

Posted on · Tagged in

I’ve worked with a handful of different PHP frameworks over the years. From ZEND Framework to Codeigniter, all have their pros and cons. Some of them are more difficult to work with than others. None of them, however, have been more enjoyable for me to work with than Laravel. I came across Laravel while randomly browsing the web. I don’t even remember what I was looking for but after reading more about Laravel and how simple it was to setup, I was hooked.…

Read more »
Subscribe to my newsletter and get a free copy of my book, Aspect Oriented Programming in PHP.