2017 © Pedro Peláez
 

project nette-sandbox

Pre-setted minimal Nette Framework project

image

honzahovorka/nette-sandbox

Pre-setted minimal Nette Framework project

  • Thursday, January 1, 2015
  • by honzahovorka
  • Repository
  • 1 Watchers
  • 0 Stars
  • 15 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 103 Forks
  • 0 Open issues
  • 29 Versions
  • 0 % Grown

The README.md

Nette hexicz-sandbox

Sandbox is a pre-packaged and pre-configured Nette Framework application that you can use as the skeleton for your new applications. This is fork of Nette srigi-sandbox which is optionated fork of original nette-sandbox., (*1)

To get better starting point for my Nette Framework projects, I modified original sandbox to fit my style. Most notable differences are:, (*2)

  • removed Adminer, (*3)

    I use separate installation of Adminer as local virtualhost., (*4)

  • cleanup of uneeded files (web.config, print.css ), (*5)

    Does anybody care about IIS webserver? Printing webpages?, (*6)

  • removed App\Presenters, App\Model namespaces (everything is in App namespace), (*7)

    Since there is a subword Presenter in App\SomePresenter, I don't see any sense to have namespace for presenters. My UserPresenter will not definitely have name collision with my UserModel or UserForm since there is that subword Presenter, Model, Form in the name of my classes., (*8)

  • renamed HomepagePresenter to DefaultPresenter, (*9)

    Default entry point in sandbox should have more general name., (*10)

  • more configuration directives by default, (*11)

    Example of configuring of presenters., (*12)

  • more complete .gitignore file, (*13)

  • lots of code cleanup, (*14)

    Removed obvious comments from code, better use (namespace) conventions in code, moved CSS styles to .css files., (*15)

  • layout system using @wrapper.latte, (*16)

    Using Nette's template-inheritance we can define layout for each presenter. There is nice example - DefaultPresenter use 2-columns layout, SignPresenter use 1-colum layout., (*17)

  • rewrite of signup form template to use fully manual rendering, (*18)

    also moved this template to more suitable place, (*19)

  • gulpjs dev-stack, (*20)

    Stack for SASS stylesheets, two main processes - developement (with livereload) & build., (*21)

  • Flunorette database layer., (*22)

  • Bourbon mixin library and Neat grid framework., (*23)

Installing

The best way to install srigi-sandbox is by using Composer. If you don't have Composer yet, download it following the instructions. Then use command:, (*24)

composer create-project srigi/nette-sandbox myapp
cd myapp

Make directories temp and log writable. Navigate your browser to the www directory and you will see a welcome page. PHP 5.4 allows you run php -S localhost:8888 -t www to start the web server and then visit http://localhost:8888 in your browser., (*25)

It is CRITICAL that whole app, log and temp directories are NOT accessible directly via a web browser! See security warning., (*26)

Devstack

hexicz-sandbox use gulpjs as a minimal dev-stack to support you during development. To fully embrace advantages of dev-stack you must install needed tools & packages. Nodejs is main requirement. See installation instruction on how to install nodejs on your machine., (*27)

Then install dev-stack:, (*28)

npm install -g gulp bower
npm install   (in root of your project)
bower install

Run devstack:

gulp

Now you can use livereload for automatic refresh of your browser when you change files of your project., (*29)

Your .js files will be automatically linted, you can see code-style errors on the console., (*30)

Build your project

gulp build

This command will optimize frontend parts of your project & create build directory with builded project., (*31)

License

  • Nette: New BSD License or GPL 2.0 or 3.0 (http://nette.org/license)
  • jQuery: MIT License (https://jquery.org/license)
  • Adminer: Apache License 2.0 or GPL 2 (http://www.adminer.org)
  • Sandbox: The Unlicense (http://unlicense.org)

The Versions

01/01 2015

dev-master

9999999-dev

Pre-setted minimal Nette Framework project

  Sources   Download

Unlicense

The Requires

 

The Development Requires

23/11 2014

dev-feature/webloader

dev-feature/webloader

Pre-setted minimal Nette Framework project

  Sources   Download

Unlicense

The Requires

 

The Development Requires

27/08 2014

2.2.x-dev

2.2.9999999.9999999-dev http://nette.org

The sandbox is a pre-packaged Nette Framework project, basic configured structure for your application.

  Sources   Download

Unlicense

The Requires

 

The Development Requires

27/08 2014

v2.2.3

2.2.3.0 http://nette.org

The sandbox is a pre-packaged Nette Framework project, basic configured structure for your application.

  Sources   Download

Unlicense

The Requires

 

The Development Requires

27/08 2014

2.1.x-dev

2.1.9999999.9999999-dev http://nette.org

The sandbox is a pre-packaged Nette Framework project, basic configured structure for your application.

  Sources   Download

Unlicense

The Requires

 

The Development Requires

27/08 2014

v2.1.5

2.1.5.0 http://nette.org

The sandbox is a pre-packaged Nette Framework project, basic configured structure for your application.

  Sources   Download

Unlicense

The Requires

 

The Development Requires

27/08 2014

2.0.x-dev

2.0.9999999.9999999-dev http://nette.org

The sandbox is a pre-packaged Nette Framework project, basic configured structure for your application.

  Sources   Download

Unlicense

The Requires

 

The Development Requires

27/08 2014

v2.0.16

2.0.16.0 http://nette.org

The sandbox is a pre-packaged Nette Framework project, basic configured structure for your application.

  Sources   Download

Unlicense

The Requires

 

The Development Requires

21/07 2014

v2.2.2

2.2.2.0 http://nette.org

The sandbox is a pre-packaged Nette Framework project, basic configured structure for your application.

  Sources   Download

Unlicense

The Requires

 

The Development Requires

28/05 2014

v2.2.1

2.2.1.0 http://nette.org

The sandbox is a pre-packaged Nette Framework project, basic configured structure for your application.

  Sources   Download

GPL-3.0 BSD-3-Clause GPL-2.0

The Requires

 

The Development Requires

28/05 2014

dev-light

dev-light http://nette.org

The sandbox is a pre-packaged Nette Framework project, basic configured structure for your application.

  Sources   Download

GPL-3.0 BSD-3-Clause GPL-2.0

The Requires

 

The Development Requires

24/05 2014

v2.1.4

2.1.4.0 http://nette.org

The sandbox is a pre-packaged Nette Framework project, basic configured structure for your application.

  Sources   Download

GPL-3.0 BSD-3-Clause GPL-2.0

The Requires

 

The Development Requires

24/05 2014

v2.0.15

2.0.15.0 http://nette.org

The sandbox is a pre-packaged Nette Framework project, basic configured structure for your application.

  Sources   Download

GPL-3.0 BSD-3-Clause GPL-2.0

The Requires

 

The Development Requires

12/05 2014

v2.2.0

2.2.0.0 http://nette.org

The sandbox is a pre-packaged Nette Framework project, basic configured structure for your application.

  Sources   Download

GPL-3.0 BSD-3-Clause GPL-2.0

The Requires

 

The Development Requires

12/05 2014

v2.1.3

2.1.3.0 http://nette.org

The sandbox is a pre-packaged Nette Framework project, basic configured structure for your application.

  Sources   Download

GPL-3.0 BSD-3-Clause GPL-2.0

The Requires

 

The Development Requires

17/03 2014

v2.1.2

2.1.2.0 http://nette.org

The sandbox is a pre-packaged Nette Framework project, basic configured structure for your application.

  Sources   Download

GPL-3.0 BSD-3-Clause GPL-2.0

The Requires

 

The Development Requires

08/02 2014

v2.1.1

2.1.1.0 http://nette.org

The sandbox is a pre-packaged Nette Framework project, basic configured structure for your application.

  Sources   Download

GPL-3.0 BSD-3-Clause GPL-2.0

The Requires

 

The Development Requires

30/12 2013

v2.1.0

2.1.0.0 http://nette.org

The sandbox is a pre-packaged Nette Framework project, basic configured structure for your application.

  Sources   Download

GPL-3.0 BSD-3-Clause GPL-2.0

The Requires

 

The Development Requires

30/12 2013

v2.0.14

2.0.14.0 http://nette.org

The sandbox is a pre-packaged Nette Framework project, basic configured structure for your application.

  Sources   Download

GPL-3.0 BSD-3-Clause GPL-2.0

The Requires

 

The Development Requires

18/11 2013

v2.0.13

2.0.13.0 http://nette.org

The sandbox is a pre-packaged Nette Framework project, basic configured structure for your application.

  Sources   Download

GPL-3.0 BSD-3-Clause GPL-2.0

The Requires

 

The Development Requires

05/08 2013

v2.0.12

2.0.12.0 http://nette.org

The sandbox is a pre-packaged Nette Framework project, basic configured structure for your application.

  Sources   Download

GPL-3.0 BSD-3-Clause GPL-2.0

The Requires

 

The Development Requires

02/07 2013

v2.0.11

2.0.11.0 http://nette.org

The sandbox is a pre-packaged Nette Framework project, basic configured structure for your application.

  Sources   Download

GPL-3.0 BSD-3-Clause GPL-2.0

The Requires

 

The Development Requires

01/07 2013

v2.0.10

2.0.10.0 http://nette.org

The sandbox is a pre-packaged Nette Framework project, basic configured structure for your application.

  Sources   Download

GPL-3.0 BSD-3-Clause GPL-2.0

The Requires

 

The Development Requires

06/03 2013

v2.0.9

2.0.9.0 http://nette.org

The sandbox is a pre-packaged Nette Framework project, basic configured structure for your application.

  Sources   Download

GPL-3.0 BSD-3-Clause GPL-2.0

The Requires

 

The Development Requires

14/02 2013

v2.0.8

2.0.8.0 http://nette.org

The sandbox is a pre-packaged Nette Framework project, basic configured structure for your application.

  Sources   Download

GPL-3.0 BSD-3-Clause GPL-2.0

The Requires

 

The Development Requires

03/12 2012

v2.0.7

2.0.7.0 http://nette.org

The sandbox is a pre-packaged Nette Framework project, basic configured structure for your application.

  Sources   Download

GPL-3.0 BSD-3-Clause GPL-2.0

The Requires

 

The Development Requires

01/10 2012

v2.0.6

2.0.6.0 http://nette.org

The sandbox is a pre-packaged Nette Framework project, basic configured structure for your application.

  Sources   Download

GPL-3.0 BSD-3-Clause GPL-2.0

The Requires

 

database micro framework templating mvc dbal forms latte images debugging neon mailing

31/08 2012

v2.0.5

2.0.5.0 http://nette.org

The sandbox is a pre-packaged Nette Framework project, basic configured structure for your application.

  Sources   Download

GPLv2 GPLv3 BSD-3

The Requires

 

database micro framework templating mvc dbal forms latte images debugging neon mailing

30/07 2012

v2.0.4

2.0.4.0 http://nette.org

The sandbox is a pre-packaged Nette Framework project, basic configured structure for your application.

  Sources   Download

GPLv2 GPLv3 BSD-3

The Requires

 

database micro framework templating mvc dbal forms latte images debugging neon mailing