Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Sylius: An E-Commerce Solution Symfony Based

Sylius: An E-Commerce Solution Symfony Based

Sergio Sicari

January 28, 2020
Tweet

More Decks by Sergio Sicari

Other Decks in Programming

Transcript

  1. E-commerce Solutions • CMS ◦ Wordpress + WooCommerce ◦ PrestaShop

    ◦ Magento • Custom Implementation ◦ ?????
  2. CMS vs Custom Implementation CMS Custom Implementation • Ready To

    Go • Cheap startup • Bed Coding • Extension can be expensive (magento) • High Customization Level • Code Quality • Long implementation time
  3. What is Sylius? Sylius is an open source e-commerce solution

    Symfony framework based • Components approach • Flexibility • Easy customization • BDD approach (Behavior Driven Development) • Good quality code
  4. Three nature of Sylius Sylius can be considered • a

    collection of decoupled and flexible components • a set of symfony bundle which integrate the components • a complete e-commerce platform that implement all above E-commerce Framework (Sylius) Symfony Bundle Component
  5. Components, Bundles And Platform Sylius Components Bundles Core Admin Shop

    API • Components Every single component of Sylius can be used in standalone because it’s fully decoupled. Taxation component “know” only know how to calculate taxes • Bundles Symfony bundles. TaxationBundle use taxation component and give access also services, models, ...
  6. Admin, Shop And Api Sylius Components Bundles Core Admin Shop

    API • Admin AdminBundle gives backoffice features to e-commerce administration • Shop ShopBundle implements a standard B2C interface • Api AdminApiBundle is an REST API set that operate from Admin perspective
  7. Prerequisites • Unix like system (MacOS or Linux) • PHP

    >= 7.2 • MySQL • Composer • Yarn
  8. Getting started # create symfony project $ composer create-project sylius/sylius-standard

    MyFirstShop $ cd MyFirstShop # install sylius $ bin/console sylius:install # install assets $ yarn install $ yarn build # check installation $ symfony serve $ open http://127.0.0.1:8000/admin
  9. Customizations • Models • Forms • Repositories • Factories •

    Controllers • Validations • Menu • Templates • Translations • State Machines • Grids • Fixtures
  10. PUG Catania - Join Us Telegram t.me/pugct Facebook https://www.facebook.com/groups/PUGCT/ Meetup

    https://www.meetup.com/it-IT/pugCatania-PHP-User-Group-Catania Sito Web https://catania.grusp.org
  11. PUG Catania - Join Us Telegram t.me/pugct Facebook https://www.facebook.com/groups/PUGCT/ Meetup

    https://www.meetup.com/it-IT/pugCatania-PHP-User-Group-Catania Sito Web https://catania.grusp.org