> For the complete documentation index, see [llms.txt](https://coldbox.ortusbooks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://coldbox.ortusbooks.com/v5.x-1/the-basics.md).

# The Basics

- [Request Context](https://coldbox.ortusbooks.com/v5.x-1/the-basics/request-context.md)
- [Routing](https://coldbox.ortusbooks.com/v5.x-1/the-basics/routing.md)
- [Requirements](https://coldbox.ortusbooks.com/v5.x-1/the-basics/routing/requirements.md)
- [Rewrite Rules](https://coldbox.ortusbooks.com/v5.x-1/the-basics/routing/requirements/rewrite-rules.md)
- [Application Router](https://coldbox.ortusbooks.com/v5.x-1/the-basics/routing/application-router.md)
- [Routing DSL](https://coldbox.ortusbooks.com/v5.x-1/the-basics/routing/routing-dsl.md)
- [Routing By Convention](https://coldbox.ortusbooks.com/v5.x-1/the-basics/routing/routing-dsl/routing-by-convention.md)
- [Pattern Placeholders](https://coldbox.ortusbooks.com/v5.x-1/the-basics/routing/routing-dsl/pattern-placeholders.md)
- [Routing Methods](https://coldbox.ortusbooks.com/v5.x-1/the-basics/routing/routing-dsl/routing-methods.md)
- [Resourceful Routes](https://coldbox.ortusbooks.com/v5.x-1/the-basics/routing/routing-dsl/resourceful-routes.md)
- [Named Routes](https://coldbox.ortusbooks.com/v5.x-1/the-basics/routing/routing-dsl/named-routes.md)
- [Routing Groups](https://coldbox.ortusbooks.com/v5.x-1/the-basics/routing/routing-dsl/routing-groups.md)
- [Routing Namespaces](https://coldbox.ortusbooks.com/v5.x-1/the-basics/routing/routing-dsl/routing-namespaces.md)
- [Building Routable Links](https://coldbox.ortusbooks.com/v5.x-1/the-basics/routing/building-routable-links.md)
- [RESTFul Extension Detection](https://coldbox.ortusbooks.com/v5.x-1/the-basics/routing/restful-extension-detection.md)
- [HTTP Method Spoofing](https://coldbox.ortusbooks.com/v5.x-1/the-basics/routing/http-method-spoofing.md)
- [HTML Base Tag](https://coldbox.ortusbooks.com/v5.x-1/the-basics/routing/html-base-tag.md)
- [Pathinfo Providers](https://coldbox.ortusbooks.com/v5.x-1/the-basics/routing/pathinfo-providers.md)
- [Event Handlers](https://coldbox.ortusbooks.com/v5.x-1/the-basics/event-handlers.md)
- [How are events called?](https://coldbox.ortusbooks.com/v5.x-1/the-basics/event-handlers/how-are-events-called.md)
- [Getting & Setting Values](https://coldbox.ortusbooks.com/v5.x-1/the-basics/event-handlers/getting-and-setting-values.md)
- [Setting Views](https://coldbox.ortusbooks.com/v5.x-1/the-basics/event-handlers/setting-views.md)
- [Relocating](https://coldbox.ortusbooks.com/v5.x-1/the-basics/event-handlers/relocating.md)
- [Rendering Data](https://coldbox.ortusbooks.com/v5.x-1/the-basics/event-handlers/rendering-data.md)
- [Sending Files](https://coldbox.ortusbooks.com/v5.x-1/the-basics/event-handlers/sending-files.md)
- [Interception Methods](https://coldbox.ortusbooks.com/v5.x-1/the-basics/event-handlers/interception-methods.md)
- [Pre Advices](https://coldbox.ortusbooks.com/v5.x-1/the-basics/event-handlers/interception-methods/pre-advices.md)
- [Post Advices](https://coldbox.ortusbooks.com/v5.x-1/the-basics/event-handlers/interception-methods/post-advices.md)
- [Around Advices](https://coldbox.ortusbooks.com/v5.x-1/the-basics/event-handlers/interception-methods/around-advices.md)
- [Model Integration](https://coldbox.ortusbooks.com/v5.x-1/the-basics/event-handlers/model-integration.md)
- [Model Data Binding](https://coldbox.ortusbooks.com/v5.x-1/the-basics/event-handlers/model-integration/model-data-binding.md)
- [HTTP Method Security](https://coldbox.ortusbooks.com/v5.x-1/the-basics/event-handlers/http-method-security.md)
- [Implicit Methods](https://coldbox.ortusbooks.com/v5.x-1/the-basics/event-handlers/implicit-methods.md)
- [Executing Events](https://coldbox.ortusbooks.com/v5.x-1/the-basics/event-handlers/executing-events.md)
- [Executing Routes](https://coldbox.ortusbooks.com/v5.x-1/the-basics/event-handlers/executing-routes.md)
- [Viewlets - Reusable Events](https://coldbox.ortusbooks.com/v5.x-1/the-basics/event-handlers/viewlets-reusable-events.md)
- [Event Caching](https://coldbox.ortusbooks.com/v5.x-1/the-basics/event-handlers/event-caching.md)
- [Validation](https://coldbox.ortusbooks.com/v5.x-1/the-basics/event-handlers/validation.md)
- [Layouts & Views](https://coldbox.ortusbooks.com/v5.x-1/the-basics/layouts-and-views.md)
- [Views](https://coldbox.ortusbooks.com/v5.x-1/the-basics/layouts-and-views/views.md)
- [Rendering Views](https://coldbox.ortusbooks.com/v5.x-1/the-basics/layouts-and-views/views/rendering-views.md)
- [Rendering External Views](https://coldbox.ortusbooks.com/v5.x-1/the-basics/layouts-and-views/views/rendering-external-views.md)
- [Rendering With Local Variables](https://coldbox.ortusbooks.com/v5.x-1/the-basics/layouts-and-views/views/rendering-with-local-variables.md)
- [Rendering Collections](https://coldbox.ortusbooks.com/v5.x-1/the-basics/layouts-and-views/views/rendering-collections.md)
- [View Caching](https://coldbox.ortusbooks.com/v5.x-1/the-basics/layouts-and-views/views/view-caching.md)
- [View Helpers](https://coldbox.ortusbooks.com/v5.x-1/the-basics/layouts-and-views/views/view-helpers.md)
- [View Events](https://coldbox.ortusbooks.com/v5.x-1/the-basics/layouts-and-views/views/view-events.md)
- [Layouts](https://coldbox.ortusbooks.com/v5.x-1/the-basics/layouts-and-views/layouts.md)
- [Basic Layouts](https://coldbox.ortusbooks.com/v5.x-1/the-basics/layouts-and-views/layouts/basic-layouts.md)
- [Default Layout](https://coldbox.ortusbooks.com/v5.x-1/the-basics/layouts-and-views/layouts/default-layout.md)
- [Nested Layouts](https://coldbox.ortusbooks.com/v5.x-1/the-basics/layouts-and-views/layouts/nested-layouts.md)
- [Overriding Layouts](https://coldbox.ortusbooks.com/v5.x-1/the-basics/layouts-and-views/layouts/overriding-layouts.md)
- [Layouts From A Module](https://coldbox.ortusbooks.com/v5.x-1/the-basics/layouts-and-views/layouts/layouts-from-a-module.md)
- [Layout Helpers](https://coldbox.ortusbooks.com/v5.x-1/the-basics/layouts-and-views/layouts/layout-helpers.md)
- [Layout Events](https://coldbox.ortusbooks.com/v5.x-1/the-basics/layouts-and-views/layouts/layout-events.md)
- [Implicit Layout-View Declarations](https://coldbox.ortusbooks.com/v5.x-1/the-basics/layouts-and-views/implicit-layout-view-declarations.md)
- [Helpers UDF's](https://coldbox.ortusbooks.com/v5.x-1/the-basics/layouts-and-views/helpers-udfs.md)
- [ColdBox Elixir](https://coldbox.ortusbooks.com/v5.x-1/the-basics/layouts-and-views/coldbox-elixir.md)
- [Models](https://coldbox.ortusbooks.com/v5.x-1/the-basics/models.md)
- [Domain Modeling](https://coldbox.ortusbooks.com/v5.x-1/the-basics/models/domain-modeling.md)
- [Service Layer](https://coldbox.ortusbooks.com/v5.x-1/the-basics/models/domain-modeling/service-layer.md)
- [Data Layers](https://coldbox.ortusbooks.com/v5.x-1/the-basics/models/domain-modeling/data-layers.md)
- [Book](https://coldbox.ortusbooks.com/v5.x-1/the-basics/models/domain-modeling/book.md)
- [Conventions Location](https://coldbox.ortusbooks.com/v5.x-1/the-basics/models/conventions-location.md)
- [WireBox Binder](https://coldbox.ortusbooks.com/v5.x-1/the-basics/models/wirebox-binder.md)
- [Super Type Usage Methods](https://coldbox.ortusbooks.com/v5.x-1/the-basics/models/super-type-usage-methods.md)
- [Injection DSL](https://coldbox.ortusbooks.com/v5.x-1/the-basics/models/injection-dsl.md)
- [Model Object Namespace](https://coldbox.ortusbooks.com/v5.x-1/the-basics/models/injection-dsl/model-object-namespace.md)
- [ColdBox Namespace](https://coldbox.ortusbooks.com/v5.x-1/the-basics/models/injection-dsl/coldbox-namespace.md)
- [CacheBox Namespace](https://coldbox.ortusbooks.com/v5.x-1/the-basics/models/injection-dsl/cachebox-namespace.md)
- [LogBox Namespace](https://coldbox.ortusbooks.com/v5.x-1/the-basics/models/injection-dsl/logbox-namespace.md)
- [WireBox Namespace](https://coldbox.ortusbooks.com/v5.x-1/the-basics/models/injection-dsl/wirebox-namespace.md)
- [EntityService Namespace](https://coldbox.ortusbooks.com/v5.x-1/the-basics/models/injection-dsl/entityservice-namespace.md)
- [Object Scopes](https://coldbox.ortusbooks.com/v5.x-1/the-basics/models/object-scopes.md)
- [Coding: Solo Style](https://coldbox.ortusbooks.com/v5.x-1/the-basics/models/coding-solo-style.md)
- [Datasource](https://coldbox.ortusbooks.com/v5.x-1/the-basics/models/coding-solo-style/datasource.md)
- [Contact.cfc](https://coldbox.ortusbooks.com/v5.x-1/the-basics/models/coding-solo-style/contact.cfc.md)
- [ContactDAO.cfc](https://coldbox.ortusbooks.com/v5.x-1/the-basics/models/coding-solo-style/contactdao.cfc.md)
- [ContactService.cfc](https://coldbox.ortusbooks.com/v5.x-1/the-basics/models/coding-solo-style/contactservice.cfc.md)
- [Contacts Handler](https://coldbox.ortusbooks.com/v5.x-1/the-basics/models/coding-solo-style/contacts-handler.md)
- [Coding: ActiveEntity Style](https://coldbox.ortusbooks.com/v5.x-1/the-basics/models/coding-activeentity-style.md)
- [ORM](https://coldbox.ortusbooks.com/v5.x-1/the-basics/models/coding-activeentity-style/orm.md)
- [Contact.cfc](https://coldbox.ortusbooks.com/v5.x-1/the-basics/models/coding-activeentity-style/contact.cfc.md)
- [Contacts Handler](https://coldbox.ortusbooks.com/v5.x-1/the-basics/models/coding-activeentity-style/contacts-handler.md)
- [Views](https://coldbox.ortusbooks.com/v5.x-1/the-basics/models/coding-activeentity-style/views.md)
- [Coding: Virtual Service Layer](https://coldbox.ortusbooks.com/v5.x-1/the-basics/models/coding-virtual-service-layer.md)
- [ORM](https://coldbox.ortusbooks.com/v5.x-1/the-basics/models/coding-virtual-service-layer/orm.md)
- [Contacts.cfc](https://coldbox.ortusbooks.com/v5.x-1/the-basics/models/coding-virtual-service-layer/contacts.cfc.md)
- [Contacts Handler](https://coldbox.ortusbooks.com/v5.x-1/the-basics/models/coding-virtual-service-layer/contacts-handler.md)
- [Views](https://coldbox.ortusbooks.com/v5.x-1/the-basics/models/coding-virtual-service-layer/views.md)
- [Coding: ORM Scaffolding](https://coldbox.ortusbooks.com/v5.x-1/the-basics/models/coding-orm-scaffolding.md)
- [ORM](https://coldbox.ortusbooks.com/v5.x-1/the-basics/models/coding-orm-scaffolding/orm.md)
- [Contacts.cfc](https://coldbox.ortusbooks.com/v5.x-1/the-basics/models/coding-orm-scaffolding/contacts.cfc.md)
- [Scaffold](https://coldbox.ortusbooks.com/v5.x-1/the-basics/models/coding-orm-scaffolding/scaffold.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://coldbox.ortusbooks.com/v5.x-1/the-basics.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
