SlideShare ist ein Scribd-Unternehmen logo
1 von 18
Magento - Know how what an
eCommerce platform is to complete
your knowledge about web solutions



                          Luu Thanh Thuy

                          CWI Team
Agenda


 - Introduction to Magento

 - Architect of Magento

 - Customize Magento

 + Developing themes
 + Developing extension




                    www.exoplatform.com - Copyright 2012 eXo Platform   2
Overview of Magento


- Magento: the industry’s most popular platform with over 31% of the current market
share




                       www.exoplatform.com - Copyright 2012 eXo Platform              3
Installing Magento CE

System 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
Introducing Magento Frontend



    Overview

    Finding the right products

    Promotional information

    Customer dashboard




                        www.exoplatform.com - Copyright 2012 eXo Platform   5
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
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
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
Zend Framework and its role within Magento

    What is Zend Framework



    It's role and effect in Magento




                         www.exoplatform.com - Copyright 2012 eXo Platform   9
Core code separation

Three 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
Modules and how they work within the
system
-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
……
Create a Magento Extension

Setting up the folder structure of a module
Setting up the folder structure of a module
our module's 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
Create a Magento Extension

Configuring the module
We'll create the file /app/code/local/HN/Bridalregistry/etc/config.xml and fill
it 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
Create a Magento Extension

•Layout update

•Translation

•Router

•Helper Model

•Model




                 www.exoplatform.com - Copyright 2012 eXo Platform   14
Create a Magento Extension

How to rewrite the Magento feature

•Rewrite Block

•Rewrite Controller

•Rewite Model




                 www.exoplatform.com - Copyright 2012 eXo Platform   15
Create a Magento Theme


-The template system architecture

The template architecture is broken into three areas—two for development of the
theme 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 containment
of all assets relating to our template, images, CSS, Flash, and JavaScript.




                     www.exoplatform.com - Copyright 2012 eXo Platform        16
Create a Magento Theme

Structural blocks and content blocks

Each theme contains structural and content blocks. Structural blocks are the ones
that lay out the theme into sections. Let's 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
Question & Answer




  www.exoplatform.com - Copyright 2012 eXo Platform   18

Weitere ähnliche Inhalte

Was ist angesagt?

Joomla 2019 Roadmap, Joomla 4 & Beyond by Robert Fairhead
Joomla 2019 Roadmap, Joomla 4 & Beyond by Robert FairheadJoomla 2019 Roadmap, Joomla 4 & Beyond by Robert Fairhead
Joomla 2019 Roadmap, Joomla 4 & Beyond by Robert FairheadRobert Fairhead
 
EECI - EE And Magento Integration
EECI - EE And Magento IntegrationEECI - EE And Magento Integration
EECI - EE And Magento IntegrationSimplified Safety
 
Guillaume Thibaux - Can we win the fight against performance bottlenecks? Les...
Guillaume Thibaux - Can we win the fight against performance bottlenecks? Les...Guillaume Thibaux - Can we win the fight against performance bottlenecks? Les...
Guillaume Thibaux - Can we win the fight against performance bottlenecks? Les...Meet Magento Italy
 
Meet Magento Belarus 2015: Uladzimir Kalashnikau
Meet Magento Belarus 2015: Uladzimir KalashnikauMeet Magento Belarus 2015: Uladzimir Kalashnikau
Meet Magento Belarus 2015: Uladzimir KalashnikauAmasty
 
How to install joomla 2.5
How to install joomla 2.5How to install joomla 2.5
How to install joomla 2.5Kamis Kalees
 
Managing Multiple Store Fronts on Magento
Managing Multiple Store Fronts on MagentoManaging Multiple Store Fronts on Magento
Managing Multiple Store Fronts on MagentoGeoffrey Mobisson
 
Magento powerpoint sample
Magento powerpoint sampleMagento powerpoint sample
Magento powerpoint samplesmtech002
 
Webinar: PHP and MySQL - Server-side Scripting Language for Web Development
Webinar: PHP and MySQL - Server-side Scripting Language for Web Development  Webinar: PHP and MySQL - Server-side Scripting Language for Web Development
Webinar: PHP and MySQL - Server-side Scripting Language for Web Development Edureka!
 
Joomlatools Platform v2.0
Joomlatools Platform v2.0Joomlatools Platform v2.0
Joomlatools Platform v2.0Joomlatools
 
Joomladay Netherlands 2012 - Joomla in the Cloud
Joomladay Netherlands 2012  - Joomla in the CloudJoomladay Netherlands 2012  - Joomla in the Cloud
Joomladay Netherlands 2012 - Joomla in the CloudJohan Janssens
 
Joomla
JoomlaJoomla
JoomlaShelly
 
Overview of CMS and Joomla!
Overview of CMS and Joomla!Overview of CMS and Joomla!
Overview of CMS and Joomla!Vishwash Gaur
 
Basics of Wordpress
Basics of WordpressBasics of Wordpress
Basics of WordpressAndrewComeau
 

Was ist angesagt? (20)

Joomla Presentations
Joomla PresentationsJoomla Presentations
Joomla Presentations
 
Joomla 2019 Roadmap, Joomla 4 & Beyond by Robert Fairhead
Joomla 2019 Roadmap, Joomla 4 & Beyond by Robert FairheadJoomla 2019 Roadmap, Joomla 4 & Beyond by Robert Fairhead
Joomla 2019 Roadmap, Joomla 4 & Beyond by Robert Fairhead
 
EECI - EE And Magento Integration
EECI - EE And Magento IntegrationEECI - EE And Magento Integration
EECI - EE And Magento Integration
 
Guillaume Thibaux - Can we win the fight against performance bottlenecks? Les...
Guillaume Thibaux - Can we win the fight against performance bottlenecks? Les...Guillaume Thibaux - Can we win the fight against performance bottlenecks? Les...
Guillaume Thibaux - Can we win the fight against performance bottlenecks? Les...
 
Joomla - CMS
Joomla - CMSJoomla - CMS
Joomla - CMS
 
Meet Magento Belarus 2015: Uladzimir Kalashnikau
Meet Magento Belarus 2015: Uladzimir KalashnikauMeet Magento Belarus 2015: Uladzimir Kalashnikau
Meet Magento Belarus 2015: Uladzimir Kalashnikau
 
Steps to Setup Magento Multi-Stores
Steps to Setup Magento Multi-StoresSteps to Setup Magento Multi-Stores
Steps to Setup Magento Multi-Stores
 
How to install joomla 2.5
How to install joomla 2.5How to install joomla 2.5
How to install joomla 2.5
 
Managing Multiple Store Fronts on Magento
Managing Multiple Store Fronts on MagentoManaging Multiple Store Fronts on Magento
Managing Multiple Store Fronts on Magento
 
Magento powerpoint sample
Magento powerpoint sampleMagento powerpoint sample
Magento powerpoint sample
 
Webinar: PHP and MySQL - Server-side Scripting Language for Web Development
Webinar: PHP and MySQL - Server-side Scripting Language for Web Development  Webinar: PHP and MySQL - Server-side Scripting Language for Web Development
Webinar: PHP and MySQL - Server-side Scripting Language for Web Development
 
Joomlatools Platform v2.0
Joomlatools Platform v2.0Joomlatools Platform v2.0
Joomlatools Platform v2.0
 
Social website
Social websiteSocial website
Social website
 
Readme
ReadmeReadme
Readme
 
Joomladay Netherlands 2012 - Joomla in the Cloud
Joomladay Netherlands 2012  - Joomla in the CloudJoomladay Netherlands 2012  - Joomla in the Cloud
Joomladay Netherlands 2012 - Joomla in the Cloud
 
Joomla and cms
Joomla and  cmsJoomla and  cms
Joomla and cms
 
Joomla
JoomlaJoomla
Joomla
 
Overview of CMS and Joomla!
Overview of CMS and Joomla!Overview of CMS and Joomla!
Overview of CMS and Joomla!
 
Configure use-tomcat
Configure use-tomcatConfigure use-tomcat
Configure use-tomcat
 
Basics of Wordpress
Basics of WordpressBasics of Wordpress
Basics of Wordpress
 

Andere mochten auch (7)

Products
ProductsProducts
Products
 
Campañas de sensibilización
Campañas de sensibilizaciónCampañas de sensibilización
Campañas de sensibilización
 
Development withforce
Development withforceDevelopment withforce
Development withforce
 
Sintaksis 5
Sintaksis 5Sintaksis 5
Sintaksis 5
 
Congreso SEO 2012 Patrocinio
Congreso SEO 2012 PatrocinioCongreso SEO 2012 Patrocinio
Congreso SEO 2012 Patrocinio
 
Rendimiento Web WPO para SEO
Rendimiento Web WPO para SEORendimiento Web WPO para SEO
Rendimiento Web WPO para SEO
 
mhrod/mib admission brochure 2011-2013
mhrod/mib admission brochure 2011-2013mhrod/mib admission brochure 2011-2013
mhrod/mib admission brochure 2011-2013
 

Ähnlich wie Magento

Mageguru - magento custom module development
Mageguru -  magento custom module development Mageguru -  magento custom module development
Mageguru - magento custom module development Mage Guru
 
Zendcon magento101
Zendcon magento101Zendcon magento101
Zendcon magento101Mathew Beane
 
Architecture and Analytical Study of Magento
Architecture and Analytical Study of MagentoArchitecture and Analytical Study of Magento
Architecture and Analytical Study of MagentoIRJET Journal
 
php[world] Magento101
php[world] Magento101php[world] Magento101
php[world] Magento101Mathew Beane
 
Introduction to Mangento
Introduction to Mangento Introduction to Mangento
Introduction to Mangento Ravi Mehrotra
 
Front End Development in Magento
Front End Development in MagentoFront End Development in Magento
Front End Development in MagentoEric Landmann
 
Vue micro frontend implementation patterns
Vue micro frontend implementation patternsVue micro frontend implementation patterns
Vue micro frontend implementation patternsAlbert Brand
 
Rapid Development With CakePHP
Rapid Development With CakePHPRapid Development With CakePHP
Rapid Development With CakePHPEdureka!
 
Magento 2 - Getting started.
Magento 2 - Getting started.Magento 2 - Getting started.
Magento 2 - Getting started.Aneesh Sreedharan
 
Customer FX Technical Reference Sheet
Customer FX Technical Reference SheetCustomer FX Technical Reference Sheet
Customer FX Technical Reference SheetGoodCustomers
 
Introduction to the Magento eCommerce Platform
Introduction to the Magento eCommerce PlatformIntroduction to the Magento eCommerce Platform
Introduction to the Magento eCommerce PlatformJarne W. Beutnagel
 
Optimizing Magento Performance with Zend Server
Optimizing Magento Performance with Zend ServerOptimizing Magento Performance with Zend Server
Optimizing Magento Performance with Zend Servervarien
 
Integrate Shindig with Joomla
Integrate Shindig with JoomlaIntegrate Shindig with Joomla
Integrate Shindig with JoomlaAnand Sharma
 
IRJET- Lightweight MVC Framework in PHP
IRJET- Lightweight MVC Framework in PHPIRJET- Lightweight MVC Framework in PHP
IRJET- Lightweight MVC Framework in PHPIRJET Journal
 
M2ModuleDevelopmenteBook
M2ModuleDevelopmenteBookM2ModuleDevelopmenteBook
M2ModuleDevelopmenteBookTrọng Huỳnh
 
Madison PHP - Getting Started with Magento 2
Madison PHP - Getting Started with Magento 2Madison PHP - Getting Started with Magento 2
Madison PHP - Getting Started with Magento 2Mathew Beane
 

Ähnlich wie Magento (20)

Mageguru - magento custom module development
Mageguru -  magento custom module development Mageguru -  magento custom module development
Mageguru - magento custom module development
 
Zendcon magento101
Zendcon magento101Zendcon magento101
Zendcon magento101
 
Architecture and Analytical Study of Magento
Architecture and Analytical Study of MagentoArchitecture and Analytical Study of Magento
Architecture and Analytical Study of Magento
 
php[world] Magento101
php[world] Magento101php[world] Magento101
php[world] Magento101
 
Yoav Kutner Dutchento
Yoav Kutner DutchentoYoav Kutner Dutchento
Yoav Kutner Dutchento
 
Introduction to Mangento
Introduction to Mangento Introduction to Mangento
Introduction to Mangento
 
CODE IGNITER
CODE IGNITERCODE IGNITER
CODE IGNITER
 
Front End Development in Magento
Front End Development in MagentoFront End Development in Magento
Front End Development in Magento
 
Vue micro frontend implementation patterns
Vue micro frontend implementation patternsVue micro frontend implementation patterns
Vue micro frontend implementation patterns
 
Rapid Development With CakePHP
Rapid Development With CakePHPRapid Development With CakePHP
Rapid Development With CakePHP
 
Resume
ResumeResume
Resume
 
Magento 2 - Getting started.
Magento 2 - Getting started.Magento 2 - Getting started.
Magento 2 - Getting started.
 
Customer FX Technical Reference Sheet
Customer FX Technical Reference SheetCustomer FX Technical Reference Sheet
Customer FX Technical Reference Sheet
 
Introduction to the Magento eCommerce Platform
Introduction to the Magento eCommerce PlatformIntroduction to the Magento eCommerce Platform
Introduction to the Magento eCommerce Platform
 
Optimizing Magento Performance with Zend Server
Optimizing Magento Performance with Zend ServerOptimizing Magento Performance with Zend Server
Optimizing Magento Performance with Zend Server
 
Integrate Shindig with Joomla
Integrate Shindig with JoomlaIntegrate Shindig with Joomla
Integrate Shindig with Joomla
 
IRJET- Lightweight MVC Framework in PHP
IRJET- Lightweight MVC Framework in PHPIRJET- Lightweight MVC Framework in PHP
IRJET- Lightweight MVC Framework in PHP
 
Php Web Frameworks
Php Web FrameworksPhp Web Frameworks
Php Web Frameworks
 
M2ModuleDevelopmenteBook
M2ModuleDevelopmenteBookM2ModuleDevelopmenteBook
M2ModuleDevelopmenteBook
 
Madison PHP - Getting Started with Magento 2
Madison PHP - Getting Started with Magento 2Madison PHP - Getting Started with Magento 2
Madison PHP - Getting Started with Magento 2
 

Mehr von adm_exoplatform

Mehr von adm_exoplatform (13)

E xo mobile_overview_best_practice_in_mobile_application_design
E xo mobile_overview_best_practice_in_mobile_application_designE xo mobile_overview_best_practice_in_mobile_application_design
E xo mobile_overview_best_practice_in_mobile_application_design
 
Advance jquery-plugin
Advance jquery-pluginAdvance jquery-plugin
Advance jquery-plugin
 
Hadoop
HadoopHadoop
Hadoop
 
Jquery ui
Jquery uiJquery ui
Jquery ui
 
Cmsms
CmsmsCmsms
Cmsms
 
Jquery
JqueryJquery
Jquery
 
Java application server in the cloud
Java application server in the cloudJava application server in the cloud
Java application server in the cloud
 
I os
I osI os
I os
 
Memory and runtime analysis
Memory and runtime analysisMemory and runtime analysis
Memory and runtime analysis
 
Jvm mbeans jmxtran
Jvm mbeans jmxtranJvm mbeans jmxtran
Jvm mbeans jmxtran
 
Git training
Git trainingGit training
Git training
 
Cluster mode and plf cluster
Cluster mode and plf clusterCluster mode and plf cluster
Cluster mode and plf cluster
 
Cluster mode and plf cluster
Cluster mode and plf clusterCluster mode and plf cluster
Cluster mode and plf cluster
 

Magento

  • 1. Magento - Know how what an eCommerce platform is to complete your 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 market share www.exoplatform.com - Copyright 2012 eXo Platform 3
  • 4. Installing Magento CE System 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  It's role and effect in Magento www.exoplatform.com - Copyright 2012 eXo Platform 9
  • 10. Core code separation Three 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 the system -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 Extension Setting up the folder structure of a module Setting up the folder structure of a module our module's 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 Extension Configuring the module We'll create the file /app/code/local/HN/Bridalregistry/etc/config.xml and fill it 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 Extension How 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 architecture The template architecture is broken into three areas—two for development of the theme 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 containment of all assets relating to our template, images, CSS, Flash, and JavaScript. www.exoplatform.com - Copyright 2012 eXo Platform 16
  • 17. Create a Magento Theme Structural blocks and content blocks Each theme contains structural and content blocks. Structural blocks are the ones that lay out the theme into sections. Let's 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