Building a Real API Using Command Pattern

Anderson "Duodraco" Casimiro (24.Oct.2017 at 17:15, 1 hr )
Talk at ZendCon 2017 (English - US)

Rating: 4 of 5

It is. We'll start from a simple Symfony Microkernel application. Then change the Kernel to use Controllers as Commands and build classes to serve Data and Interaction to endpoints. Then we'll create tests for logic and behavior. Then we'll create more routes. Then we'll connect to a database. Then we'll improve it more. The intention is not to show "how to build an API from scratch" but evolve a Symfony Microkernel project as a Flexible Framework and explore more possibilities using Command pattern to split HTTP logic from business logic.

Who are you?

Claim talk

Talk claims have been moved to the new Joind.in site.

Please login to the new site to claim your talk

Want to comment on this talk? Log in or create a new account or comment anonymously

Write a comment

 
Please note: you are not logged in and will be posting anonymously!
= two plus six

Comments

Rating: 5 of 5

24.Oct.2017 at 17:51 by Random User (4 comments) via Web2 LIVE

cool project, nice talk, well done

Rating: 4 of 5

25.Oct.2017 at 13:21 by William Simpson (4 comments) via Web2 LIVE

A really interesting talk that made me think both about the tools I was using and the approach I have to building APIs. There's definitely a lot to take away from this, my only criticism is that it seemed like there was almost too much content to cover in the allotted time.

Rating: 3 of 5

26.Oct.2017 at 16:28 by John (25 comments) via Web2 LIVE

interesting idea, but I had trouble understanding what was motivating it. I did not understand why the need for a separation of commands and handlers and introduction of command bus.

© Joind.in 2018