Sách tập tành học Learning Drupal 9 As A Framework Symfony
Table of contents
>> Sách Hay Drupal 7 To 9 - Time To Make The Move
Part 1: Drupal developer essentials
- Composer 6
- Basic composer commands 8
- Comparing with drupal 7 and earlier 9
- Patching with composer 10
- Git best practices 12
- CLI tools 14
- Development & debug 19
- Xdebug 21
- Webprofiler 23
- Configuration management 26
- Basic configuration management 26
- Creating custom configuration settings 30
- Different configuration per environment 34
- Scenario A: Install a module on development, but not on production. 35
- Scenario B: disable caching on development, but not on production. 36
- Scenario C: enable a module on both development and production, but ignore its configuration. 37
- Reading configuration objects in your code 39
Part 2: Project code and set-up
- Seed data 40
- Project set-up 44
Part 3: Custom entities 101, CRUD operations, workflow states and access 50
- Content entities 51
- Building our first content entity 52
- Securing access of our entities 57
- Adding the create/edit/delete forms (CRUD) 62
- Views integration of our custom entity to add a listing 68
- Getting up-to-speed: making the entity fieldable 74
- Media field with library 81
- Adding fields to the custom entity via the UI 86
- Adding workflows and moderation to custom entities 91
- Change entity access based on workflow states 94
- Adding views plugins: custom fields and operation links 95
- Adding a 104
- custom controller for direct publishing 104
- Building an overview page 108
- Adding a custom views filter based on moderation state 113
- Optimize the entity teaser with custom variables for twig 119
- Adding css to views 122
- Adding a user-friendly multistep form for entity creation 126
- Add custom actions to the form 133
- Conditional fields in the Form API 139
- Updating our data seeds 141
Part 4: building the application. Storing, validating and rendering data
- Add dynamic menu links with Menu plugins 144
- Building the offer page with twig: theming a custom content entity 147
- Adding a dynamic bidding form to our page with an advanced block plugin 149
- Adding site-wide css and javascript 159
- Adding a code-only bid entity 163
- Saving the bid entities on form submission 167
- Form validation based on highest bids 169
- Add dynamic variables to our entity teaser 172
- Validating the entity with constraints 175
- Displaying all bids in a dynamically rendered table 178
- Integrating the core revision system into the bidding process to raise a bid 184
- Deleting a bid with a core dialog pop-up 190
Part 5: Transitions, Events, Caching and user registration
- User notifications on transition events 197
- Update entire view with custom ajax callback 200
- OO in practice: deletion of bid and notification entities when an offer gets deleted 205
- Caching in-depth 207
- Caching of views pages 208
- Caching of custom entity pages 209
- Use of cache contexts and cache tags for caching custom blocks 211
- Use of cacheable dependencies in render arrays 213
- Invalidate cache of another entity after saving 217
- Dispatch custom Events with an EventSubscriber to redirect users 219
- Customize the user registration process with a RouteSubscriber 223
- Finishing up the platform 232
Download Đính kèm
Attachment | Size |
---|---|
drupal-9.pdf | 7.84 MB |
drupal-9-book-extras.zip | 105.67 KB |
Bạn thấy bài viết này như thế nào?