Archive by Author

PDO for Elegant PHP Database Access

Speaking very broadly, every computer application is basically a data manipulation tool. The application accepts data from the outside world, performs some transformation on it and then pushes some different data right back out. The data inserted into an application can come from a peripheral device (for example, a keyboard or mouse), another system (via […]

Dependency Management with Composer

What you’ll learn How to manage dependencies on third-party vendor libraries using Composer Loading, namespacing and autoloading dependency managed code using Composer’s built-in PSR-0 autoloader Publishing your own libraries via Packagist What is Dependency Management? Web applications rarely contain code exclusively developed by a single person or a single team. It’s more likely that an […]

Securing your web application with Symfony

Introduction As a web developer, securing your web applications is one of the most important and complex tasks you’ll regularly undertake. You may need to use some security mechanism to make sure the visitor has valid credentials (authentication) within the domain of your application. You may additionally need to check to make sure that the […]

Models made easy with the Doctrine ORM

Most web applications like to persist things, and as a web developer, you’re going to be spending a good portion of your development time pulling things in and out of databases. If you’ve worked on more than a couple of projects, you know how quickly interfacing with your database becomes a bore. Especially if you’re […]

Creating Forms with Symfony

As a web developer, forms will either be your favourite thing or the bane of your existence (and sometimes both). But the reality of the situation is that in order to get data from users into your application, you’re probably going to be using a lot of forms. Symfony, being the smart framework that it […]

Symfony Does Validation

Since the beginning of computing the single most error-prone and unreliable component of the system has been something that isn’t really part of the system at all. Talk to anyone who’s worked in tech support and they’ll tell you the most common problem when troubleshooting computer malfunctions: operator error. Humans are fallible, especially so when […]