Đọc sách, download PDF trực tuyến

Download: drupal-9_0.pdf
Sách tập tành học Learning Drupal 9 As A Framework Symfony

Sách tập tành học Learning Drupal 9 As A Framework Symfony

Share Everywhere

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?
1 reaction

Add new comment

Restricted HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.

Bài viết liên quan

Poly English Viet Nam - Hệ thống Anh ngữ dành cho trẻ em

Ứng dụng hướng nghiệp cho trẻ độc quyền tại POLY

Với Smart Prediger - sản phẩm độc quyền của POLY, ứng dụng trong việc dự đoán nghề nghiệp cho bé dựa trên nghiên cứu của Tiến sĩ Dale. J. Prediger
Môn Toán và Khoa học Cambridge từng làm khó dễ rất đông trẻ em

Môn Toán và Khoa học Cambridge từng làm khó dễ rất đông trẻ em

Giúp con học giỏi 3 môn hệ Cambridge Primary: Math, Science, Global Enlish ngay hôm nay bằng phương pháp độc quyền LEAD Gifted & Talented Education
Nghỉ dịch kéo dài, các con không được đến trường, khiến trẻ

Nghỉ dịch kéo dài, các con không được đến trường, khiến trẻ

Hiểu được những khó khăn của cha mẹ trong việc tương tác, rèn luyện cho con tại nhà, Tân Thời Đại triển khai một số chương trình hoạt động đặc thù
Join 100,000+ students at PurpleTutor & enroll your child for coding classes

Join 100,000+ students at PurpleTutor & enroll your child for coding classes

Studies have shown that coding increases logic by 70% and promotes creativity in young minds
MindX

MindX Teens - Technology & startup school học lập trình cùng MindX

Trong thời đại công nghệ hiện nay, nếu không có kỹ năng về máy tính, lập trình, hệ thống thì sẽ rất khó hoà nhập với xã hội