Building a Framework by Example
This chapter combines all the insight and architectural knowledge from Parts 1 and 2 of the book and puts it into practice. Follow along as we develop a simple JavaScript testing framework based on the patterns and best techniques we have seen so far. The practical approach will enable us to learn by example, as it is a great educational approach for software topics of this kind. The framework we build here is a new project developed specifically for this chapter. We can treat this new sample framework project as a “Hello World” exercise for JavaScript framework development. Our aim through this exercise is to train our abilities and apply them later on in real-world projects.
This chapter will cover the following topics for building a framework by example:
- First, we’ll structure our initial approach for a new framework project, including determining the goals, stakeholders, and branding for creating something from scratch...