-
Translations and internationalization in PHP projects with Zend\I18n
24 January 2015 —
Comments Any medium and large project has to deal at some point with the problem of translating the application itself to other languages. There are many tools and standards to do this, but one of my favourite components is Zend\I18n. Everybody who knows me is aware that I love Zend Framework, but unfortunat…
-
File uploads with Zend Framework 2 and jQuery
29 November 2014 —
Comments We are all very used to file uploads in plenty of web applications. From simple image uploads to a social network to multiple file uploads to file management applications like Dropbox. On this article I'm going to explain how to handle asynchronous multifile uploads from a jQuery powered front-end t…
-
Setting up a PHP development environment with Vagrant
10 November 2014 —
Comments Setting up a development environment is not always easy, specially for web development. Sometimes you need to install and configure plenty of applications. A database server, a web server, server-side programming language binaries, mail server, job queue server, specific package managers, building t…
-
Advanced usage of ServiceManager in Zend Framework 2
09 October 2014 —
Comments After a time working with Zend Framework 2 one is used to use the ServiceManager, which is one of the most powerful components in the framework. It eases the creation of objects and performing dependency injection, allowing us to define how objects are created just in one place and letting the Servi…
-
Unit testing Zend Framework 2 modules
21 September 2014 —
Comments One of the first articles I wrote in this blog was an introduction to unit testing PHP applications. You can find it here in case you need to know the first steps and the theory. On this article I'm going to explain how to get a Zend Framework 2 module tested. It is indeed very similar to test any P…