Posts

Upgrade Magento from 1.7 to 1.9

Image
Upgrading magento involves upgrading codebase, data migration, extensions & themes migration and your custom code . You can follow these steps to upgrade your magento installation from 1.7.x to 1.9.x. For this we have an approach to change directory names at last step to avoid any conflicts and make rollback strategy simple and quick. Assumptions Directory name for current 1.7 store used in this tutorial is store17, replace all occurrences of it with correct directory name. Steps to Upgrade First we need to disable compilation and cache for our current store: Disable Magento Compilation from System > Tools > Compilation > Disable Disable Magento Cache from System > Cache Management > Select All > Action: Disable > Submit Turn on Maintenance mode for live store, take database backup and Extract 1.9 files for installation Install 1.9 Install 1.9 in separate directory but keep the database configuration same. It means that when it is a

Setup Varnish 4 with Wordpress W3 Total Cache on CentOS 6

Image
Optimizing WordPress Site Optimizing wordpress site can become tricky, if yo do not maintain it properly. Before starting optimization you need to identify your tools and log current page speed statistics of targeted site. This is very important to analyze and present improvements later on. Following tools can be used to monitor Performance: 1. webpagetest.org 2. gtmetrix.com We will use webpagetest.org and save results for few targeted pages to be optimized. This is a right time when you save some results for future reference. Install and setup W3 Total Cache Install W3TC from it's plugin website. Its a powerful caching plugin for wordpress. A detailed guide to setup W3 Total Cache is available here . You can follow it or any other tutorial available online. Use APCu for Dedicated or VPS Server. Following resources can help you installing APCu. http://www.joomlaworks.net/blog/item/153-install-apc-apcu-on-a-whm-cpanel-server https://stackoverflow.com/a/31558558/189

PHP Frameworks

PHP Frameworks are the tools which helped developers focus on their task (i.e. business logic) more and less worried about structural behavior of the application. But for most of the developers it is difficult to choose one of the Frameworks available for the application, so as I have been in dilema when it comes to selection of a Framework. I have come across to Zend Framework (Older version) when I first got a chance to work on any PHP Framework. As they described it as [“use-at-will” design], we have used some of the components rather than whole framework, it is claimed to be the most popular used framework. My growing opinion was a bit different though, it really is a big Framework with lots of configuration required and very heavy for the application. Then I have gone through the YII framework but could not hold onto it, the key feature I endorse upon was ORM but I won't able to use it in professional application. I had to switch to the framework about which people arou