PhloTour
EN NL
02 / 30

Hello Phlo

A route plus a view is a page. That is the whole of it.

Read the docs →
.phlo
// app.phlo  -  routes first, then the rest
route GET => $this->home

prop title = 'Hello, Phlo'

method home => view($this->page, $this->title)

view page:
<h2>$this->title</h2>
<p>Rendered by one route and one view.</p>
		
demo.showcase.qdev.nl

Hello, Phlo

Rendered by one route and one view.