📖 The Nette documentation

Overview

How to contribute

Nette welcomes contributions. You are free to make changes or translate existing pages. Before contributing, please read information to make sure everything is ok.

You can use an online editor https://editor.nette.org.

Before you send a pull request, run code standard test please.

$ composer create-project nette/code-checker code-checker ~2.5
$ code-checker/code-checker

Thank you for making documentation better!

Comments
  • Tester: added new section about running Tester with Travis CI

    Tester: added new section about running Tester with Travis CI

    Added new section about running tester with Travis CI.

    This is just a draft, feedback needed.

    After the draft is approved, I will translate the article in English and then squash all the commits.

    ref https://github.com/nette/tester/issues/189

    opened by klimesf 24
  • Docs: synchronize codes

    Docs: synchronize codes

    • pridava public/protected/private do metod
    • sjednocuje namespace (nekde zacinal s /, nekde ne)
    • createComponent, startup, beforeRender jsou vzdy protected
    • doplneny typy do parametru a return typy
    • odstraneno <?php ze zahlavi - nekde bylo, nekde ne
    • sjednocuje predavani zavislosti do presenteru, vsude jsou tedka injecty (krome ukazek na ruzne predavani)
    • sjednocuje dedeni od presenteru
      • nekde jenom Presenter, nekde \Nette\App, nekde Nette\App...
    • promenne model jsem se snazil nahradit necim jinym

    Zatim to jeste neni cele, tech metod je tam hodne. Spis me zajima, jestli je to podle tebe takto v poradku. @dg

    Pripadne @JanTvrdik @matej21 @chemix

    Type: Enhancement Status: Review Needed Area: Nette 
    opened by f3l1x 16
  • quickstart - no presenter mapping in config

    quickstart - no presenter mapping in config

    V zdrojákoch quickstartu bol oproti sanboxu odstránený mapping https://github.com/nette/tutorial-quickstart/blob/master/app/config/config.neon. Myslím že by o tom mala byť zmienka v samotnom quickstarte. Začiatočník sa môže zadrhnúť pri vytváraní PostPresenter podla http://doc.nette.org/cs/2.1/quickstart/single-post ktorému nepridá namespace, nepomôže ani kontrola presenteru oproti git zdrojákom https://github.com/nette/tutorial-quickstart/blob/master/app/presenters/PostPresenter.php tam namespace tiež nieje.

    http://forum.nette.org/cs/16592-zadrhel-pri-quick-startu-nelze-nalezt-tridu-basepresenter

    Status: Completed Area: MVP Area: QuickStart 
    opened by vvoody- 14
  • doc-2.1: Getting dependencies (new page)

    doc-2.1: Getting dependencies (new page)

    Draft of a new chapter of documentation that discusses possibilities of getting dependencies into application classes and provides a list of examples on various types of injections for presenters, components and services.

    The page will be further extended to contain some specific cases, like presenters or component factories registered in the DI Container.

    This draft is currently only in Czech language, it will by translated after corrections and expansion.

    Any feedback is welcome.

    opened by jsmitka 13
  • configuring: added anonymous service definitions

    configuring: added anonymous service definitions

    Added brief info about anonymous service definitions. However, this section is much more outdated, then I expected. Factories should be rewrited completely and factories generated via an interface should be mentioned as well.

    Type: Enhancement 
    opened by castamir 13
  • Planette/Forms: added article about ->toggle()

    Planette/Forms: added article about ->toggle()

    There is currently no mention of toggle() in Forms documentation, but the page is quite long, so I rather wrote Planette article. I can try to translate at some point, but if anybody is willing, you are welcome :). Also it would be great if someone reviews the content if there is no toggle-related feature or best-practice missing.

    • [x] is this best practice?
    • [ ] EN translation
    • [x] all features documented
    opened by vojtech-dobes 11
  • Přidat soupis úložišť pro cache

    Přidat soupis úložišť pro cache

    Uvést v dokumentaci kompletní seznam úložišť, které jsou k dispozici k cachování. O SQLite není vůbec žádná zmínka. Dobře se mi jeví třeba varianta s tabulkou, kde v jednom sloupci bude název dostupného úložiště a druhého namespace.

    Type: Enhancement Status: Completed Area: Cache 
    opened by ghost 10
  • Konfigurace komponent - kam umistovat?

    Konfigurace komponent - kam umistovat?

    Spousta komponent ma zduplikovany informace o konfiguraci, napriklad nette/database:

    • http://doc.nette.org/cs/2.3/configuring#toc-databaze
    • http://doc.nette.org/cs/2.3/database#toc-vytvoreni-pripojeni

    tedy v kapitole o database a pak v kapitole o konfiguraci. Jak toto resit?

    1. vsechny informace o konfiguraci by mely byt jak u komponenty, tak na strance konfigurace
    2. u komponenty by mely byt zakladni informace o konfiguraci a odkaz na tu stranku s konfiguraci
    3. obracene - na strance s konfiguraci zakladni info a vsechny informace u komponenty

    ja jsem pro 2.

    Status: Completed Area: Dependency-Injection 
    opened by matej21 10
  • Parametry konstuktoru formuláře v http://doc.nette.org/cs/2.2/forms#toc-pouziti-stejneho-formulare-ve-vice-presenterech

    Parametry konstuktoru formuláře v http://doc.nette.org/cs/2.2/forms#toc-pouziti-stejneho-formulare-ve-vice-presenterech

    Na stránce http://doc.nette.org/cs/2.2/forms#toc-pouziti-stejneho-formulare-ve-vice-presenterech píšete, že by konstruktor formuláře měl vypadat takto: public function __construct(IContainer $parent = NULL, $name = NULL) { parent::__construct($parent, $name); } Tedy mít parametry $parent a $name. Ale například zde: http://forum.nette.org/cs/19857-zapojeni-komponenty-do-stromu-s-parametry-parent-a-name se píše, že by konstruktor měl být bez parametrů. Pokud jsou opravdu IContainer $parent = NULL, $name = NULL deprecated, prosím o úpravu dokumentace a pokud jsou tam správně a mají tam být, pak prosím, aby se autoři vyjádřili k tomuto tématu na fóru,

    Area: Forms 
    opened by racinmat 10
  • dependency injection spanish version, need to check links

    dependency injection spanish version, need to check links

    • bug fix / new feature?
    • BC break? yes/no
    • doc PR: nette/docs#???

    hello I made an implementation of the documentation (dependency-injection) in spanish version but needs to check the links because I don't know how they work in texty, I will translate the documentation as soon as I have time. One thing I must also say is that there is a lack of examples in the documentation as it is a bit confusing to understand what DI is in Nette. regards and great Framework.

    opened by alnux 0
  • Version switch is almost invisible

    Version switch is almost invisible

    Currently version switch in docs is really small and looks like a part of path to page. It would be great to make it easier to find - maybe a box, different color, bit bigger? Thank you

    image image

    opened by mabar 1
Best logging support into Nette Framework (@nette)

Website ?? contributte.org | Contact ????‍?? f3l1x.io | Twitter ?? @contributte Usage To install the latest version of contributte/monolog use Compose

Contributte 21 Dec 1, 2022
Daux.io is an documentation generator that uses a simple folder structure and Markdown files to create custom documentation on the fly. It helps you create great looking documentation in a developer friendly way.

Daux.io - Deprecation Notice This repository is deprecated! Daux.io has been moved to an organization, to guarantee future development and support. So

Justin Walsh 4.6k Dec 16, 2022
Daux.io is an documentation generator that uses a simple folder structure and Markdown files to create custom documentation on the fly. It helps you create great looking documentation in a developer friendly way.

Daux.io Daux.io is a documentation generator that uses a simple folder structure and Markdown files to create custom documentation on the fly. It help

Daux.io 719 Jan 1, 2023
📖 The Nette documentation

How to contribute Nette welcomes contributions. You are free to make changes or translate existing pages. Before contributing, please read information

Nette Foundation 108 Dec 14, 2022
Converts a string to a slug. Includes integrations for Symfony, Silex, Laravel, Zend Framework 2, Twig, Nette and Latte.

cocur/slugify Converts a string into a slug. Developed by Florian Eckerstorfer in Vienna, Europe with the help of many great contributors. Features Re

Cocur 2.8k Dec 22, 2022
A Laravel Package to integrate Nette Tracy Debugger

Nette Tracy for Laravel 5 Better Laravel Exception Handler Features Visualization of errors and exceptions Debugger Bar (ajax support @v1.5.6) Excepti

Recca Tsai 383 Dec 6, 2022
Rector upgrades rules for Nette

Rector Rules for Nette See available Nette rules Install composer require rector/rector-nette Use Sets To add a set to your config, use Rector\Nette\S

RectorPHP 21 Nov 7, 2022
Rector rules for Nette to Symfony migration

Rector Nette to Symfony Do you need to migrate from Nette to Symfony? You can ↓ How we Migrated 54 357-lines Application from Nette to Symfony in 2 Pe

Rector 8 May 30, 2022
Example of user management in Nette

User Authentication (Nette example) Example of user management. User login, registration and logout (SignPresenter) Command line registration (bin/cre

null 8 Nov 6, 2022
🎁 Datagrid component project skeleton based on Nette Framework

?? Datagrid component project skeleton based on Nette Framework

Contributte 4 Dec 14, 2022
Configure your Nette application

Nette DI Configure your Nette application ?? Check out our documentation. ?? If you like Orisai, please make a donation. Thank you! namespace App; us

Orisai 4 Dec 14, 2022
documentation for the oauth2-server-php library

OAuth2 Server PHP Documentation This repository hosts the documentation for the oauth2-server-php library. All submissions are welcome! To submit a ch

Brent Shaffer 227 Nov 24, 2022
The Symfony documentation

The official Symfony Documentation Online version | Screencasts Contributing We love contributors! For more information on how you can contribute to t

Symfony 2k Dec 30, 2022
Documentation Generator for PHP

phpDocumentor What is phpDocumentor? phpDocumentor is an application that is capable of analyzing your PHP source code and DocBlock comments to genera

phpDocumentor 3.7k Dec 28, 2022
PHP 7.1 ready Smart and Simple Documentation for your PHP project

Smart and Readable Documentation for your PHP project ApiGen is the simplest, the easiest to use and the most modern api doc generator. It is all PHP

ApiGen 2.1k Dec 22, 2022
An API documentation generator

Sami: an API documentation generator WARNING: Sami is not supported nor maintained anymore. Feel free to fork. Curious about what Sami generates? Have

null 2k Dec 17, 2022
Documentation generator for PHP Code using standard technology (SRC, DOCBLOCK, XML and XSLT)

phpDox phpDox is a documentation generator for PHP projects. This includes, but is not limited to, API documentation. The main focus is on enriching t

Arne Blankerts 588 Dec 22, 2022
A php API documentation generator, fork of Sami

Doctum, a PHP API documentation generator. Fork of Sami Curious about what Doctum generates? Have a look at the MariaDB MySQL Kbs or Laravel documenta

Code LTS 203 Dec 21, 2022
PHP 7.1 ready Smart and Simple Documentation for your PHP project

Smart and Readable Documentation for your PHP project ApiGen is the simplest, the easiest to use and the most modern api doc generator. It is all PHP

ApiGen 2.1k Apr 20, 2021
Generates documentation for your REST API from annotations

NelmioApiDocBundle The NelmioApiDocBundle bundle allows you to generate a decent documentation for your APIs. Migrate from 3.x to 4.0 To migrate from

Nelmio 2.1k Jan 6, 2023