Symfonising with Drupal 8: Symfony2, Drupal 8, PHP-FIG and Why it Matters

  • 1,853 views
Uploaded on

Symfonising with Drupal 8 looks at a number of theme. Firstly how Drupal 8 is different, why Drupal 8 is using Symfony2 and why PHP-FIG is a great idea. …

Symfonising with Drupal 8 looks at a number of theme. Firstly how Drupal 8 is different, why Drupal 8 is using Symfony2 and why PHP-FIG is a great idea.

Finally we look at what this means for Drupal, Symfony2 and the wider PHP community.

More in: Internet , Technology , Design
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
1,853
On Slideshare
0
From Embeds
0
Number of Embeds
5

Actions

Shares
Downloads
3
Comments
0
Likes
2

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Symfonising with Drupal 8: Becoming part of the Orchestra Will Hall http://www.willhallonline.co.uk @willhallonline
  • 2. Will Hall Online Drupal development since 2009 Experience with a range of clients and purposes Drupal Commerce, Solr Search, Drupal Migration, Multisites, Themeing... Maintain & administer your site? Development & Design that Delivers Will Hall http://www.willhallonline.co.uk @willhallonlineSymfonising with Drupal 8
  • 3. The History of... Musical notation Will Hall http://www.willhallonline.co.uk @willhallonline
  • 4. Pre-historic Music Notation Music as oral history. Unable to be communicated beyond time/space. Will Hall http://www.willhallonline.co.uk @willhallonlineSymfonising with Drupal 8
  • 5. Early Music Notation The earliest system of modern european Notation, attributed to Boethius, 480-525 AD, the Roman philosopher, seems to have been the placing of letters over the syllables. Will Hall http://www.willhallonline.co.uk @willhallonlineSymfonising with Drupal 8 http://musicofyesterday.com/historical-music-theory/brief-history-notation/
  • 6. Early Music Notation Pope Gregory the Great, 600AD changed this system, uppercase letters and lowercase were used, an improvement, using only the first seven letters of the alphabet. Will Hall http://www.willhallonline.co.uk @willhallonlineSymfonising with Drupal 8 http://musicofyesterday.com/historical-music-theory/brief-history-notation/
  • 7. Early Music Notation Another plan was to use a variable number of lines, writing the syllables in the spaces. This developed the idea of music moving higher and lower dependant on pitch. Will Hall http://www.willhallonline.co.uk @willhallonlineSymfonising with Drupal 8 http://musicofyesterday.com/historical-music-theory/brief-history-notation/
  • 8. Early Musical Notation These methods indicated the pitch sufficiently, but not the duration of the sounds. Will Hall http://www.willhallonline.co.uk @willhallonlineSymfonising with Drupal 8
  • 9. Medieval Music Notation Suggesting characters to indicate duration is usually attributed to Franco of Cologne, 12th century. In the 13th century the notes in use were the Longa, Brevis and Semibrevis, Duplex Longa, or Maxima, introducing the Minima, and the Semiminima first occur about 1300. Will Hall http://www.willhallonline.co.uk @willhallonlineSymfonising with Drupal 8 http://musicofyesterday.com/historical-music-theory/brief-history-notation/
  • 10. Drupal 8 Will Hall http://www.willhallonline.co.uk @willhallonline
  • 11. Highlights of Drupal 8 Views in core Will Hall http://www.willhallonline.co.uk @willhallonlineSymfonising with Drupal 8
  • 12. Highlights of Drupal 8 Wysiwyg Editor in core Will Hall http://www.willhallonline.co.uk @willhallonlineSymfonising with Drupal 8
  • 13. Highlights of Drupal 8 Entity reference, email, date fields in core Will Hall http://www.willhallonline.co.uk @willhallonlineSymfonising with Drupal 8
  • 14. Highlights of Drupal 8 simplytest.me (demo) Will Hall http://www.willhallonline.co.uk @willhallonlineSymfonising with Drupal 8
  • 15. Symfony2 Will Hall http://www.willhallonline.co.uk @willhallonline
  • 16. What is Symfony2? High Performance PHP Framework for Web Development http://symfony.com Will Hall http://www.willhallonline.co.uk @willhallonlineSymfonising with Drupal 8
  • 17. What does it do? ● Web services ● REST server ● Bundles to extend ● Comprised of a set of non-dependant elements Will Hall http://www.willhallonline.co.uk @willhallonlineSymfonising with Drupal 8
  • 18. Why Symfony2? ● Established community ● Mature codebase ● Non dependant nature Will Hall http://www.willhallonline.co.uk @willhallonlineSymfonising with Drupal 8
  • 19. Symfony Components In Drupal 8 Will Hall http://www.willhallonline.co.uk @willhallonline
  • 20. Symfony Components HttpKernel, HttpFoundation & EventDispatcher ● Streamlining the process of converting a Request into a Response YAML ● Storing and retrieving configuration Routing ● URL routing stored in YAML Twig ● Theme engine Serializer, ClassLoader, DependencyInjection, Validator Will Hall http://www.willhallonline.co.uk @willhallonlineSymfonising with Drupal 8
  • 21. PHP Framework Interop Group Will Hall http://www.willhallonline.co.uk @willhallonline
  • 22. What is FIG? The idea behind the group is for project representatives to talk about the commonalities between our projects and find ways we can work together. Our main audience is each other, but we’re very aware that the rest of the PHP community is watching. Will Hall http://www.willhallonline.co.uk @willhallonlineSymfonising with Drupal 8
  • 23. PHP-FIG: Member projects CakePHP, Composer, Doctrine, Drupal, eZ Publish, TYPO3 Flow, Joomla, Laravel, Lithium, PEAR, Phalcon, Phing, phpBB, phpDocumentor, PrestaShop, PyroCMS, SugarCRM, Symfony2, Wikidata, Yii, Zend Framework 2 (and more) Will Hall http://www.willhallonline.co.uk @willhallonlineSymfonising with Drupal 8
  • 24. PSR PHP Specification Request PSR-0, PSR-1, PSR-2, PSR-3, PSR-4 Standardised PHP Will Hall http://www.willhallonline.co.uk @willhallonlineSymfonising with Drupal 8
  • 25. What does this mean? Wouldn't it be great if you could understand other projects. Wouldn't it be great if I could take something written in [X] and use it in [Y]. Will Hall http://www.willhallonline.co.uk @willhallonlineSymfonising with Drupal 8
  • 26. Why Symfony2 In Drupal 8? Will Hall http://www.willhallonline.co.uk @willhallonline
  • 27. Code stats Drupal (http://infogr.am/Drupal-Code-Base?src=web) Will Hall http://www.willhallonline.co.uk @willhallonlineSymfonising with Drupal 8 Version Size (mb) Size (files) Lines (php / test / js / css) Comments Modules (prev/new/gone) Drupal 6 3.3 467 47182 / 0 / 2363 / 4305 24129 26 / 8 / -3 Drupal 7 11.4 1056 93750 / 77380 / 5275 / 9221 90683 30 / 11 / -4 Drupal 8 27.8 6608 237198 / 124456 / 37587 / 10817 247597 36 / 26 / -3 Drupal 8 (no vendors) 19.5 3949
  • 28. Code Stats Maintain THAT! Will Hall http://www.willhallonline.co.uk @willhallonlineSymfonising with Drupal 8
  • 29. Idea Wouldn't it be great if I could take something written in [X] and use it in [Y]. Will Hall http://www.willhallonline.co.uk @willhallonlineSymfonising with Drupal 8
  • 30. Not finished yet! But it is not finished yet. Will Hall http://www.willhallonline.co.uk @willhallonlineSymfonising with Drupal 8
  • 31. What have we learnt? Will Hall http://www.willhallonline.co.uk @willhallonline
  • 32. Early Musical Notation Musical notation exists to transfer ideas/music from one person to another. It enables the player to understand the composers musical idea without them having to explain it. Will Hall http://www.willhallonline.co.uk @willhallonlineSymfonising with Drupal 8
  • 33. Musical Standardisation Standardisation is a process of evolution and iteration. Taking the best ideas from different people and amalgamating them into each other. Will Hall http://www.willhallonline.co.uk @willhallonlineSymfonising with Drupal 8
  • 34. Drupal 8 & Symfony2 Hopefully all projects can work together to make stuff better/faster/more secure. And we can focus on making PHP better for everyone? Will Hall http://www.willhallonline.co.uk @willhallonlineSymfonising with Drupal 8
  • 35. But... But it is not finished yet. Will Hall http://www.willhallonline.co.uk @willhallonlineSymfonising with Drupal 8
  • 36. Questions? Will Hall http://www.willhallonline.co.uk @willhallonline