Skip to main content

Introduction

 ·      Introduct for Developers

   What you should learn before developing magento.
         
    Magento is a Zend Framework (v1) application. Learning ZF  will help you getting Magento quickly. Dedicate                                   some days to learn at http://framework.zend.com/
      
    Understand OOP  http://en.wikipedia.org/wiki/Object-oriented_programming  first . Once you are done, study   and understand Eventdriven programming  http://en.wikipedia.org/wiki/Event-driven_programming.
        
   Understand Model View Controller architectural pattern principles ( http://en.wikipedia.org/wiki/Model–view–          controller ), and RESPECT it when developing Magento.

   You might need some help during setup, follow the official  installation guide at http://www.magentocommerce.com/knowledge-base/entry/magento-installation-guide

• After the installation, you MUST understand EVERY SINGLE parameter under “system>configuration”. It’s the key to avoid developing again something that comes out-of-the-box. 
• Magento directory structure:
• “app” directory is your main focus
• “js” and “skin” will also be important developing frontend
• “media” will host all the catalog pictures
• “var” is where all the temporary content will be
• Don’t mess too much with the rest…


Create your own Namespace in “app/code/local” .  Every module you develop will be placed there.

Create also your own design package in “app/design/frontend”
Create new layouts and use them in any CMS page


·       XML Examples:


When referencing XML the ellipses, ..., are used to suggest that other, optional, or  pre-existing XML tags are present. Given the XML structure below:

<config>
<modules>
<Company_RewardPoints>
<version>0.1.0</version>
<depends>
<Mage_Customer />
<Mage_Checkout />
</depends>
</Company_RewardPoints>
</modules>
<global>
<resources>
<rewardpoints_setup>
<setup>
<module>Company_RewardPoints</module>
<class>Mage_Core_Model_Resource_Setup</class>
</setup>
<connection><use>core_setup</use></connection>
</resources>
</global>
</config>

The section enclosed in the rewardpoints_setup tag may be represented as this:

<config>...
<global>
...
<resources>
<rewardpoints_setup>
<setup>
<module>Company_RewardPoints</module>
<class>Mage_Core_Model_Resource_Setup</class>
</setup>
<connection><use>core_setup</use></connection>
</resources>
...
</global>
...
</config>













Comments

Popular posts from this blog

TOP PHP CMS

1. DynPage  2. DynPG   3. Havalite   4. Elxis  5. Kajona  6. Lemon CMS   7. LitePublisher  8. eliteCMS  9. Mac’s CMS  10. PHP-Fusion  11. phpWarmSky  12. PivotX  13. EmbryoCore  14. Pixie  15. Podcast Generator  16. Precurio  17. GuppY  18. Redaxscript  19. Primitive CMS  20. glFusion  21. ProcessWire  22. ecoCMS  23. Gekko Web Builder  24. Section CMS  25. Seagull  26. RhinOS  27. FuzzyLime  28. SilverStripe  29. SoftXMLCMS  30. Hippo CMS  31. Spitfire  32. Fundanemt   33. SyndeoCMS  34. Horizon QCMS  35. synType CMS  36. TangoCMS  37. Fruml Content Manager  38. The Pacer Edition CMS  39. Tiki Wiki CMS Groupware  40. Fork CMS  41. Hotaru CMS  42. TRIBiQ CMS  43. TrioEditor CMS  44. Exponent  45. TYPO3  46. html-edit CM...

Magento-Concept

1) Mcrypt : This is an interface to the mcrypt library, which supports a wide variety of block algorithms such as DES, TripleDES, Blowfish (default), 3-WAY, SAFER-SK64, SAFER-SK128, TWOFISH, TEA, RC2 and GOST in CBC, OFB, CFB and ECB cipher modes. Additionally, it supports RC6 and IDEA which are considered "non-free". CFB/OFB are 8bit by default. 2) Mhash : These functions are intended to work with » mhash. Mhash can be used to create checksums, message digests, message authentication codes, and more. This is an interface to the mhash library. Mhash supports a wide variety of hash algorithms such as MD5, SHA1, GOST, and many others. 3) Simplexml : The SimpleXML extension provides a very simple and easily usable toolset to convert XML to an object that can be processed with normal property selectors and array iterators. 4) DOM : The DOM extension allows you to op  erate on XML documents through the DOM API with PHP 5. 5) InnoDB storage engine : InnoDB is ...

What are the advantages and disadvantages of using zsh instead of bash (or other shells)?

Everything y ou kno w from bash  still  applies, but zsh does a bunch of other useful things.  I  know that I use only a small subset of them, but t hese are especially useful for me: Extended globbing: For example,  *(.)  matches only regular files, not directories, whereas  a*z(/)  matches directories whose names start with  a  and end with  z . There are a bunch of other things, such as  **  as described by  Ole Tange . Inline glob expansion: For example, type  rm *.pdf  and then hit tab. The glob  *.pdf  will expand inline into the list of .pdf files, which means you can change the result of the expansion, perhaps by removing from the command the name of one particular file you don’t want to  rm . Interactive path expansion: Type  cd /u/l/b  and hit tab. If there is only one existing path each of whose components start...