You have successfully created your Nette Framework project.

Explore
source
codes

See source code of this page template, layout template and corresponding presenter. And feel free to modify them!

Manage
database
tables

Manage your database using pre-installed tool Adminer with an easy to use GUI.

Read
Quick-start
tutorial

If you are exploring Nette Framework for the first time, you should read the Quick Start, documentation, tutorials and forum.

We hope you enjoy this framework!

This page template located at app/presenters/templates/Homepage/default.latte

Hello World!

Layout template located at app/presenters/templates/@layout.latte

{**
 * @param string   $basePath web base path
 * @param array    $flashes  flash messages
 *}
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">

	<title>{ifset title}{include title|striptags} | {/ifset}Nette Sandbox</title>

	<link rel="stylesheet" href="{$basePath}/css/style.css">
	<meta name="viewport" content="width=device-width">
	{block head}{/block}
</head>

<body>
	<div n:foreach="$flashes as $flash" n:class="flash, $flash->type">{$flash->message}</div>

	{include content}

	{block scripts}
	<script src="https://code.jquery.com/jquery-1.12.0.min.js"></script>
	<script src="https://nette.github.io/resources/js/netteForms.min.js"></script>
	<script src="{$basePath}/js/main.js"></script>
	{/block}
</body>
</html>

Current presenter located at app/presenters/HomepagePresenter.php

<?php

namespace App\Presenters;

use Nette;
use App\Model;


class HomepagePresenter extends BasePresenter
{

	public function renderDefault()
	{
		$this->template->anyVariable = 'any value';
	}

}