Nette konfigurieren
*******************
.[perex]
Eine Übersicht aller Konfigurationsoptionen im Nette Framework.
Die Komponenten von Nette werden über Konfigurationsdateien eingestellt, die üblicherweise im [NEON-Format|neon:format] geschrieben sind. Am besten bearbeiten Sie sie in [Editoren, die es unterstützen |tools:ide]. Wenn Sie das komplette Framework verwenden, wird die Konfiguration [beim Start der Anwendung geladen |application:bootstrapping#Konfiguration des DI-Containers]; andernfalls lesen Sie, [wie man die Konfiguration lädt|bootstrap:].
<pre>
"application .[prism-token prism-atrule]":[application:configuration#Application]: "Anwendung .[prism-token prism-comment]"<br>
"assets .[prism-token prism-atrule]":[assets:configuration]: "Assets .[prism-token prism-comment]"<br>
"constants .[prism-token prism-atrule]":[application:configuration#Konstanten]: "Definition von PHP-Konstanten .[prism-token prism-comment]"<br>
"database .[prism-token prism-atrule]":[database:configuration]: "Datenbank .[prism-token prism-comment]"<br>
"decorator .[prism-token prism-atrule]":[dependency-injection:configuration#Decorator]: "Decorator .[prism-token prism-comment]"<br>
"di .[prism-token prism-atrule]":[dependency-injection:configuration#DI]: "DI-Container .[prism-token prism-comment]"<br>
"extensions .[prism-token prism-atrule]":[dependency-injection:configuration#Extensions]: "Installation weiterer DI-Extensions .[prism-token prism-comment]"<br>
"forms .[prism-token prism-atrule]":[forms:configuration]: "Formulare .[prism-token prism-comment]"<br>
"http .[prism-token prism-atrule]":[http:configuration#HTTP-Header]: "HTTP-Header .[prism-token prism-comment]"<br>
"includes .[prism-token prism-atrule]":[dependency-injection:configuration#Dateien einbinden]: "Einbinden von Dateien .[prism-token prism-comment]"<br>
"latte .[prism-token prism-atrule]":[application:configuration#Latte-Templates]: "Latte-Templates .[prism-token prism-comment]"<br>
"mail .[prism-token prism-atrule]":[mail:#Konfiguration]: "E-Mail-Versand .[prism-token prism-comment]"<br>
"parameters .[prism-token prism-atrule]":[dependency-injection:configuration#Parameter]: "Parameter .[prism-token prism-comment]"<br>
"php .[prism-token prism-atrule]":[application:configuration#PHP]: "PHP-Konfigurationsoptionen .[prism-token prism-comment]"<br>
"routing .[prism-token prism-atrule]":[application:configuration#Routing]: "Routing .[prism-token prism-comment]"<br>
"search .[prism-token prism-atrule]":[dependency-injection:configuration#Search]: "Automatische Registrierung von Services .[prism-token prism-comment]"<br>
"security .[prism-token prism-atrule]":[security:configuration]: "Zugriffskontrolle .[prism-token prism-comment]"<br>
"services .[prism-token prism-atrule]":[dependency-injection:services]: "Services .[prism-token prism-comment]"<br>
"session .[prism-token prism-atrule]":[http:configuration#Session]: "Session .[prism-token prism-comment]"<br>
"tracy .[prism-token prism-atrule]":[tracy:configuring#Nette Framework]: "Tracy Debugger .[prism-token prism-comment]"
</pre>
.[note]
Um einen String zu schreiben, der das Zeichen `%` enthält, müssen Sie es durch Verdopplung zu `%%` maskieren.
Nette konfigurieren
Eine Übersicht aller Konfigurationsoptionen im Nette Framework.
Die Komponenten von Nette werden über Konfigurationsdateien eingestellt, die üblicherweise im NEON-Format geschrieben sind. Am besten bearbeiten Sie sie in Editoren, die es unterstützen. Wenn Sie das komplette Framework verwenden, wird die
Konfiguration beim Start der
Anwendung geladen; andernfalls lesen Sie, wie man die Konfiguration
lädt.
application:
assets:
constants:
database:
decorator:
di:
extensions:
forms:
http:
includes:
latte:
mail:
parameters:
php:
routing:
search:
security:
services:
session:
tracy:
Um einen String zu schreiben, der das Zeichen % enthält, müssen Sie es durch Verdopplung zu
%% maskieren.