Upgrade to Pro — share decks privately, control downloads, hide ads and more …

A future without frameworks

A future without frameworks

Frameworks serve a purpose, but the further your application has to grow, the more frameworks "get in the way". In this talk I'll go through the evolution towards a service oriented architecture.

While frameworks allow us to quickly build an application while maintaining a consistent structure, marrying our entire codebase to a specific way of doing things may sometimes work against our own interests. This talk uses the Unix philosophy to propose a different approach.

Mariano Iglesias

December 06, 2014
Tweet

More Decks by Mariano Iglesias

Other Decks in Programming

Transcript

  1. “If I could create Symfony from scratch today, I'd do

    it totally different.” Fabien Potencier
  2. “MVC, MVVM, ADR, are all bad jokes. They solve the

    easy problem, and forget about the hard one.” Anthony Ferrara
  3. If your framework did not get in the way, don't

    worry, it will (hopefully). #FACT
  4.  Laravel: 273k lines, 0.19 complexity.  Silex + Doctrine:

    109k lines, 0.19 complexity.  Slim + Illuminate (ORM): 42k lines, 0.15 complexity.  Slim + PDO: 21k lines, 0.13 complexity
  5.  Write programs that do one thing, and do it

    well.  Write programs to work together.  Write programs to handle text streams, because that is a universal interface. Doug McIlroy, inventor of the Unix pipe
  6. The more your application grows, the more you'll want to

    break it into pieces (aka SOA) #FACT
  7.  Use Gearman/RabbitMQ to implement worker queues.  Decoupling in

    code, and business logic.  Does it all have to be PHP? No, use the right tool for each job.
  8.  Look for a package in packagist.org  Found one

    but misses something? Collaborate.  Nothing there? Create (and submit) your own.