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

How Silex and Cilex became the glue for a media transcoding application (PHPNW13)

How Silex and Cilex became the glue for a media transcoding application (PHPNW13)

Symfony2 is awesome, but can be overkill for some applications. During this talk, you will hear about a use case for using the Silex microframework for web and the Cilex microframework for CLI, and how these frameworks combined became the glue to the components of the media transcoding application that powers the majority of on-demand adaptive streaming for the Dutch public broadcasting organization NPO.

A8f72e32766355f12a56ede9aaa0ee78?s=128

Stefan Koopmanschap

October 05, 2013
Tweet

Transcript

  1. Cilex & Silex became the glue for a media transcoding

    application How Sunday, October 6, 13
  2. Stefan Koopmanschap Sunday, October 6, 13

  3. Stefan Koopmanschap • PHP developer since ’97/’98 Sunday, October 6,

    13
  4. Stefan Koopmanschap • PHP developer since ’97/’98 • Ingewikkeld and

    Techademy Sunday, October 6, 13
  5. Stefan Koopmanschap • PHP developer since ’97/’98 • Ingewikkeld and

    Techademy • Several PHP communities Sunday, October 6, 13
  6. Stefan Koopmanschap • PHP developer since ’97/’98 • Ingewikkeld and

    Techademy • Several PHP communities • Regular conference speaker Sunday, October 6, 13
  7. Managing expectations Sunday, October 6, 13

  8. Cilex Silex Sunday, October 6, 13

  9. cc-by 2.0 homespothq.com Sunday, October 6, 13

  10. The problem Sunday, October 6, 13

  11. Sunday, October 6, 13

  12. Sunday, October 6, 13

  13. media management transcoding Sunday, October 6, 13

  14. media management transcoding Sunday, October 6, 13

  15. media management transcoding transcoding management Sunday, October 6, 13

  16. media management transcoding transcoding management Sunday, October 6, 13

  17. media management transcoding transcoding management Sunday, October 6, 13

  18. Deciding on technology Sunday, October 6, 13

  19. What happens? Sunday, October 6, 13

  20. What happens? • Mediamanagement delivers XML and source file Sunday,

    October 6, 13
  21. What happens? • Mediamanagement delivers XML and source file •

    Transcoding expects sourcefile and API call Sunday, October 6, 13
  22. Choosing the framework Sunday, October 6, 13

  23. Choosing the framework • Plain PHP Sunday, October 6, 13

  24. Choosing the framework • Plain PHP • Symfony2 Sunday, October

    6, 13
  25. Choosing the framework • Plain PHP • Symfony2 • ZFTool

    Sunday, October 6, 13
  26. Choosing the framework • Plain PHP • Symfony2 • ZFTool

    • Cilex Sunday, October 6, 13
  27. Cilex + PDO Sunday, October 6, 13

  28. The task at hand Sunday, October 6, 13

  29. Tasks Sunday, October 6, 13

  30. Tasks • Monitor Sunday, October 6, 13

  31. Tasks • Monitor • Validate Sunday, October 6, 13

  32. Tasks • Monitor • Validate • Send to Codem Sunday,

    October 6, 13
  33. Tasks • Monitor • Validate • Send to Codem •

    Wait for feedback Sunday, October 6, 13
  34. Tasks • Monitor • Validate • Send to Codem •

    Wait for feedback • Finalize Sunday, October 6, 13
  35. Tasks • Monitor • Validate • Send to Codem •

    Wait for feedback • Finalize • Publish Sunday, October 6, 13
  36. Video Sunday, October 6, 13

  37. Video Bitrate Bitrate Bitrate Bitrate Sunday, October 6, 13

  38. media management transcoding transcoding management Sunday, October 6, 13

  39. media management transcoding transcoding management Sunday, October 6, 13

  40. media management transcoding transcoding management Sunday, October 6, 13

  41. media management transcoding transcoding management Sunday, October 6, 13

  42. media management transcoding transcoding management Sunday, October 6, 13

  43. media management transcoding transcoding management Sunday, October 6, 13

  44. media management transcoding transcoding management Sunday, October 6, 13

  45. media management transcoding transcoding management Sunday, October 6, 13

  46. media management transcoding transcoding management Sunday, October 6, 13

  47. media management transcoding transcoding management Sunday, October 6, 13

  48. media management transcoding transcoding management Sunday, October 6, 13

  49. media management transcoding transcoding management Sunday, October 6, 13

  50. media management transcoding transcoding management Sunday, October 6, 13

  51. media management transcoding transcoding management Sunday, October 6, 13

  52. media management transcoding transcoding management Sunday, October 6, 13

  53. media management transcoding transcoding management Sunday, October 6, 13

  54. media management transcoding transcoding management Sunday, October 6, 13

  55. media management transcoding transcoding management Sunday, October 6, 13

  56. media management transcoding transcoding management Sunday, October 6, 13

  57. media management transcoding transcoding management Sunday, October 6, 13

  58. media management transcoding transcoding management Sunday, October 6, 13

  59. Changing requirements Sunday, October 6, 13

  60. media management transcoding transcoding management polling Sunday, October 6, 13

  61. media management transcoding transcoding management push Sunday, October 6, 13

  62. transcoding management Cilex Sunday, October 6, 13

  63. transcoding management Cilex Silex Sunday, October 6, 13

  64. Cilex + PDO + Silex Sunday, October 6, 13

  65. Changing requirements Sunday, October 6, 13

  66. Changing requirements (again) Sunday, October 6, 13

  67. Functional application management Sunday, October 6, 13

  68. Functional application management • Quickly see recent jobs Sunday, October

    6, 13
  69. Functional application management • Quickly see recent jobs • See

    which jobs failed, and why Sunday, October 6, 13
  70. Functional application management • Quickly see recent jobs • See

    which jobs failed, and why • Search for old jobs Sunday, October 6, 13
  71. Cilex + PDO + Silex + Twig Sunday, October 6,

    13
  72. The ever-changing requirements Sunday, October 6, 13

  73. Choose your tool wisely Sunday, October 6, 13

  74. Start out simple Sunday, October 6, 13

  75. https://joind.in/9306 Sunday, October 6, 13