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

Through the (pack)ages

C104c0724758cd86c79205032b8bc528?s=47 Emma Fabre
September 25, 2016

Through the (pack)ages

A quick walk around how to make packages-based applications and why

C104c0724758cd86c79205032b8bc528?s=128

Emma Fabre

September 25, 2016
Tweet

Transcript

  1. 1 'sup if you can read this you have very

    good vision
 congratulations
  2. WHO THE FUCK ARE YOU 2

  3. WHO THE FUCK ARE YOU MAXIME FABRE 2

  4. WHO THE FUCK ARE YOU MAXIME FABRE ‣ I'm 26

    ye too old for this shit 2
  5. WHO THE FUCK ARE YOU MAXIME FABRE ‣ I'm 26

    ye too old for this shit 2
  6. WHO THE FUCK ARE YOU MAXIME FABRE ‣ I'm 26

    ye too old for this shit ‣ Been at since 2013 2
  7. WHO THE FUCK ARE YOU MAXIME FABRE ‣ I'm 26

    ye too old for this shit ‣ Been at since 2013 ‣ I'm FRANÇAIS woop woop 2
  8. WHO THE FUCK ARE YOU MAXIME FABRE ‣ I'm 26

    ye too old for this shit ‣ Been at since 2013 ‣ I'm FRANÇAIS woop woop ‣ I take pictures, compose some music, and occasionally rage against misplaced braces 2
  9. (PACK)AGES THROUGH THE 3

  10. (PACK)AGES THROUGH THE 3 OR HOW TO KINDA FREE YOURSELF

    FROM FRAMEWORKS MAYBE YOU'LL SEE
  11. WHAT MAKES AN APPLICATION? 4

  12. WHAT MAKES AN APPLICATION? 4 CODE, YOU DOLT

  13. 2001 5

  14. 2001 5

  15. 2001 5

  16. 2001 6

  17. 2001 6 YOUR HORRENDOUS PHP3 CODE

  18. 2001 6 THE FRAMEWORK'S HORRENDOUS CODE YOUR HORRENDOUS PHP3 CODE

  19. 2001 6 THE FRAMEWORK'S HORRENDOUS CODE YOUR HORRENDOUS PHP3 CODE

  20. 2016 7

  21. 2016 7 YOUR HORRENDOUS PHP7 CODE

  22. 2016 7 THE FRAMEWORK'S HORRENDOUS CODE YOUR HORRENDOUS PHP7 CODE

  23. 2016 7 THE FRAMEWORK'S HORRENDOUS CODE YOUR HORRENDOUS PHP7 CODE

    THE FRAMEWORK'S HORRENDOUS PACKAGES
  24. 2016 7 THE FRAMEWORK'S HORRENDOUS CODE YOUR HORRENDOUS PHP7 CODE

    THE FRAMEWORK'S HORRENDOUS PACKAGES SOMEONE ELSE'S HORRENDOUS PACKAGES
  25. 2016 8 THE FRAMEWORK'S HORRENDOUS CODE YOUR HORRENDOUS PHP7 CODE

    THE FRAMEWORK'S HORRENDOUS PACKAGES SOMEONE ELSE'S HORRENDOUS PACKAGES
  26. 9

  27. 2016 10 THE FRAMEWORK'S HORRENDOUS CODE YOUR HORRENDOUS PHP7 CODE

    THE FRAMEWORK'S HORRENDOUS PACKAGES SOMEONE ELSE'S HORRENDOUS PACKAGES
  28. 2016 10 THE FRAMEWORK'S HORRENDOUS CODE YOUR HORRENDOUS PHP7 CODE

    THE FRAMEWORK'S HORRENDOUS PACKAGES SOMEONE ELSE'S HORRENDOUS PACKAGES
  29. 2016 10 THE FRAMEWORK'S HORRENDOUS CODE YOUR HORRENDOUS PHP7 CODE

    THE FRAMEWORK'S HORRENDOUS PACKAGES SOMEONE ELSE'S HORRENDOUS PACKAGES tough luck
 buddy
  30. 11

  31. 11

  32. ANGULAR, MORE LIKE ANGULAME AMARIGHT GUYZ XOXO GOSSIP GIRL 12

  33. ANGULAR, MORE LIKE ANGULAME AMARIGHT GUYZ XOXO GOSSIP GIRL 12

    can i haz angular 2
  34. ANGULAR, MORE LIKE ANGULAME AMARIGHT GUYZ XOXO GOSSIP GIRL 12

    can i haz angular 2 AHAHAHA
 HAHAHA
  35. ANGULAR, MORE LIKE ANGULAME AMARIGHT GUYZ XOXO GOSSIP GIRL 12

    can i haz angular 2 AHAHAHA
 HAHAHA
  36. JOOMLARAVELPRESSUPAL 13

  37. JOOMLARAVELPRESSUPAL 13 Joomla_wp_registerRoute(Laravel::get(), $mY_rouTE);

  38. JOOMLARAVELPRESSUPAL 13 Joomla_wp_registerRoute(Laravel::get(), $mY_rouTE);

  39. 2016 14 YOUR HORRENDOUS PHP7 CODE SOMEONE ELSE'S HORRENDOUS PACKAGES

  40. 2016 14 YOUR HORRENDOUS PHP7 CODE

  41. 2016 14 YOUR HORRENDOUS PHP7 CODE ROUTER DATABASE HTTP CONTAINER

    ETC
  42. 2016 14 YOUR HORRENDOUS PHP7 CODE ROUTER DATABASE HTTP CONTAINER

    ETC ROUTER
  43. 2016 14 YOUR HORRENDOUS PHP7 CODE ROUTER DATABASE HTTP CONTAINER

    ETC
  44. OK HOW DO I MAKE DO THE THING THAT YOU

    SAY I NEED DO 15
  45. HOW DO I MAKE DO THE THING THAT YOU SAY

    I NEED DO I. IDENTIFY YOUR NEEDS 16
  46. HOW DO I MAKE DO THE THING THAT YOU SAY

    I NEED DO I. IDENTIFY YOUR NEEDS ▸ HTTP 16
  47. HOW DO I MAKE DO THE THING THAT YOU SAY

    I NEED DO I. IDENTIFY YOUR NEEDS ▸ HTTP ▸ Routing 16
  48. HOW DO I MAKE DO THE THING THAT YOU SAY

    I NEED DO I. IDENTIFY YOUR NEEDS ▸ HTTP ▸ Routing ▸ Database interactions 16
  49. HOW DO I MAKE DO THE THING THAT YOU SAY

    I NEED DO I. IDENTIFY YOUR NEEDS ▸ HTTP ▸ Routing ▸ Database interactions ▸ Dependencies management 16
  50. HOW DO I MAKE DO THE THING THAT YOU SAY

    I NEED DO I. IDENTIFY YOUR NEEDS ▸ HTTP ▸ Routing ▸ Database interactions ▸ Dependencies management ▸ etc. 16
  51. HOW DO I MAKE DO THE THING THAT YOU SAY

    I NEED DO II. FIND STANDALONE PACKAGES 17
  52. HOW DO I MAKE DO THE THING THAT YOU SAY

    I NEED DO II. FIND STANDALONE PACKAGES ▸ For isolated needs, just look on Packagist 17
  53. HOW DO I MAKE DO THE THING THAT YOU SAY

    I NEED DO II. FIND STANDALONE PACKAGES ▸ For isolated needs, just look on Packagist ▸ If you only find framework-specific packages, check what they're built upon 17
  54. HOW DO I MAKE DO THE THING THAT YOU SAY

    I NEED DO II. FIND STANDALONE PACKAGES ▸ For isolated needs, just look on Packagist ▸ If you only find framework-specific packages, check what they're built upon ▸ Whenever possible, try to look for PSR packages 17
  55. HOW DO I MAKE DO THE THING THAT YOU SAY

    I NEED DO II. FIND STANDALONE PACKAGES ▸ For isolated needs, just look on Packagist ▸ If you only find framework-specific packages, check what they're built upon ▸ Whenever possible, try to look for PSR packages ▸ If there is no PSR for what you need, code to an interface (but you already should be so that's ok) 17
  56. PSRS ARE KINDA COOL I GUESS hannes probably HOW DO

    I MAKE DO THE THING THAT YOU SAY I NEED DO 18
  57. HOW DO I MAKE DO THE THING THAT YOU SAY

    I NEED DO III. KNOW YOUR PSRS 19
  58. HOW DO I MAKE DO THE THING THAT YOU SAY

    I NEED DO III. KNOW YOUR PSRS ▸ Autoloading: PSR4 19
  59. HOW DO I MAKE DO THE THING THAT YOU SAY

    I NEED DO III. KNOW YOUR PSRS ▸ Autoloading: PSR4 ▸ HTTP: PSR7 and PSR15 19
  60. HOW DO I MAKE DO THE THING THAT YOU SAY

    I NEED DO III. KNOW YOUR PSRS ▸ Autoloading: PSR4 ▸ HTTP: PSR7 and PSR15 ▸ Container: container-int (PSR11) and definition-int 19
  61. WHO NEEDS SLIDES ANYWAY also hannes probably HOW DO I

    MAKE DO THE THING THAT YOU SAY I NEED DO 20
  62. 21

  63. 21

  64. 22

  65. anahkiasen
 anahkiasen
 anahkiasen
 anahkiasen
 anahkiasen
 anahkiasen
 anahkiasen
 anahkiasen
 anahkiasen facebook.com/


    twitter.com/
 github.com/
 flickr.com/
 last.fm/user/
 steamcommunity.com/id/
 blogs.wefrag.com/
 soundcloud.com/
 trakt.tv/users/ thnk u • ◡•