Friday, January 25, 2013

Password Storage talk at PHP Benelux 13

Today, I'm doing a talk at PHP Benelux 13 on Password Storage and Attacking in PHP. Here are the slides for that talk, as well as the accompanying GitHub repo that I use throughout the talk. When the videos are posted, I'll make a followup post that links to it. Without rambling on further, click through for the links!

Wednesday, January 23, 2013

Mediators - Programming With Anthony

The Mediator Pattern is an extremely flexible and useful tool to help decouple your code and provide added flexibility in your applications. We'll explore the basic concept of a Mediator, some places you've used it and some things that you can do to improve upon the basic concept. Check out the video:

Friday, January 18, 2013

Promise for Clean Code

I first came across the concept of a Promise about 3 years ago. At the time I was working with jQuery and was rather put off by the concept. It wasn't that it wasn't useful, I just didn't understand it. Then, about a year ago the concept finally "clicked"... I refactored some existing applications and the reduction in code and simplicity of it all was breathtaking. But I never really appreciated the true power until I used them in PHP...

Wednesday, January 16, 2013

Iterators - Programming With Anthony

Today's Programming With Anthony video focuses on the concept of Iterators. We'll look at the abstraction that they represent, how they can be used and some of the benefits of using them. When used correctly, Iterators can lead to very efficient, flexible and clean code. Check out the video:

Wednesday, January 9, 2013

Dependency Injection - Programming With Anthony

This week, we're going to talk about the topic of Dependency Injection in Object oriented code (specifically PHP). You don't need a fancy container to do it, it's actually quite simple to do manually! Check out the video:

Monday, January 7, 2013

Don't Be Afraid To Be Silly

When was the last time you were silly? Well, more specifically, when was the last time that you wrote code that was downright silly? I'm not talking about writing code that's dirty, or hacking something together. I'm talking about writing code that you know before writing won't work, or is wrong or is just plain silly... I'm talking about the kind of code that you think that if you show other developers, they'll just sit back and go "Why the #@$% would you do that in the first place?"... Well, I do it quite often, and let me tell you why you should do it more as well!

Wednesday, January 2, 2013

JavaScript Closures - Programming With Anthony

In today's video, we're going to explore the concepts of closures in JavaScript and PHP. During this quick exploration, we'll talk a little bit about variable scope and the difference between scoping in JS and PHP. Check out the video: