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

Preview:

Citation preview

E-commerce con SF dal case study alla realtà

Symfony Day - Roma, 28 ottobre 2016

simone d’amico software engineer @ ideato

@dymissy sd@ideato.it

E-commerce with Symfony

1. The state of art in 2016

2. A real case study

3. Conclusions

The state of art in 2016

Wide and active community

Component-based

Outdated documentation

Born: 2013

Version: 1.0.0 Alpha - not stable

3

Wide and active community

Component-based

Good documentation

Born: 2014

Version: 2.0.3 - stable

3

Full stack ecommerce

Comprehensive documentation

Modules and themes oriented

Born: 2013

Version: 2.3.3 - stable

3

Bundle of Sonata Project

Hard to configure

Integration with a lot of additional bundles

Born: 2010

Version: 2.0.0 - stable

3

SONATA-PROJECT

Full stack ecommerce

High performances

Bundle for non-SF Aimeos library

Born: 2012

Version: 2016.10 - stable

3

Bundle-based

PHP >= 7.x

One-man-band library

Born: 2014

Version: 0.7.2 - not stable

3

Available from 2017

PHP >= 7.x

Bundle based

Born: 2017

Version: not available

3

E-commerce with Symfony

1. The state of art in 2016

2. A real case study

3. Conclusions

Customer needs

CMS

Ecommerce area

No Admin area

Integration with proprietary ERP

Multilingual (6 languages)

Search engine

Customer needs

CMS

Ecommerce area

No Admin area

Integration with proprietary ERP

Multilingual (6 languages)

Search engine

Ecommerce RequirementsSelling virtual products

Shopping Cart

Custom checkout flow

Multiple payment methods

No shippings

Orders management

No admin area

The state of art in 2015

The state of art in 2015

Stack

Symfony CMF

Sylius

ElasticSearch

REST API

Why Symfony CMF?

Content Management

PHPCR - Document Oriented

Multilingual native support

Routing Bundle

Internal know-how

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

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?

Sylius Pros

Well-organised models

Model\Cart == Model\Order

Powerful FlowBundle

Sylius Cons

Hard to integrate in an existent project

Hard to extend

Lacks in documentation

Bugs

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.

Bonus

Bonus

?

http://lanyrd.com/sfmwcc

Recommended