Your SlideShare is downloading. ×
0
Magento
Magento
Magento
Magento
Magento
Magento
Magento
Magento
Magento
Magento
Magento
Magento
Magento
Magento
Magento
Magento
Magento
Magento
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Magento

787

Published on

Present by Thuy in CWI at eXo Platform SEA

Present by Thuy in CWI at eXo Platform SEA

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
787
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
18
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Magento - Know how what aneCommerce platform is to completeyour knowledge about web solutions Luu Thanh Thuy CWI Team
  • 2. Agenda - Introduction to Magento - Architect of Magento - Customize Magento + Developing themes + Developing extension www.exoplatform.com - Copyright 2012 eXo Platform 2
  • 3. Overview of Magento- Magento: the industry’s most popular platform with over 31% of the current marketshare www.exoplatform.com - Copyright 2012 eXo Platform 3
  • 4. Installing Magento CESystem requirementSupported Operating Systems: Linux server x86, x86-64Supported Web Servers: Apache 1.3.x or Apache 2.xPHP Compatibility: 5.2.13 and above with Safe mode offMySQL: 4.1.20 and above www.exoplatform.com - Copyright 2012 eXo Platform 4
  • 5. Introducing Magento Frontend Overview Finding the right products Promotional information Customer dashboard www.exoplatform.com - Copyright 2012 eXo Platform 5
  • 6. Introducing Magento backend• Understanding the scope : Magento CE E enables you to organize your operations into multiple websites, stores, and store views.• Supervising Web Store Activities• Managing Order• Managing Ratings and Reviews• Generating Reports• Setting Up Your Catalog www.exoplatform.com - Copyright 2012 eXo Platform 6
  • 7. Magento architecture MVC Base on Zend Framework Modules under app/code Design under app/design Varien Lib www.exoplatform.com - Copyright 2012 eXo Platform 7
  • 8. Magento architecture MVC Base on Zend Framework Modules under app/code Design under app/design Varien Lib www.exoplatform.com - Copyright 2012 eXo Platform 8
  • 9. Zend Framework and its role within Magento What is Zend Framework Its role and effect in Magento www.exoplatform.com - Copyright 2012 eXo Platform 9
  • 10. Core code separationThree folders under app/code- core is untouchable- community is for downloadable extensions from Magento Connect- local is for your own custom modules www.exoplatform.com - Copyright 2012 eXo Platform 10
  • 11. Modules and how they work within thesystem-Magento primarily works on a base of modules. All functionality is divided up into modules that make up the system overall.- Modules included with Magento• Mage_Admin• Mage_AdminNotification• Mage_Api• Mage_Backup• Mage_Bundle• Mage_Catalog……
  • 12. Create a Magento ExtensionSetting up the folder structure of a moduleSetting up the folder structure of a moduleour modules core folders will be placed in /app/code/local/HN/Bridalregistry/.The folder structure breaks down as follows:• Block/• controllers/• etc/• Model/ Mysql4/ Book/• sql/ bridalregistry_setup/ www.exoplatform.com - Copyright 2012 eXo Platform 12
  • 13. Create a Magento ExtensionConfiguring the moduleWell create the file /app/code/local/HN/Bridalregistry/etc/config.xml and fillit with the following:<config> <modules> <HN_Bridalregistry> <version>0.1.0</version> </HN_Bridalregistry> </modules><frontend> <routers> <bridalregistry> <use>standard</use> <args> <module>HN_Bridalregistry</module> <frontName>bridalregistry</frontName> </args> </bridalregistry> <checkout> <args> <modules> <HN_Bridalregistry before="Mage_Checkout">HN_Bridalregistry_Checkout</HN_Bridalregistry> </modules> www.exoplatform.com - Copyright 2012 eXo Platform 13
  • 14. Create a Magento Extension•Layout update•Translation•Router•Helper Model•Model www.exoplatform.com - Copyright 2012 eXo Platform 14
  • 15. Create a Magento ExtensionHow to rewrite the Magento feature•Rewrite Block•Rewrite Controller•Rewite Model www.exoplatform.com - Copyright 2012 eXo Platform 15
  • 16. Create a Magento Theme-The template system architectureThe template architecture is broken into three areas—two for development of thetheme and one for the containment of the assets:• /app/design/frontend/default/<template_name>/ layout/—For all the XML files declaring which module tied functions should be called to which template files template/—For all the templates processing the output that is passed from functions called from layout/ and structured into the final output to the user.• /skin/frontend/default/<template_name>/—For the containmentof all assets relating to our template, images, CSS, Flash, and JavaScript. www.exoplatform.com - Copyright 2012 eXo Platform 16
  • 17. Create a Magento ThemeStructural blocks and content blocksEach theme contains structural and content blocks. Structural blocks are the onesthat lay out the theme into sections. Lets take a look at a three-column layout.The following are the structural blocks in a three-column layout:• header• left• content• right• footer www.exoplatform.com - Copyright 2012 eXo Platform 17
  • 18. Question & Answer www.exoplatform.com - Copyright 2012 eXo Platform 18

×