6

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 ...

Get Building Your Own JavaScript Framework now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.