Blog

  1. Composition over inheritance in Magento 2

    PHP programming community has evolved a lot since Magento’s first release in 2008. I think that Magento 2 came just in time to catch up with the ongoing programming trends. Magento 1 way One of the common Magento 1 principles that was used in the core, as well as in most of the extensions was […]

  2. Magento 2 hidden dependency refactoring

    Magento 2 is quite a large project as it covers a very broad problem domain. The whole Magento 1 -> Magento 2 switch is a very challenging process so we have to give recognition to Magento 2 development team and their efforts to put everything together. As you probably know, Magento has different modules, some […]

  3. Annotations in Magento 2 integration tests

    I really like automated tests in Magento 2. They make everyone’s life easier and greatly contribute to overall product quality. Integration tests are an important part of Magento 2’s testing suite. Integration testing So far integration tests seem very interesting to me and I think that they make a lot of sense in Magento 2. […]

  4. Modern Javascript and CSS frameworks are ruining the Web

    The idea of the Semantic Web has been present since 2001. Back at 2006, Tim Berners Lee, widely recognized as the inventor of the World Wide Web came publicly with an initiative that was supposed to make the web a better place. The goal was to form a web of data which would contain elements […]

  5. SOLIDay 2015 review

    For me this was one of the most expected conferences in 2015. If you just look at the impressive speakers lineup you’ll see that I am right. The aim of this conference was to familiarize the attendees with some of the modern coding design principles. The event was organized by people from PHP Serbia user […]

  6. Magento 2: A simple product feed

    With Magento 2 Merchant Beta release date getting closer, I decided to dedicate some time to explore the current Magento 2 application that is on Github. Now that I had the chance to actually work with Magento 2 I have to say that it is actually a huge step forward from Magento 1 in my […]

  7. OroCRM – Creating a simple CRUD (part 2)

    In the first part we covered module creation and index action of our CRUD module. That action was used to show all the records. In this article we will build the functionality that will allow us to update and delete existing records and create new ones. Form class For create and update action we will […]

  8. OroCRM – Creating a simple CRUD (part 1)

    Some time ago I heard about a project called OroCRM. The fact that one of the original Magento creators Yoav Kutner is involved and that it’s based on very popular Symfony2 framework made me follow it’s progress. Since I didn’t have much spare time at that period I was unable to dive deeper into OroCRM. […]

  9. PHP T-Day 2014 Review

    After visiting conferences in Zurich and Manchester I was very glad to find out that one great event called PHP T-Day will take place in my hometown Belgrade in Serbia. The event was organized by local PHP community called PHP Serbia. Although I am one of the founders of that organization I must admit I […]

  10. Mage Titans 2014 Review

    I have just been to my first Magento conference a week ago and another great conference took place just a few days after, this time in Manchester. As there have already been some reviews I will try to focus on interesting points of each talk in this review. The speaker lineup for this event was […]

  11. Meet Magento Switzerland 2014 Review

    I have only been to a few conferences outside of Serbia and those were PHP conferences. Since I have been mostly working with Magento for the last three years, I wanted to give a Magento specific conference a try. The flight to Zurich from Belgrade lasts only one hour and forty minutes so I picked […]

  12. How to use Magento models

    Last time I wrote an article about using Magento helpers. Some of you liked it so I thought it would make sense to write another one, this time about models. The aim is to put some general overview of Magento models and a few thoughts on how to use them. MVC As we all know, […]

  13. How to use Magento helpers

    Whoever worked with Magento probably noticed Magento helpers. Helper is a common element of every module and can be used for different purposes. I will give my thoughts on how Magento helpers should be used and hopefully start a community discussion regarding this topic. So the first thing that’s important when mentioning helpers in Magento […]

  14. Google Code Jam Practice Alien Numbers solved in PHP

    Recently I stumbled upon google code jam practice page, so I wanted to solve some of those challenges using PHP. The one that seemed easy enough to start with was Alien Numbers. Here is the original problem. It’s basically converting numbers from one numeral system to another. Any numeral system can be reproduced in this […]

  15. Flights, airplanes and Google Maps

    Not long ago I was working on an interesting project for a jet charter services company. Part of this project was creating a flight tracker. Flight tracker is a term for a feature where you can enter a code for some flight and see all sorts of info about that flight, such as current velocity, […]

  16. Clearing Magento Model instance

    As we all know, it’s always better to use collections in Magento than to instantiate model inside a loop. Database hit is one of the most expensive operations you can do. You should always try to make one query in order to get the collection and then loop through it’s elements instead of loading and […]

  17. Magento category image widget

    Widgets can be thought of as small applications embedded on a web page. I think this definition could also apply to Magento widget which is a small piece of server side and/or client side code that can be added to a CMS page or a static block. There are many predefined widgets in Magento for […]

  18. Welcome to my blog

    Hi and welcome to my blog :) Ever since I got started with web development I wanted to have my own blog that would be focused on programming. Many times I have been in a situation where I was stuck at some point with project I was working on and usually I could find a […]