Divergence Framework Documentation Table of Contents Getting Started Server Prerequisites Bootstrap a New Project How to Bootstrap Manually (Advanced) Establish Your Classes Directory Configure Database Access Configuring nginx or apache2 Servers Architectural Concepts Request Respond Emit Tree Routing Command Line Tool Installation Initializing a Project Testing Your Database Config Change Your Database Config Tool Usage Reference Agentic MVP Guide Rules For The Agent Minimum Structure Web Setup SQLite MVP Setup MySQL MVP Setup CLI Setup Minimum JSON-To-DB Example Project Structure Load Order Folder Structure The App Class Configs Development & Production Error Handling ORM Model Architecture Making a Basic Model Create, Update, and Delete Versioning Relationships Relationships Reference Supported Field Types ORM Typing Explanation Canary Model - An Example Utilizing Every Field Type Validation Event Binding Advanced Techniques Controllers Intro to Tree Routing RequestHandler Your Own Controllers RecordsRequestHandler Building an API Permissions Security JSON API Reference Browse (Read Many) One Record (Read One) Edit One Record Create One Record Delete One Record Create or Edit Multiple Records Delete Multiple Records Views Responding with a Template Security User Model Session Model Authentication Logged-In State Binding Permissions Practical Minimum Developing Get the Source Code Unit Testing Style Guide Addendum About