27
E-commerce con SF dal case study alla realtà Symfony Day - Roma, 28 ottobre 2016 simone d’amico software engineer @ ideato @dymissy [email protected]

E-commerce con SF: dal case study alla realtà

Embed Size (px)

Citation preview

Page 1: E-commerce con SF: dal case study alla realtà

E-commerce con SF dal case study alla realtà

Symfony Day - Roma, 28 ottobre 2016

simone d’amico software engineer @ ideato

@dymissy [email protected]

Page 2: E-commerce con SF: dal case study alla realtà

E-commerce with Symfony

1. The state of art in 2016

2. A real case study

3. Conclusions

Page 3: E-commerce con SF: dal case study alla realtà

The state of art in 2016

Page 4: E-commerce con SF: dal case study alla realtà

Wide and active community

Component-based

Outdated documentation

Born: 2013

Version: 1.0.0 Alpha - not stable

3

Page 5: E-commerce con SF: dal case study alla realtà

Wide and active community

Component-based

Good documentation

Born: 2014

Version: 2.0.3 - stable

3

Page 6: E-commerce con SF: dal case study alla realtà

Full stack ecommerce

Comprehensive documentation

Modules and themes oriented

Born: 2013

Version: 2.3.3 - stable

3

Page 7: E-commerce con SF: dal case study alla realtà

Bundle of Sonata Project

Hard to configure

Integration with a lot of additional bundles

Born: 2010

Version: 2.0.0 - stable

3

SONATA-PROJECT

Page 8: E-commerce con SF: dal case study alla realtà

Full stack ecommerce

High performances

Bundle for non-SF Aimeos library

Born: 2012

Version: 2016.10 - stable

3

Page 9: E-commerce con SF: dal case study alla realtà

Bundle-based

PHP >= 7.x

One-man-band library

Born: 2014

Version: 0.7.2 - not stable

3

Page 10: E-commerce con SF: dal case study alla realtà

Available from 2017

PHP >= 7.x

Bundle based

Born: 2017

Version: not available

3

Page 11: E-commerce con SF: dal case study alla realtà

E-commerce with Symfony

1. The state of art in 2016

2. A real case study

3. Conclusions

Page 12: E-commerce con SF: dal case study alla realtà

Customer needs

CMS

Ecommerce area

No Admin area

Integration with proprietary ERP

Multilingual (6 languages)

Search engine

Page 13: E-commerce con SF: dal case study alla realtà

Customer needs

CMS

Ecommerce area

No Admin area

Integration with proprietary ERP

Multilingual (6 languages)

Search engine

Page 14: E-commerce con SF: dal case study alla realtà

Ecommerce RequirementsSelling virtual products

Shopping Cart

Custom checkout flow

Multiple payment methods

No shippings

Orders management

No admin area

Page 15: E-commerce con SF: dal case study alla realtà

The state of art in 2015

Page 16: E-commerce con SF: dal case study alla realtà

The state of art in 2015

Page 17: E-commerce con SF: dal case study alla realtà

Stack

Symfony CMF

Sylius

ElasticSearch

REST API

Page 18: E-commerce con SF: dal case study alla realtà

Why Symfony CMF?

Content Management

PHPCR - Document Oriented

Multilingual native support

Routing Bundle

Internal know-how

Page 19: E-commerce con SF: dal case study alla realtà

vs

Component-based

Well documented (apparently)

Powerful flow bundle

Easy to extend cart bundle (apparently)

More active community

Buzzword in 2015

Component-based

Well documented

Flow bundle included in Cart Bundle

Less active community

Page 20: E-commerce con SF: dal case study alla realtà

vs

Component-based

Well documented (apparently)

Powerful flow bundle

Easy to extend cart bundle (apparently)

More active community

Buzzword in 2015

Component-based

Well documented

Flow bundle included in Cart Bundle

Less active community

Why Sylius?

Page 21: E-commerce con SF: dal case study alla realtà

Sylius Pros

Well-organised models

Model\Cart == Model\Order

Powerful FlowBundle

Page 22: E-commerce con SF: dal case study alla realtà

Sylius Cons

Hard to integrate in an existent project

Hard to extend

Lacks in documentation

Bugs

Page 23: E-commerce con SF: dal case study alla realtà

Conclusions

As you might expect, there is no better Symfony bundle for your next ecommerce.

There are, instead, some interesting libraries that should suite (most of) your needs.

Page 24: E-commerce con SF: dal case study alla realtà

Bonus

Page 25: E-commerce con SF: dal case study alla realtà

Bonus

Page 26: E-commerce con SF: dal case study alla realtà
Page 27: E-commerce con SF: dal case study alla realtà

?

http://lanyrd.com/sfmwcc