Chapter 10. Designing the application

In this chapter you’ll...

  • Design deftemplates for the Tax Forms Advisor
  • Partition the application with defmodules
  • Write code to ask questions of the user

In this chapter, you will begin to develop the Tax Forms Advisor system described in chapter 9. You will decide what the facts should look like and how to divide the rules into modules (when you write them in the next chapter). You’ll also design some I/O functions and other infrastructure the rules in the system need. In chapter 11, you’ll write the actual rules on the foundation you develop here.

The design process you’ll follow in this chapter is idealized: There are no false starts or backtracking. In truth, designing a system like this usually ...

Get Jess in Action 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.