Tutorials and Talks Getting Started with Assetic

There was a time when asset management meant little more than inserting a <link> tag or two and a couple of <script> tags into your HTML. Nowadays, though, that approach just won’t cut it. There’s performance, for one thing. Assets are a significant performance drain both in terms of file size and the number of HTTP requests – optimising both has become an essential part of the development process. This article looks at a PHP package called Assetic which helps manage, compile and optimise assets such as scripts, stylesheets and images.



There's No Such Thing as an Optional Dependency

Matthias Noback explains his opinion on optional dependencies, PHP packages specifically defined by a composer.json file.



How to Use New Relic With PHP & WordPress

This article looks at how to monitor a PHP application using New Relic. More specifically, setting up a basic WordPress installation and getting some performance data about it, in the New Relic dashboards.



Object-Oriented Programming in WordPress: Control Structures I

If you have been following along with the series thus far, you know they are taking a look at object-oriented programming specifically from the perspective of a beginner. This means approaching the topic not only for those who are looking at how to get started with the paradigm, but also looking at all of the various features of PHP that make up the language and that are ultimately used within the context of object-oriented programming. This article concentrates on control structures.



Create Login With Google Plus in Your Website With PHP

Learn how to allow users to login into your website using their gmail credentials. This article shows you how to create a Google Plus login for your website with PHP using OAuth2. Google offers many APIs like Google Maps, translate API, Analytics ApI etc. Today we will use the Google Plus API.



How to Use Constructor Injection In ZF2

Is it right to use setter injection? Or is it evil, to be avoided at all costs, for the explicitness of constructor injection? This post explores that and how to implement constructor injection in ZF2 controller classes.



Implementing Multi-Language Support

Setting up a multilingual site may be a good way to attract new customers to your business or gain more participants in your project. Translating a simple site with a few static pages probably won’t be complicated, but more complex PHP web applications may require a lot of work when launching multiple language support. This article presents different types of content that need to be taken under consideration when internationalising a site. Read on to get to know how to handle translating them into different languages.



Phar: Browser Caching for Static Files

Browsers are not able to cache static files delivered from PHP .phar archives, because Phar::webPhar() does not send out HTTP caching headers (Cache-Control, Expires).



Getting Started with PHP Underscore

If you’ve ever used the Backbone framework for JavaScript, you’ll already be familiar with Underscore. Indeed, it’s become incredibly useful for JavaScript developers in general. But did you know that it’s been ported to PHP? This article looks at Underscore, what it can do, and provides some examples of where it might be useful. There was a time when asset management meant little more than inserting a tag or two and a couple of tags into your HTML. Nowadays, though, that approach just won’t cut it. There’s performance, for one thing. Assets are a significant performance drain both in terms of file size and the number of HTTP requests – optimising both has become an essential part of the development process. This article looks at a PHP package called Assetic which helps manage, compile and optimise assets such as scripts, stylesheets and images.Matthias Noback explains his opinion on optional dependencies, PHP packages specifically defined by a composer.json file.This article looks at how to monitor a PHP application using New Relic. More specifically, setting up a basic WordPress installation and getting some performance data about it, in the New Relic dashboards.If you have been following along with the series thus far, you know they are taking a look at object-oriented programming specifically from the perspective of a beginner. This means approaching the topic not only for those who are looking at how to get started with the paradigm, but also looking at all of the various features of PHP that make up the language and that are ultimately used within the context of object-oriented programming. This article concentrates on control structures.Learn how to allow users to login into your website using their gmail credentials. This article shows you how to create a Google Plus login for your website with PHP using OAuth2. Google offers many APIs like Google Maps, translate API, Analytics ApI etc. Today we will use the Google Plus API.Is it right to use setter injection? Or is it evil, to be avoided at all costs, for the explicitness of constructor injection? This post explores that and how to implement constructor injection in ZF2 controller classes.Setting up a multilingual site may be a good way to attract new customers to your business or gain more participants in your project. Translating a simple site with a few static pages probably won’t be complicated, but more complex PHP web applications may require a lot of work when launching multiple language support. This article presents different types of content that need to be taken under consideration when internationalising a site. Read on to get to know how to handle translating them into different languages.Browsers are not able to cache static files delivered from PHP .phar archives, because Phar::webPhar() does not send out HTTP caching headers (Cache-Control, Expires).If you’ve ever used the Backbone framework for JavaScript, you’ll already be familiar with Underscore. Indeed, it’s become incredibly useful for JavaScript developers in general. But did you know that it’s been ported to PHP? This article looks at Underscore, what it can do, and provides some examples of where it might be useful.