Pawe Jdrzejewski I really like Open Source I created Sylius I - - PowerPoint PPT Presentation
Pawe Jdrzejewski I really like Open Source I created Sylius I - - PowerPoint PPT Presentation
Pawe Jdrzejewski I really like Open Source I created Sylius I co-founded Lakion I help organize PHPers d ? What does it mean to be rapid? @pjedrzejewski rapid - [ rap -id] - adjec7ve Moving, acGng, or occurring with great speed.
Paweł Jędrzejewski
I really like Open Source I created Sylius I co-founded Lakion I help organize PHPers ŁódźWhat does it mean to be rapid?
?
rapid - [rap-id] - adjec7ve
Moving, acGng, or occurring with great speed.Every startup needs an MVP.
Many of them are unpleasantly surprised with the fact that they need to maintain it aLer going live.
This is not rapid.
This is rapid.
Long-term flexibility over short-term graGficaGon from saGsfying the management or the investors.
What is an API?
?
ApplicaGon Programming Interface
SoLware-to-SoLware interfaces
- Sharing data and avoiding duplicaGon
- Decoupling funcGonality (SRP, SeparaGon of Concerns etc.)
- Allowing other people to consume our service
What kind of APIs are
- ut there?
?
CrappyAPI
„I\ don\’t\ want\ 2\ do\ this”!UserID:1!250!USD! test@example.com# With the following data sent:SOAP
REST
That being said, „REST
- r SOAP?” is a wrong
quesGon.
REST is not a protocol. It is an architectural style.
Install LIONFRAME
$ composer create-project lakion/lionframe @pjedrzejewski @pjedrzejewskiDEMO
How?
It can be plugged into an exisGng Symfony app.
Use case: Sylius E-Commerce API
Sylius API Mobile API @pjedrzejewski User APIlakion.com/lionframe
DOCS.sylius.org - Sylius Resource Bundle
THANK YOU!