# Architecture overview

{% hint style="info" %}
The whole codebase of the DDD application example is available on [Github](https://github.com/loic425/sylius-stack-ddd).
{% endhint %}

Here is the folder structure of the "BookStore" domain:

```txt
src
└── BookStore
    ├── Application
    ├── Domain
    └── Infrastructure
        └── Sylius
```

* The `src/BookStore/Domain` directory contains your business code
* The `src/BookStore/Application` contains your application code that is not related to any framework/package
* the `src/BookStore/Infrastructure/Sylius` directory contains everything that is related to Sylius packages


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://stack.sylius.com/cookbook/ddd_architecture/overview.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
