Click here to load reader
Upload
grossum
View
146
Download
0
Embed Size (px)
Citation preview
Why Drupal? Или почему Symfony разработчику
стоит посмотреть на Drupal
AGENDA
WWW.GROSSUM.COM
• Drupal overview
• Key Benefits in Drupal 8
• Defects in Drupal
• Summary
WHAT IS DRUPAL?
WWW.GROSSUM.COM
• Drupal is a content management framework.
• Big community.
CONTENT STRUCTURE CONFIGURATION
WWW.GROSSUM.COM
• Make Models / Entities definition
• Get CRUD for them out of the box
VIEWS & WHY YOU NEED THEM
WWW.GROSSUM.COM
• VIEWS: Graphical user interface to make views of modeled data
• You need them if:
– You want a way to display a block with the 5 most recent posts of some
particular type.
– You want to display list of articles with data from related authors,
author’s friends, authors’ friend’s article, all above with some sorting or
filtering.
– You want to be able to make bulk operations with the content
REUSABILITY
WWW.GROSSUM.COM
• Data model and views can be exported / imported using
configuration management in Drupal 8 or using Features in Drupal 7
A LOT OF FEATURES FROM THE BOX
WWW.GROSSUM.COM
• A lot of modules (9562 - d7, 541 - d8):
– Panels
– organic groups with permissions for each group
– Notifications
– content import/export
– Panels
– Web forms
– Rules / Actions
• A lot of integrations with third party systems
KEY BENEFITS IN DRUPAL 8
WWW.GROSSUM.COM
• Symfony2 in core
• HttpKernel
• Routing
• EventDispatcher
• DependencyInjection
• Http foundation
• Debug Log
• Process (shell_exec)
• Serializer
• Translation
• Yaml configs
NOT IN DRUPAL 8 CORE
WWW.GROSSUM.COM
• Kernel
– FrameworkBundle
– SwiftMailerBundle
– Service configuration
– WebProfilerBundle
• Form
• Config
• BrowserKit
WEB SERVICES
WWW.GROSSUM.COM
• Exposes entities and other resources via a RESTful web API
• Allow views to be represented as resource
INLINE EDITING
• Allows you to select any editable element on the page and edit it
in-place
DEFECTS IN DRUPAL
WWW.GROSSUM.COM
• No clean deployment and staging concept
• Flexible/Slow DB structure.
• Inconsistent cache layers
SUMMARY
WWW.GROSSUM.COM
• Fast prototyping
• Problems with coding in Drupal 7, which should be fixed in Drupal 8
• Slow/Flexible system