Skip to main content

Posts

Showing posts from March 13, 2013

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 ...