…e. Ugly code. Complicated code. Spaghetti code. Gibberish nonsense. In two words, Legacy Code. This is a series that will help you work and deal with it. One of the key moments of refactoring a totally legacy code is when we start extracting small pieces from it and we start…
…e'll take a quick look at controllers from within Symfony 2. The easiest way to get started learning, is to just dive right in, see some code examples and I'll explain everything as we proceed. If you're ready to begin, you can press play on the video below:I hope this…
…ernationalization - something you constantly hear developers talking about but rarely actually see people using in practice - is getting a kick in the pants with the new ECMAScript Internationalization API. Currently supported in Chrome 24, Chrome for Android, Firefox 29, IE 11, and Opera 15 (sadly no Safari support),…
…et comprehensive, tutorial, we'll have a look at behavior driven development (BDD) with phpspec. Mostly, it will be an introduction to the phpspec tool, but as we go, we'll touch on different BDD concepts. BDD is a hot topic these days and phpspec has gained a lot of attention in the PHP community…
…e that your application is tested, you are able to reduce the amount of bugs you find in your code, increase the maintainability of your application, and design well structured code. Client side unit testing presents different challenges than server side testing. When dealing with client side code, you will find yourself…
…Ensuring that end-users have as much information as possible, is the goal of most developers. Over the years, we've constantly evolved the way we help users understand events that occur, these include: Presenting a completely new page with bright red lettered messages Popping up JavaScript-based alert dialogs Adding inline error…
…e Polymer library, I explained how to take advantage of this great new tool to create reusable web components. The key point of the tutorial and of using components, is to help our development by: Encapsulating much of the complex code and structure Allowing developers to use a simple-to-use tag…
…eo, we'll build upon our existing knowledge of Symfony 2 to learn how to create reusable forms. We'll learn how to create a separate form class to house our form logic, build the form in a controller and then render it to the browser, from a template.In ConclusionNow there's lots…
…e will get you up and running with Firebase by building a simple chat room application by leveraging Firebase's Javascript API. This application will provide you with the building blocks to develop more advanced real-time applications on your own projects. Getting Started In order to get Firebase up and running,…
…e, the code also has to run somewhere. I am talking about your production servers. It is just as important to ensure that your production boxes are behaving themselves as it is to make sure that your application code is performant. You can set up systems like Nagios to help you…