Identifying Circuits

So far, we have covered seven pages and found a lot of fuseactions. Some fuseactions seem to be naturally similar, such as the checkout process and the reviews pages. Those collections of fuseactions are ideal candidates for becoming circuits.

By grouping fuseactions into circuits, we can concentrate code in one location. For example, the checkout process should not occur unless the shopper’s basket has five items. In addition, certain sections of the site are only accessible to administrators.

Let’s take a look at four more pages (Figures 14.814.11) to identify the fuseactions and group them into circuits. Note that we did not circle the menu links at the top (including My Account, Home, Best Sellers, and so on). It ...

Get Fusebox: Developing ColdFusion® Applications 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.