- Drupal 8 Module Development
- Daniel Sipos
- 192字
- 2021-07-02 15:45:11
Forms
Unless your site has three pages and five paragraphs of text, the likelihood that you will need to capture user input via some type of form is very high. Also, if you've been coding PHP applications, you know how forms have always been a pain from the point of view of securely and efficiently rendering and processing the submitted data. As soon as you use a PHP framework such as Symfony, you will note that an API is in place to take much of that load off your shoulders.
The same goes with Drupal 8 and its powerful Form API. Historically, it has been a great abstraction over having to output your own form elements and deal with posted values. It allows you to define your own form definition in OOP and handle validation and submission in a logical way. Its render and processing is taken care of by Drupal securely, so you don't have to worry about any of that. In Drupal 8, theming form elements have become much easier than in previous versions.
In this book, we will encounter some forms and see how they actually work in practice.
- 算法零基礎一本通(Python版)
- Mastering SVG
- Learning Python Design Patterns(Second Edition)
- 單片機應用技術
- TypeScript圖形渲染實戰(zhàn):基于WebGL的3D架構(gòu)與實現(xiàn)
- Highcharts Cookbook
- C# 8.0核心技術指南(原書第8版)
- Kotlin開發(fā)教程(全2冊)
- Building Wireless Sensor Networks Using Arduino
- Unity 2018 Augmented Reality Projects
- Zabbix Performance Tuning
- Angular Design Patterns
- JavaScript編程精解(原書第2版)
- Visual Basic程序設計實驗指導及考試指南
- 面向?qū)ο蟪绦蛟O計及C++(第3版)