Web application layout creation techniques
As we move into developing web applications, the logic and screens will become complex, resulting in the need of custom templates beyond the conventional ones. There is 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 shortcodes technique should not be used in web applications due to the lack of control it displays within the source code. Even though page templates are not the best solution, we can use them to cater for advanced...