I have been following Angular development for a couple of years now. As Angular 2 is almost ready I figured I would give it a try. I was asked if I could develop a simple site for a class my girlfriend teaches and I figured that would be a low risk opportunity to try Angular 2.
One of my Magento clients ran into a bit of trouble with their current hosting provider. Stability was not up to what it was supposed to be, there were security issues that raised concern, and support was slow and indifferent at times. The client is a retailer that gets significant traffic spikes during shopping season and when doing promotions. The infrastructure of the current hoster was not flexible enough to deal with huge traffic spikes in an automated fashion.
We decided to switch to a different hosting company to improve the situation. We looked into a bunch of companies and ended up giving Rackspace Magento Hosting a go.
This post is a post-mortem of a failed attempt to switch our hosting provider.
I’m happy to announce PWX v1.0. After lots of testing and improvements the first stable version is out.
You can download v1.0 here.
The test install is now located at pwx.io
When debugging complex applications you sometimes need to find out where a method of an object instance has been defined. With several levels of inheritance this can sometimes become quite time consuming. This is where PHP’s Reflektion API comes in handy. This API allows you to reverse-engineer classes, functions & methods.
If see in your code that an object instance $foo calls a method bar and you want to know in which file bar is defined.
You could use get_class($foo) to find the name of the class, then find the class definition in your code and then go backwards through the classes the class inherited from, to find the method definition. Using the Reflektion API allows you to find the file in one step.
$rc = new ReflectionClass($foo); $method = $rc->getMethod('bar'); echo $method->getFileName();
Have a look at ReflectionMethod for more details.
Took over a project that had previously been outsourced to an Indian company.
<?php // Thanks for the review. I would like to request you to arrenge Rs.2000 more/pm. It would be great if you can do that. $_productCollection=$this->getLoadedProductCollection(); $_helper = $this->helper('catalog/output'); //print_r((string)$_productCollection->getSelect()); ?>