As indicated in the previous recipe, every kind of app can contain a
lib folder, which at the very least contains the model classes. These model classes are very important because they form the backbone of your project, so they must be accessible in your entire application. You can do this by placing them at the top in a
lib folder, or even better in the lib/model. This central position will also make them stand out and easy to find for other readers of your code.
Take a look at the structure of the
bank_terminal project. The model classes
BankAccount are placed in the
lib\model folder. Give your project a name in the
Then, use the same name for ...