Edmonds Commerce Magento Presentation

2,576 views

Published on

Talk delivered to the PHPLeeds user group on the 15th of November 2010

Published in: Technology
0 Comments
4 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,576
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
0
Comments
0
Likes
4
Embeds 0
No embeds

No notes for slide

Edmonds Commerce Magento Presentation

  1. 1. Magento – EC  Edmonds Commerce
  2. 2. Magento – EC  Edmonds Commerce  PHP Development Agency
  3. 3. Magento – EC  Edmonds Commerce  PHP Development Agency  E-Commerce
  4. 4. Magento – EC  Edmonds Commerce  PHP Development Agency  E-Commerce  osCommerce
  5. 5. Magento – EC  Edmonds Commerce  PHP Development Agency  E-Commerce  osCommerce  Magento
  6. 6. Magento – PHP  PHP
  7. 7. Magento – PHP  PHP  Zend Framework
  8. 8. Magento – PHP  PHP  Zend Framework  ORM
  9. 9. Magento – PHP  PHP  Zend Framework  ORM –  based on Zend DB but quite heavily modified
  10. 10. Magento – PHP  PHP  Zend Framework  ORM –  based on Zend DB but quite heavily modified  Varien Object
  11. 11. Magento – PHP  PHP  Zend Framework  ORM –  based on Zend DB but quite heavily modified  Varien Object http://docs.magentocommerce.com/Varien/Varien_Object/Varien_Object.htm
  12. 12. Magento – PHP  Varien Object – /lib/Varien/Object.php
  13. 13. Magento – PHP  Varien Object – /lib/Varien/Object.php  Base Object for Everything
  14. 14. Magento – PHP  Varien Object – /lib/Varien/Object.php  Base Object for Everything  Magic Methods
  15. 15. Magento – PHP  Varien Object – /lib/Varien/Object.php  Base Object for Everything  Magic Methods  __get
  16. 16. Magento – PHP  Varien Object – /lib/Varien/Object.php  Base Object for Everything  Magic Methods  __get  __set
  17. 17. Magento – PHP  Varien Object – /lib/Varien/Object.php  Base Object for Everything  Magic Methods  __get  __set  __call
  18. 18. Magento – PHP  Varien Object – /lib/Varien/Object.php  Base Object for Everything  Magic Methods  __get  __set  __call  Now the Main Get or Set method, the others are deprecated (though still work)
  19. 19. Magento – PHP  MVC
  20. 20. Magento – PHP  MVC  Zend Framework
  21. 21. Magento – PHP  MVC  Zend Framework  Modules under app/code
  22. 22. Magento – PHP  MVC  Zend Framework  Modules under app/code  Design under app/design
  23. 23. Magento – PHP  MVC  Zend Framework  Modules under app/code  Design under app/design  Varien Library
  24. 24. Magento – PHP  Core Code Separation
  25. 25. Magento – PHP  Core Code Separation  Three Folders under app/code
  26. 26. Magento – PHP  Core Code Separation  Three Folders under app/code  Core
  27. 27. Magento – PHP  Core Code Separation  Three Folders under app/code  Core  Community
  28. 28. Magento – PHP  Core Code Separation  Three Folders under app/code  Core  Community  Local
  29. 29. Magento – PHP  Core Code Separation  Core is Untouchable
  30. 30. Magento – PHP  Core Code Separation  Core is Untouchable  Community is for downloaded extensions from Magento Connect
  31. 31. Magento – PHP  Core Code Separation  Core is Untouchable  Community is for downloaded extensions from Magento Connect  Local is for your own custom modules
  32. 32. Magento – DB  MySQL
  33. 33. Magento – DB  MySQL  InnoDB
  34. 34. Magento – DB  MySQL  InnoDB  Foreign Keys
  35. 35. Magento – DB  MySQL  InnoDB  Foreign Keys  Clustering Support as Standard
  36. 36. Magento – DB  MySQL  InnoDB  Foreign Keys  Clustering Support as Standard  EAV
  37. 37. Magento – DB  MySQL  InnoDB  Foreign Keys  Clustering Support as Standard  EAV  This is pretty complicated and very simple at the same time
  38. 38. Magento – DB  Who has heard of EAV?
  39. 39. Magento – DB  Who has heard of EAV?  What is EAV?
  40. 40. Magento  Who has heard of EAV?  What is EAV?  Entity
  41. 41. Magento – DB  Who has heard of EAV?  What is EAV?  Entity  Attribute
  42. 42. Magento – DB  Who has heard of EAV?  What is EAV?  Entity  Attribute  Value
  43. 43. Magento – DB  Who has heard of EAV?  What is EAV?  Entity  Attribute  Value  What does that Really mean?
  44. 44. Magento – DB  Traditional Database Schema
  45. 45. Magento – DB  Traditional Database Schema  One Table Per Entity (roughly)
  46. 46. Magento – DB  Traditional Database Schema  One Table Per Entity (roughly)  Pros
  47. 47. Magento – DB  Traditional Database Schema  One Table Per Entity (roughly)  Pros  Fast
  48. 48. Magento – DB  Traditional Database Schema  Cons
  49. 49. Magento – DB  Traditional Database Schema  Cons  Inflexible in terms of storable Attributes
  50. 50. Magento – DB  Traditional Database Schema  One Table Per Entity (roughly)  Cons  Inflexible in terms of storable Attributes  Frequently Requires Schema Changes to accomodate custom requirments
  51. 51. Magento – DB  Traditional Database Schema  Cons  Inflexible in terms of storable Attributes  Frequently Requires Schema Changes to accomodate custom requirments  Makes Upgrades Hard/Impossible
  52. 52. Magento – DB  Traditional Database Schema
  53. 53. Magento – DB  Traditional Database Schema  For example osCommerce
  54. 54. Magento – DB  Traditional Database Schema  For example osCommerce  Entity
  55. 55. Magento – DB  Traditional Database Schema  For example osCommerce  Entity  Product
  56. 56. Magento – DB  Traditional Database Schema  For example osCommerce  Entity  Product  Tables
  57. 57. Magento – DB  Traditional Database Schema  For example osCommerce  Entity  Product  Tables  Product
  58. 58. Magento – DB  Traditional Database Schema  For example osCommerce  Entity  Product  Tables  Product  Product Description
  59. 59. Magento – DB  Traditional Database Schema  For example osCommerce  Entity  Product  Tables  Product  Product Description  Row per language
  60. 60. Magento – DB  Magento Database Schema  Entity  Product  Tables  Too many to mention!
  61. 61. Magento – DB  So why does Magento use EAV?
  62. 62. Magento – DB  So why does Magento use EAV?  Flexibility
  63. 63. Magento – DB  So why does Magento use EAV?  Flexibility  Power
  64. 64. Magento – DB  So why does Magento use EAV?  Flexibility  Power  Upgradeability
  65. 65. Magento – Features  Lots of Standard Functionality
  66. 66. Magento – Features  Multi Store  Translations
  67. 67. Magento – Features  Multi Store  Translations  Deparments
  68. 68. Magento – Features  Multi Store  Translations  Departments  Totally Separate Stores
  69. 69. Magento – Features  Multi Store  Translations  Departments  Totally Separate Stores  Run From
  70. 70. Magento – Features  Multi Store  Translations  Departments  Totally Separate Stores  Run From  Sub Folders
  71. 71. Magento – Features  Multi Store  Translations  Departments  Totally Separate Stores  Run From  Sub Folders  Sub Domains
  72. 72. Magento – Features  Multi Store  Translations  Departments  Totally Separate Stores  Run From  Sub Folders  Sub Domains  Totally Separate Domains
  73. 73. Magento – Features  Multi Store  All from Single Admin
  74. 74. Magento – Features  Layered Navigation
  75. 75. Magento – Features  Layered Navigation  What is Layered Navigation
  76. 76. Magento – Features  Layered Navigation  What is Layered Navigation  Ability to filter according to attribute values
  77. 77. Magento – Features  Layered Navigation  What is Layered Navigation  Ability to filter according to attribute values  Can be custom attributes
  78. 78. Magento – Features  Layered Navigation  What is Layered Navigation  Ability to filter according to attribute values  Can be custom attributes  Advantages
  79. 79. Magento – Features  Layered Navigation  What is Layered Navigation  Ability to filter according to attribute values  Can be custom attributes  Advantages  Easier user experience
  80. 80. Magento – Features  Layered Navigation  What is Layered Navigation  Ability to filter according to attribute values  Can be custom attributes  Advantages  Easier user experience  Hopefully Leading To
  81. 81. Magento – Features  Layered Navigation  What is Layered Navigation  Ability to filter according to attribute values  Can be custom attributes  Advantages  Easier user experience  Hopefully Leading To  Better Conversion Rate
  82. 82. Magento – Features  Price Rules
  83. 83. Magento – Features  Price Rules  Catalog
  84. 84. Magento – Features  Price Rules  Catalog  Apply Discount on Product/Category Pages
  85. 85. Magento – Features  Price Rules  Catalog  Apply Discount on Product/Category Pages  Shopping Cart
  86. 86. Magento – Features  Price Rules  Catalog  Apply Discount on Product/Category Pages  Shopping Cart  Apply discount only once added to cart
  87. 87. Magento – Features  Price Rules  Catalog  Apply Discount on Product/Category Pages  Shopping Cart  Apply discount only once added to cart  Also for:
  88. 88. Magento – Features  Price Rules  Catalog  Apply Discount on Product/Category Pages  Shopping Cart  Apply discount only once added to cart  Also for:  Vouchers
  89. 89. Magento – Features  Price Rules  Catalog  Apply Discount on Product/Category Pages  Shopping Cart  Apply discount only once added to cart  Also for:  Vouchers  Multibuy (BOGOF)
  90. 90. Magento – Features  Price Rules
  91. 91. Magento – Features  Price Rules  Apply Discounts according to complex rules
  92. 92. Magento – Features  Price Rules  Apply Discounts according to complex rules  Intuitive logic UI
  93. 93. Magento – Features  Price Rules  Apply Discounts according to complex rules  Intuitive logic UI  Lots of potential
  94. 94. Magento – Features  Price Rules  Apply Discounts according to complex rules  Intuitive logic UI  Lots of potential  Admin Controlled
  95. 95. Magento – Features  Price Rules
  96. 96. Magento – Features  Price Rules  For example
  97. 97. Magento – Features  Price Rules  For example  20% off all products
  98. 98. Magento – Features  Price Rules  For example  20% off all products  from manufacturer: sony
  99. 99. Magento – Features  Price Rules  For example  20% off all products  from manufacturer: sony  where stock level is over 5
  100. 100. Magento – Features  Price Rules  For example  20% off all products  from manufacturer: sony  where stock level is over 5  and sale price is over 100
  101. 101. Magento – Features  Price Rules  For example  20% off all products  from manufacturer: sony  where stock level is over 5  and sale price is over 100  and colour is green
  102. 102. Magento – Features  Price Rules  For example  20% off all products  from manufacturer: sony  where stock level is over 5  and sale price is over 100  and colour is green  and SKU does not begin with ABC1
  103. 103. Magento – Features  Magento Connect
  104. 104. Magento – Features  Magento Connect  Online Catalogue of Magento Extensions
  105. 105. Magento – Features  Magento Connect  Online Catalogue of Magento Extensions  Installable via Admin UI
  106. 106. Magento – Features  Magento Connect  Online Catalogue of Magento Extensions  Installable via Admin UI  Uses PEAR in the background
  107. 107. Magento – Features  Magento Connect  Online Catalogue of Magento Extensions  Installable via Admin UI  Uses PEAR in the background  Lots of user contributed extensions
  108. 108. Magento – Questions  Forums
  109. 109. Magento – Questions  Forums  Official Forum
  110. 110. Magento – Questions  Forums  Official Forum  Very busy
  111. 111. Magento – Questions  Forums  Official Forum  Very busy  Lots of questions, not a lot of answers
  112. 112. Magento – Questions  Forums  Official Forum  Very busy  Lots of questions, not a lot of answers  Magento-forum.co.uk
  113. 113. Magento – Questions  Forums  Official Forum  Very busy  Lots of questions, not a lot of answers  Magento-forum.co.uk  Unofficial Magento Forum
  114. 114. Magento – Questions  Forums  Official Forum  Very busy  Lots of questions, not a lot of answers  Magento-forum.co.uk  Unofficial Magento Forum  Run by Edmonds Commerce
  115. 115. Magento – Questions  Forums  Official Forum  Very busy  Lots of questions, not a lot of answers  Magento-forum.co.uk  Unofficial Magento Forum  Run by Edmonds Commerce  We will do our best to answer your questions
  116. 116. Magento – Questions  Ask me and I will do my best  Hope you have enjoyed the presentation!

×