SlideShare una empresa de Scribd logo
1 de 31
Descargar para leer sin conexión
Symfony2 & eCommerce
2
@fabien_gasser
 Presales consultant @ Smile
 Ex Project Manager @ SensioLabs
 Hobbies: rap music & eCommerce
Smile - Open source solutions
provider
 More than 60 projetcs > 250 men.days
 Magento, Drupal, Jahia, Liferay, Sf2, Spring…
 eCommerce
o > 10 millions of products managed…
o > 200 pages served per second
o Multi Store, Multi Merchant, Multi Channel,
Marketplace…
3
Different eCommerce types
 B2C
o eShop:Unkut, Marketplace:Fnac, Chronodrive, Auchan Drive…
o Subscription:Birchbox
o Flash sales:Private journeys
 B2B with price negotiated for each customer:
o Managment of enterprises’ committees, cars sales…
 …
We should focus our strength on our business to create a
relationship with the customer and develop loyalty
 Alternative:Design an incredible product… without any competitor.
4
5
Product
catalog
PIM
Customers
CRM
Customer
account
Orders
Shopping
cart
Order
Manager
Symfony 2 & eCommerce
7
« Symfony should become the standard as a PHP middleware »
 Symfony 2 as Middleware: an applicative glue
 Specific development mind the gap between the best softwares and customer
requirements.
o Respect functional areas
8
Applications
Middleware
Database
Infrastructure
Orders
PIM
ERP
CRM
Sf2 Middleware
BIDAM
Customers
Product
catalog
Order
Manager
WebApp Borne Web
CMS
Search
Shopping cart Grid Checkout Merch Search
9
Drupal
Leaphly
Vespolina
Sonata
10
Even though it’s interesting to meet all
business requirements within the same
application
 !!! Difficult to maintain
 !!! Complex and unuseful business rules
 Changes on the solution core
Making e-commerce with a blogging
solution… No !
 Separation of concern : CMS / E-commerce / BI
Your e-commerce is not a business
intelligence tool : keep simple kpi on your
dashboard but use a real tool like Pentaho
or JasperSoft for your BI
We don’t do slides with Excel
11
12
Do smaller things and reduct the coupling of apps
 Core API
 Fine management of ACL through an oauth server for instance…
 Design applications by domain:Doing less but doing better
o Facilitate the update of a service / its maintenance / its availability
 Let‘s forget monolithic applications
o The applicative segmentation by controlers is not enough
 Why not considering a segmentation by functional domain ?
13
Desktop Tablet Mobile
Search
CSS
HTML
Javascript
Resource
WebComponent
Comments
Panier
Recherche
Website
WebComponent
Middleware
API HATEOAS
Json-ld
ETL
14
Representation
 Hateoas + HAL
 json/xml/messagepack
 Microformats
Stateless:Horizontal scalability
Security: SSL + token
Easy testing and automated
documentation NelmioApiBundle
Applicative versioning
Tip: Use Varnish to define frequency
of data update
15
Redis:cache, session, queues
Empty Varnish cache / CDN when you modify a product information…
If you don’t have to calculate the catalogue, then save it within
Elasticsearch/SolR: scalable, API Rest
Get some alerts on services and data flows:New Relic, Monitoring…
Don’t be afraid to use third-party services:
 Prediggo, Compario, LiveFyre, Gigya…
The bundles
 Core:MSSecurityExtraBundle, StofDoctrineExtensionBundle, LiipCacheControlBundle,
MonologBundle, Symfony-cmf/Routing, TemplatedUriBundle
 API:JMSSerializerBundle, FosRestBundle, BazingaHateoasBundle, NelmioApiDocBundle,
BazingaFakerBundle
16
17
Repository
 Assets & pictures
Order Manager
Data flows
Clients
 CRM
Search and recommendation
CMS
Payment
Sale
18
19
Product management with Akeneo PIM
ERP
images
Third part data
source
Videos
PIM
Search
Enrich
Translate
Maintain
E-store
Mobile
POS
Print
20
21
Media management:
 KnpLabs/KnpGaufretteBundle:s3, MongoGridFS
 Sonata Media Bundle
 Thumbor:service intelligent de gestion d’images (Détections de visages, motifs)
Smart interface for media management ? Ckfinder ?
Mass processing with an asynchronous queue
22
Order Manager system is the heart of your e-commerce
Create Finite State Machine thanks to the bundles
 github.com/yohang/Finite
 DoctrineStateMachineBundle
Manage various state for order, quote or cart
 A parralel task will check the state of the order to fire actions
 Manage easily actions around your orders: paiement notification or refund,
subscription system
23
An e-commerce platform communicates with several third-parties
 ESB ERP CRM BI WMS DAM MARKETPLACE (lengow, mirakl…)
With different formalisms:
 SOAP REST EDI CSV...
 HATEHOAS Messapack for mobile applications
Organization of the database model
 Create services to manipulate your SOAP / REST exposed interfaces
MONITOR data flows !!!
24
Create a unique base of clients and share it with applications
 User:
o FosUserBundle
o HWIOAuthBundle
o FosCommentBundle
o …
 SonataAdminBundle
Centralize the user events and follow the activity of users
 Real user monitoring / New Relic Insight
25
Keep in contact with its clients: OroCRM
 Client segmentation
 Task and call back
 Sales processing
e-commerce oriented features
 Abandonned carts
 User monitoring
26
27
Search:
 Implementation of Elasticsearch or Solr to index the PIM and take the benefit of the
search engine
o API REST
o Search features
Recommendation: up sell, cross sell…
 Management of affinitiy with a product at every purchase or creatino of product list
to make a simple recommendation
 Design of business rules with ExpressionLanguage to associate a product
Implement third-party solutions such as: Prediggo, Fredhopper,
Compario…
28
CMS & Merchandising: Drupal 8, Sulu CMF, Bolt
 Place CMS content to animate category pages
 Expert content, security of payments
 ESI / SSI / Hinclude / pjax / turbolinks
 Content as a Service / Data as a Service
Sulu.io
Pagekit
29
Implementation of payment solutions
 Paiement: Integration of a monetic supplier
o PayumBundle
 Use a PSP – payment service provider: be2bill, paybox…
o Ease of inception in a new country
o Fraud management
o REST API
One-click payment Payment in 3 times
withouth fee
Payment at deliverySimple payment
Partial or total refund Cross-chanel payment Simple
aknowledgement
30
200 pages / second and more…
 Prévoir un fallback sur les pages les plus consommatrices:une version dégradée
de l’application.
 Plan its stateless application in order to facilitate horizontal scalability
 Decoupling services and sites
 Ratchet ? WebRTC ?
Scalable hosting
 Cluster of databases and indexes
 On the fly creation:
o Docker, Serf, Mesos…
 Predictive auto-scaling (Scryer/Netflix) Traffic pattern:variable
Symfony 2 & e-commerce ecosystem  - Now in english !

Más contenido relacionado

Similar a Symfony 2 & e-commerce ecosystem - Now in english !

MLOps journey at Swisscom: AI Use Cases, Architecture and Future Vision
MLOps journey at Swisscom: AI Use Cases, Architecture and Future VisionMLOps journey at Swisscom: AI Use Cases, Architecture and Future Vision
MLOps journey at Swisscom: AI Use Cases, Architecture and Future VisionBATbern
 
Direction, Mumbai corporate presentation 2016
Direction, Mumbai corporate presentation 2016Direction, Mumbai corporate presentation 2016
Direction, Mumbai corporate presentation 2016Pritam Bala
 
DotNetNuke CMS: benefits for web professionals
DotNetNuke CMS: benefits for web professionalsDotNetNuke CMS: benefits for web professionals
DotNetNuke CMS: benefits for web professionalsI-business Solutions
 
Bfo e business platform - nen tang nhu lieu may tinh cho doanh nghiep so
Bfo e business platform - nen tang nhu lieu may tinh cho doanh nghiep soBfo e business platform - nen tang nhu lieu may tinh cho doanh nghiep so
Bfo e business platform - nen tang nhu lieu may tinh cho doanh nghiep soHieutanda Nguyen Khac Hieu
 
BEP - Bfo E-business platform - nen tang phan mem cho doanh nghiep so v2
BEP - Bfo E-business platform - nen tang phan mem cho doanh nghiep so v2BEP - Bfo E-business platform - nen tang phan mem cho doanh nghiep so v2
BEP - Bfo E-business platform - nen tang phan mem cho doanh nghiep so v2Hieutanda Nguyen Khac Hieu
 
Why you will choose the aplonAPI™ platform, to empower your Open banking proj...
Why you will choose the aplonAPI™ platform, to empower your Open banking proj...Why you will choose the aplonAPI™ platform, to empower your Open banking proj...
Why you will choose the aplonAPI™ platform, to empower your Open banking proj...PaymentComponents
 
Product Engineering Services of Semantic Space Technologies
Product Engineering Services of Semantic Space TechnologiesProduct Engineering Services of Semantic Space Technologies
Product Engineering Services of Semantic Space TechnologiesPradeep B.N.V
 
IBM API management Philip Little
IBM API management Philip LittleIBM API management Philip Little
IBM API management Philip LittleValeri Illescas
 
apidays LIVE Australia 2021 - Composing a Headless and Composable Commerce Ar...
apidays LIVE Australia 2021 - Composing a Headless and Composable Commerce Ar...apidays LIVE Australia 2021 - Composing a Headless and Composable Commerce Ar...
apidays LIVE Australia 2021 - Composing a Headless and Composable Commerce Ar...apidays
 
Big Data and Analytics on Amazon Web Services: Building A Business-Friendly P...
Big Data and Analytics on Amazon Web Services: Building A Business-Friendly P...Big Data and Analytics on Amazon Web Services: Building A Business-Friendly P...
Big Data and Analytics on Amazon Web Services: Building A Business-Friendly P...Amazon Web Services
 
Osmius The Open Source, Fast and Extandable Monitoring Tool
Osmius The Open Source, Fast and Extandable Monitoring ToolOsmius The Open Source, Fast and Extandable Monitoring Tool
Osmius The Open Source, Fast and Extandable Monitoring Toolosmius
 
Evolución de una arquitectura monolítica hacia decoupled commerce en un retai...
Evolución de una arquitectura monolítica hacia decoupled commerce en un retai...Evolución de una arquitectura monolítica hacia decoupled commerce en un retai...
Evolución de una arquitectura monolítica hacia decoupled commerce en un retai...Marcos Pueyrredon
 
Micro-Service Architectures in E-Commerce environments with SPHERE.IO / comme...
Micro-Service Architectures in E-Commerce environments with SPHERE.IO / comme...Micro-Service Architectures in E-Commerce environments with SPHERE.IO / comme...
Micro-Service Architectures in E-Commerce environments with SPHERE.IO / comme...Dirk Hoerig
 
Nisbets Case Study 2010
Nisbets Case Study 2010Nisbets Case Study 2010
Nisbets Case Study 2010Sajbhojani
 
B com 2013 | La strategia per un e-commerce di successo_Federico Gasparotto
B com 2013 | La strategia per un e-commerce di successo_Federico GasparottoB com 2013 | La strategia per un e-commerce di successo_Federico Gasparotto
B com 2013 | La strategia per un e-commerce di successo_Federico GasparottoB com Expo | GL events Italia
 
Transforming Financial Services with Event Streaming Data
Transforming Financial Services with Event Streaming DataTransforming Financial Services with Event Streaming Data
Transforming Financial Services with Event Streaming Dataconfluent
 
Powering Disruption in Banking
Powering Disruption in BankingPowering Disruption in Banking
Powering Disruption in BankingBackbase
 
eCommerce Platforms - an introduction
eCommerce Platforms - an introductioneCommerce Platforms - an introduction
eCommerce Platforms - an introductionBen Adams
 
Send product content: about Syndy for Brands
Send product content: about Syndy for BrandsSend product content: about Syndy for Brands
Send product content: about Syndy for BrandsPietervanHerpen1
 

Similar a Symfony 2 & e-commerce ecosystem - Now in english ! (20)

MLOps journey at Swisscom: AI Use Cases, Architecture and Future Vision
MLOps journey at Swisscom: AI Use Cases, Architecture and Future VisionMLOps journey at Swisscom: AI Use Cases, Architecture and Future Vision
MLOps journey at Swisscom: AI Use Cases, Architecture and Future Vision
 
Direction, Mumbai corporate presentation 2016
Direction, Mumbai corporate presentation 2016Direction, Mumbai corporate presentation 2016
Direction, Mumbai corporate presentation 2016
 
DotNetNuke CMS: benefits for web professionals
DotNetNuke CMS: benefits for web professionalsDotNetNuke CMS: benefits for web professionals
DotNetNuke CMS: benefits for web professionals
 
Bfo e business platform - nen tang nhu lieu may tinh cho doanh nghiep so
Bfo e business platform - nen tang nhu lieu may tinh cho doanh nghiep soBfo e business platform - nen tang nhu lieu may tinh cho doanh nghiep so
Bfo e business platform - nen tang nhu lieu may tinh cho doanh nghiep so
 
BEP - Bfo E-business platform - nen tang phan mem cho doanh nghiep so v2
BEP - Bfo E-business platform - nen tang phan mem cho doanh nghiep so v2BEP - Bfo E-business platform - nen tang phan mem cho doanh nghiep so v2
BEP - Bfo E-business platform - nen tang phan mem cho doanh nghiep so v2
 
CRM Idol
CRM IdolCRM Idol
CRM Idol
 
Why you will choose the aplonAPI™ platform, to empower your Open banking proj...
Why you will choose the aplonAPI™ platform, to empower your Open banking proj...Why you will choose the aplonAPI™ platform, to empower your Open banking proj...
Why you will choose the aplonAPI™ platform, to empower your Open banking proj...
 
Product Engineering Services of Semantic Space Technologies
Product Engineering Services of Semantic Space TechnologiesProduct Engineering Services of Semantic Space Technologies
Product Engineering Services of Semantic Space Technologies
 
IBM API management Philip Little
IBM API management Philip LittleIBM API management Philip Little
IBM API management Philip Little
 
apidays LIVE Australia 2021 - Composing a Headless and Composable Commerce Ar...
apidays LIVE Australia 2021 - Composing a Headless and Composable Commerce Ar...apidays LIVE Australia 2021 - Composing a Headless and Composable Commerce Ar...
apidays LIVE Australia 2021 - Composing a Headless and Composable Commerce Ar...
 
Big Data and Analytics on Amazon Web Services: Building A Business-Friendly P...
Big Data and Analytics on Amazon Web Services: Building A Business-Friendly P...Big Data and Analytics on Amazon Web Services: Building A Business-Friendly P...
Big Data and Analytics on Amazon Web Services: Building A Business-Friendly P...
 
Osmius The Open Source, Fast and Extandable Monitoring Tool
Osmius The Open Source, Fast and Extandable Monitoring ToolOsmius The Open Source, Fast and Extandable Monitoring Tool
Osmius The Open Source, Fast and Extandable Monitoring Tool
 
Evolución de una arquitectura monolítica hacia decoupled commerce en un retai...
Evolución de una arquitectura monolítica hacia decoupled commerce en un retai...Evolución de una arquitectura monolítica hacia decoupled commerce en un retai...
Evolución de una arquitectura monolítica hacia decoupled commerce en un retai...
 
Micro-Service Architectures in E-Commerce environments with SPHERE.IO / comme...
Micro-Service Architectures in E-Commerce environments with SPHERE.IO / comme...Micro-Service Architectures in E-Commerce environments with SPHERE.IO / comme...
Micro-Service Architectures in E-Commerce environments with SPHERE.IO / comme...
 
Nisbets Case Study 2010
Nisbets Case Study 2010Nisbets Case Study 2010
Nisbets Case Study 2010
 
B com 2013 | La strategia per un e-commerce di successo_Federico Gasparotto
B com 2013 | La strategia per un e-commerce di successo_Federico GasparottoB com 2013 | La strategia per un e-commerce di successo_Federico Gasparotto
B com 2013 | La strategia per un e-commerce di successo_Federico Gasparotto
 
Transforming Financial Services with Event Streaming Data
Transforming Financial Services with Event Streaming DataTransforming Financial Services with Event Streaming Data
Transforming Financial Services with Event Streaming Data
 
Powering Disruption in Banking
Powering Disruption in BankingPowering Disruption in Banking
Powering Disruption in Banking
 
eCommerce Platforms - an introduction
eCommerce Platforms - an introductioneCommerce Platforms - an introduction
eCommerce Platforms - an introduction
 
Send product content: about Syndy for Brands
Send product content: about Syndy for BrandsSend product content: about Syndy for Brands
Send product content: about Syndy for Brands
 

Último

Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...OnePlan Solutions
 
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company OdishaBalasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odishasmiwainfosol
 
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)jennyeacort
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesŁukasz Chruściel
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Hr365.us smith
 
Buds n Tech IT Solutions: Top-Notch Web Services in Noida
Buds n Tech IT Solutions: Top-Notch Web Services in NoidaBuds n Tech IT Solutions: Top-Notch Web Services in Noida
Buds n Tech IT Solutions: Top-Notch Web Services in Noidabntitsolutionsrishis
 
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Cizo Technology Services
 
Best Web Development Agency- Idiosys USA.pdf
Best Web Development Agency- Idiosys USA.pdfBest Web Development Agency- Idiosys USA.pdf
Best Web Development Agency- Idiosys USA.pdfIdiosysTechnologies1
 
How to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationHow to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationBradBedford3
 
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...confluent
 
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Velvetech LLC
 
Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)Ahmed Mater
 
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Angel Borroy López
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based projectAnoyGreter
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxTier1 app
 
PREDICTING RIVER WATER QUALITY ppt presentation
PREDICTING  RIVER  WATER QUALITY  ppt presentationPREDICTING  RIVER  WATER QUALITY  ppt presentation
PREDICTING RIVER WATER QUALITY ppt presentationvaddepallysandeep122
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesPhilip Schwarz
 
Cyber security and its impact on E commerce
Cyber security and its impact on E commerceCyber security and its impact on E commerce
Cyber security and its impact on E commercemanigoyal112
 
CRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceCRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceBrainSell Technologies
 

Último (20)

Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
 
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company OdishaBalasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
 
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New Features
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)
 
Buds n Tech IT Solutions: Top-Notch Web Services in Noida
Buds n Tech IT Solutions: Top-Notch Web Services in NoidaBuds n Tech IT Solutions: Top-Notch Web Services in Noida
Buds n Tech IT Solutions: Top-Notch Web Services in Noida
 
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
 
Best Web Development Agency- Idiosys USA.pdf
Best Web Development Agency- Idiosys USA.pdfBest Web Development Agency- Idiosys USA.pdf
Best Web Development Agency- Idiosys USA.pdf
 
How to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationHow to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion Application
 
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
 
2.pdf Ejercicios de programación competitiva
2.pdf Ejercicios de programación competitiva2.pdf Ejercicios de programación competitiva
2.pdf Ejercicios de programación competitiva
 
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...
 
Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)
 
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based project
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
 
PREDICTING RIVER WATER QUALITY ppt presentation
PREDICTING  RIVER  WATER QUALITY  ppt presentationPREDICTING  RIVER  WATER QUALITY  ppt presentation
PREDICTING RIVER WATER QUALITY ppt presentation
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a series
 
Cyber security and its impact on E commerce
Cyber security and its impact on E commerceCyber security and its impact on E commerce
Cyber security and its impact on E commerce
 
CRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceCRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. Salesforce
 

Symfony 2 & e-commerce ecosystem - Now in english !

  • 2. 2 @fabien_gasser  Presales consultant @ Smile  Ex Project Manager @ SensioLabs  Hobbies: rap music & eCommerce Smile - Open source solutions provider  More than 60 projetcs > 250 men.days  Magento, Drupal, Jahia, Liferay, Sf2, Spring…  eCommerce o > 10 millions of products managed… o > 200 pages served per second o Multi Store, Multi Merchant, Multi Channel, Marketplace…
  • 3. 3 Different eCommerce types  B2C o eShop:Unkut, Marketplace:Fnac, Chronodrive, Auchan Drive… o Subscription:Birchbox o Flash sales:Private journeys  B2B with price negotiated for each customer: o Managment of enterprises’ committees, cars sales…  … We should focus our strength on our business to create a relationship with the customer and develop loyalty  Alternative:Design an incredible product… without any competitor.
  • 4. 4
  • 6. Symfony 2 & eCommerce
  • 7. 7 « Symfony should become the standard as a PHP middleware »  Symfony 2 as Middleware: an applicative glue  Specific development mind the gap between the best softwares and customer requirements. o Respect functional areas
  • 10. 10 Even though it’s interesting to meet all business requirements within the same application  !!! Difficult to maintain  !!! Complex and unuseful business rules  Changes on the solution core Making e-commerce with a blogging solution… No !  Separation of concern : CMS / E-commerce / BI Your e-commerce is not a business intelligence tool : keep simple kpi on your dashboard but use a real tool like Pentaho or JasperSoft for your BI We don’t do slides with Excel
  • 11. 11
  • 12. 12 Do smaller things and reduct the coupling of apps  Core API  Fine management of ACL through an oauth server for instance…  Design applications by domain:Doing less but doing better o Facilitate the update of a service / its maintenance / its availability  Let‘s forget monolithic applications o The applicative segmentation by controlers is not enough  Why not considering a segmentation by functional domain ?
  • 14. 14 Representation  Hateoas + HAL  json/xml/messagepack  Microformats Stateless:Horizontal scalability Security: SSL + token Easy testing and automated documentation NelmioApiBundle Applicative versioning Tip: Use Varnish to define frequency of data update
  • 15. 15 Redis:cache, session, queues Empty Varnish cache / CDN when you modify a product information… If you don’t have to calculate the catalogue, then save it within Elasticsearch/SolR: scalable, API Rest Get some alerts on services and data flows:New Relic, Monitoring… Don’t be afraid to use third-party services:  Prediggo, Compario, LiveFyre, Gigya… The bundles  Core:MSSecurityExtraBundle, StofDoctrineExtensionBundle, LiipCacheControlBundle, MonologBundle, Symfony-cmf/Routing, TemplatedUriBundle  API:JMSSerializerBundle, FosRestBundle, BazingaHateoasBundle, NelmioApiDocBundle, BazingaFakerBundle
  • 16. 16
  • 17. 17 Repository  Assets & pictures Order Manager Data flows Clients  CRM Search and recommendation CMS Payment Sale
  • 18. 18
  • 19. 19 Product management with Akeneo PIM ERP images Third part data source Videos PIM Search Enrich Translate Maintain E-store Mobile POS Print
  • 20. 20
  • 21. 21 Media management:  KnpLabs/KnpGaufretteBundle:s3, MongoGridFS  Sonata Media Bundle  Thumbor:service intelligent de gestion d’images (Détections de visages, motifs) Smart interface for media management ? Ckfinder ? Mass processing with an asynchronous queue
  • 22. 22 Order Manager system is the heart of your e-commerce Create Finite State Machine thanks to the bundles  github.com/yohang/Finite  DoctrineStateMachineBundle Manage various state for order, quote or cart  A parralel task will check the state of the order to fire actions  Manage easily actions around your orders: paiement notification or refund, subscription system
  • 23. 23 An e-commerce platform communicates with several third-parties  ESB ERP CRM BI WMS DAM MARKETPLACE (lengow, mirakl…) With different formalisms:  SOAP REST EDI CSV...  HATEHOAS Messapack for mobile applications Organization of the database model  Create services to manipulate your SOAP / REST exposed interfaces MONITOR data flows !!!
  • 24. 24 Create a unique base of clients and share it with applications  User: o FosUserBundle o HWIOAuthBundle o FosCommentBundle o …  SonataAdminBundle Centralize the user events and follow the activity of users  Real user monitoring / New Relic Insight
  • 25. 25 Keep in contact with its clients: OroCRM  Client segmentation  Task and call back  Sales processing e-commerce oriented features  Abandonned carts  User monitoring
  • 26. 26
  • 27. 27 Search:  Implementation of Elasticsearch or Solr to index the PIM and take the benefit of the search engine o API REST o Search features Recommendation: up sell, cross sell…  Management of affinitiy with a product at every purchase or creatino of product list to make a simple recommendation  Design of business rules with ExpressionLanguage to associate a product Implement third-party solutions such as: Prediggo, Fredhopper, Compario…
  • 28. 28 CMS & Merchandising: Drupal 8, Sulu CMF, Bolt  Place CMS content to animate category pages  Expert content, security of payments  ESI / SSI / Hinclude / pjax / turbolinks  Content as a Service / Data as a Service Sulu.io Pagekit
  • 29. 29 Implementation of payment solutions  Paiement: Integration of a monetic supplier o PayumBundle  Use a PSP – payment service provider: be2bill, paybox… o Ease of inception in a new country o Fraud management o REST API One-click payment Payment in 3 times withouth fee Payment at deliverySimple payment Partial or total refund Cross-chanel payment Simple aknowledgement
  • 30. 30 200 pages / second and more…  Prévoir un fallback sur les pages les plus consommatrices:une version dégradée de l’application.  Plan its stateless application in order to facilitate horizontal scalability  Decoupling services and sites  Ratchet ? WebRTC ? Scalable hosting  Cluster of databases and indexes  On the fly creation: o Docker, Serf, Mesos…  Predictive auto-scaling (Scryer/Netflix) Traffic pattern:variable