In this chapter, we created a full CRUD application. We started by creating a database schema inside of SQLite. Then, we created a Catalyst model for accessing this database. As SQLite doesn't handle foreign key relations by itself, we added information about the relations between tables directly to the DBIC schema files. Once that was set up, we customized the
TTSite View and created a page that listed all people and addresses in the database. Then, we created a Controller to edit, add, and delete people. The
add actions were simple forms, so we used
Catalyst::Controller::FormBuilder to generate and validate the forms automatically. After this Controller was built, we created a similar one to add, edit, and update addresses, ...