Refactoring the boarding app
This chapter’s code focuses on a pair of applications for Cloudy Skies Airline:
- A Boarding Status Display app that tells the user if it’s time for them to board their flight based on the current boarding group and the person’s ticket, military status, and whether or not they need assistance getting down the jetway.
- A Boarding Kiosk app that allows airline employees to view the passengers scheduled to be on the flight and provides information regarding whether each passenger has boarded. Figure 3.1 shows the application in action:
Figure 3.1 – The Boarding Kiosk app
Since we’re exploring not one but two applications, we’ll meet the application code in small chunks as we progress through this chapter. However, feel free to peruse it yourself on GitHub if you’d like to orient yourself first.
As we go through this chapter, we’ll take its existing functioning...