Web application layout creation techniques
As we move into developing web applications, the logic and screens will become complex, resulting in the need for custom templates beyond the conventional ones. There are a wide range of techniques for putting such functionality into the WordPress code. Each of these techniques have their own pros and cons. Choosing the appropriate technique is vital in avoiding potential bottlenecks in large-scale applications. Here is a list of techniques for creating dynamic content within WordPress applications:
- Static pages with shortcodes
- Page templates
- Custom templates with custom routing
Shortcodes and page templates
We discussed static pages with shortcodes and page templates in Chapter 2, Implementing Membership Roles, Permissions, and Features. The shortcode technique should be used carefully in web applications due to the lack of control it displays within the source code.
In the preceding two techniques, the site admin has the capability of changing the structure...