Category Programming

How important is PHP Type Hinting to Magento? (Quick Note)

I did not have time for a real post this week on Magento 2, so I thought I would replace it with a community question. I am personally interested in Magento community opinions as a litmus test to work out trends of Magento versus more general PHP community. Reading http://www.matthias-zeis.com/archiv/magento-neuigkeiten-32 there was a comment that […]

Performance versus Scalability (Quick Note)

A frequent source of confusion I come across is the difference between performance and scalability. They are related, but not the same thing. Performance is speed – for example, how fast does a web page come up for a user in a web browser. Scalability is about how much load you can throw at a site […]

“PHP Namespaces as flawed” NOT! (Quick Note)

@VinaiKopp tweeted about an old post “PHP namespaces are flawed” by @pornelski. I don’t agree with many of the points, Vinai asked why, too long for a tweet response so here is a quick blog post instead. I will start off saying a lot of the following is formed from my experiences from Java, but […]

Magento 2 Test Automation – is it Helping? YES!

Magento 2 is more than a revamped platform – automating testing has also been a significant investment. But is it paying off? Is test automation worth the effort? YES! Here is the data to prove it. Disclaimer: opinions expressed here are my own and not necessarily that of my employer. Please also note the data […]

Performance Analysis with Z-ray in Zend Server 7

Zend Server 7 was released last week which includes Z-ray, a performance analysis tool. (Think X-ray vision.) I have done my fair share of performance analysis over the years in C/C++ and Java, so was curious to see how good the tools around are for PHP. So here are my experiences after a few days of […]

SOAP versus REST (opinion piece)

SOAP versus REST. Which is better? The politically correct answer of course, as always, “it depends”. But that is not what I think – REST is best. On the surface, SOAP has benefits such as it can have a lot more complex data structure submitted as a request compared to REST. REST normally has a […]

What is “Good” API Design

What makes a good API design? I don’t think there is a single answer to this – there are different approaches that work better in different circumstances. Here are a few examples. Which is better – a broad or narrow API? One approach is to have a broad API – one where there are lots […]