Chapter 16: Web Application Design Principles
One of Ruby's most common uses is programming web applications, and there are some design principles that are specific to web applications. Which web framework you use, how you structure your application, and whether you choose a mostly client-side or mostly server-side design all have a large effect on the maintainability of your web application. Likewise, it is important to understand the trade-offs of flat and nested URL designs before deciding which URL design works best for your web application.
In this chapter, we will cover the following topics:
- Choosing between client-side and server-side design
- Deciding on a web framework
- Designing URL paths
- Structuring with monoliths, microservices, and island chains
By the end of this chapter, you'll have a better understanding of Ruby web development principles, which will allow you to design better web applications.