Skip to main content

Posts

Step By Step Guide To Install Memcache On Linux

This post is more like a note to me, so that in future I can look up for steps involved in installing  memcache  on Linux servers like Centos or RHEL. Those of you who  follow me on twitter , will know that me and my friends spends hours trying to install memcache on one of our web server. Normally this is a five minute job, but unfortunately for us those tricks did not work out. So if you have tried YUM and APT-GET and still could not install the memcache then read on, to find the alternate( read manual, without magic ) way of doing it. When we talk about Memcache their two things that needs to be installed Memcache Daemon  know as memcached, and Memcache client  for your programing language, in this case PHP. Installing Memcache Daemon Note these steps has been taken from http://in2.php.net/manual/en/memcache.installation.php Steps to install Libevent(memcached dependency) First we need to check if libevent is installed or not? type...

PrestaShop vs Magento which is better for e-commerce

The most widespread shopping platform. There is no need to say anything more. You all know this shopping cart. It’s Magento!  One of the most user-friendly and easy to operate shopping carts. It’s  PrestaShop ! So, let’s get ready to rumble!!! Who is where It is an open source and free to download shopping cart. Magento community is extremely big and includes around 375 000 of people. More than 100 000 of Internet shops are based on Magento. The platform is available in 60 languages and this number continues to grow! Incredibly, but it seems that at the moment Magento is one of the best options and it definitely wins the first round. Don’t forget that PrestaShop is also an open source platform. And it is available in more than 40 languages. At the moment more than 50 000 of Web stores are using this platform. This number is constantly growing from year to year with amazing speed. And what is even more important all users agree that PrestaShop has far more user-fri...

How to: Dealer Locator extension for Magento

In this article I will try to explain how to build a “Dealer Locator” extension for Magento. This article is all about extension concepts, structure and planing and not the code itself. First we will start with scoping the feature. What functionality should it have? In our example, let’s imagine a client that wants a dealer locator to have “Search by nearest dealer based on ZIP/Postcode”, “Search by State”, “Search by dealer company name”. Search results should be displayed primarily on Google Map, plus it would be nice to have a table listing for those disliking the map visual style. If we extend this a bit further, we soon come to realisation that “dealers” themselves should be a customers in our Magento system. Justification for this lies in a fact that dealers should be able to do a regular purchases on our Magento store like any other customer just with special prices applied to products. Since customer in Magento has to have a customer g...

Magento primary things

Q 1. What is Magento? Ans. Magento is a feature-rich eCommerce platform built on open-source technology that provides online merchants with unprecedented flexibility and control over the look, content and functionality of their eCommerce store. Magentos intuitive administration interface features powerful marketing, search engine optimization and catalog-management tools to give merchants the power to create sites that are tailored to their unique business needs. Designed to be completely scalable and backed by Variens support network, Magento offers companies the ultimate eCommerce solution. Q 2. What is the difference between Mage::getSingletone() andMage::getModel() in Magento Ans. Mage::getSingletone() always finds for an existing object if not then create that a newobject but Mage::getModel() always creates a new object. Q 3. Why Magento use EAV database model ? Ans. In EAV database model, data are stored in different smaller tables rather than storing in asingle table.product nam...

Major GIT commands with examples

Here you will find a list with the major commands, their short descriptions and exemplary usage. For a detailed description of all the GIT commands please visit  http://www.kernel.org/pub/software/scm/git/docs/ Major GIT commands: git config Sets configuration values for your user name, email, gpg key, preferred diff algorithm, file formats and more. Example:  git config --global user.name "My Name"                  git config --global user.email "user@domain.com" cat ~/.gitconfig [user]     name = My Name     email = user@domain.com git init Initializes a git repository – creates the initial ‘.git’ directory in a new or in an existing project. Example:  cd /home/user/my_new_git_folder/ git init git clone Makes a Git repository copy from a remote source. Also adds the original location as a remote so you can fetch from it again and push to it ...