- Drupal 8 Module Development
- Daniel Sipos
- 194字
- 2021-07-02 12:22:35
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 or Laravel, 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 rendering 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 has become much easier than in previous versions.
In this book, we will encounter some forms and see how they actually work in practice.
- 現代C++編程:從入門到實踐
- Mastering OpenLayers 3
- Web前端開發技術:HTML、CSS、JavaScript(第3版)
- Microsoft Exchange Server PowerShell Cookbook(Third Edition)
- 信息可視化的藝術:信息可視化在英國
- Mastering LibGDX Game Development
- Instant QlikView 11 Application Development
- Mastering Unity Shaders and Effects
- 假如C語言是我發明的:講給孩子聽的大師編程課
- Linux:Embedded Development
- Express Web Application Development
- C語言程序設計上機指導與習題解答(第2版)
- Geospatial Development By Example with Python
- 實戰Java高并發程序設計(第2版)
- C# 7.0本質論