Controllerobjects to handle requests. There are many subclasses of
Controllerthat handle common tasks, and you often create your own subclasses of
Controllerto implement application logic. Most of your logic is implemented in subclasses of
ResourceController, a controller type geared for REST API endpoints.
ApplicationChannelto configure controllers used by your application. This subclass also initializes any services your application will use to fulfill requests, like database connections or third party API connections. Most often, you use a
Routercontroller at the entry point of your application channel to modularize your application logic.
Configurationsubclasses that add type and name safety to your configuration files.
conduit servecommand or the
bin/main.dartscript. In either case, your application starts by creating multiple, memory-isolated threads that replicate your