Slides in Carve, rendered in the browser.
$articles = $this->Articles->find()
->contain(['Users'])
->where(['published' => true])
->orderBy(['created' => 'DESC'])
->all();
In HTML this slide would need > eleven times. Every one of them is a chance to break the sample.
$query = $this->Orders->selectQuery();
$query->contain(['Customers'])
->where(['status' => 'open']);
$total = $query->count();
Press the right arrow: the deck walks the three steps written in the fence’s attribute line.
$table->query()
->update()
->set(['done' => true]);
$table->updateQuery()
->set(['done' => true]);
Two containers with attributes. No <div> in the source.
Exercise: open config/app.php, set errorLevel to E_ALL, click through the app and read the log.
Version markers ride along inline: enum support 5.0 and enum validation 5.1.
| Removed in 5.0 | Replacement |
|---|---|
Shell | Command |
PaginatorComponent | NumericPaginator |
Mailer\Email | Mailer |
The main line stays on the horizontal axis.
Questions that only sometimes come up live below the slide, not in the main flow.
Press the up arrow to go back.
Backgrounds, transitions and auto-animate pairs come from an %% attr: directive.
graph LR
A[deck.crv] --> B{reveal-carve}
B --> C[slides in the browser]
B --> D[static page]
B --> E[handout.md]
Enabled with --extension mermaid. Carve emits the block, Mermaid draws it.
lint, handout, watch
A deck source is checkable, exportable as a document, and rebuilt on save.