2017 © Pedro Peláez
 

library sandbox-addons

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

image

nette/sandbox-addons

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

  • Thursday, August 2, 2012
  • by juzna.cz
  • Repository
  • 1 Watchers
  • 1 Stars
  • 15 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Nette Sandbox with addons

This is an experiment which evaluates how easy/hard it is to add addons to a sample Nette project. Please join the discussion., (*1)

Overview

This is a sandbox/skeleton, from which you can start your projects with Nette Addons. It has the basic code needed to run them., (*2)

We try to simplyfy addon instalation by automatig as many steps as possible. Previously, you would have to download the addon, extract it to correct place, copy assets to www directory and register the addon in several places of your app. Now, with Composer's help, all those steps will be automated for you. All you need is just to write down the addon name into composer.json, section require (like all other dependencies)., (*3)

How it works?

Supported Nette Addons are configured to type=nette-addon in composer.json file and Nette related info in section extra. Here is an example of such addon., (*4)

Custom installer copies the addon section from composer.json to app/config/addons.neon file which is then processed by the app. For more details, see nette/addon-installer which does half of the hard work., (*5)

Try it yourself

Clone and run this project:, (*6)

git clone git://github.com/juzna/nette-addons-sandbox.git sandbox
cd sandbox/
chmod 0777 temp log
mkdir -m0777 www/temp
composer install

Now the sandbox should work, try it in your browser. To add an Addon, edit composer.json and add the addon. Example:, (*7)

{
    ...
    "require": {
        "php": ">= 5.3.0",
        "nette/nette": "2.0.*",
        "JanMarek/WebLoader": "dev-juznovo",
        "juzna/nette-visual-paginator": "@dev"
    },
    ...
}

Run composer update to download newly configured dependencies. nette/addon-installer should handle all the hard work with setting up your addons and making them ready for you., (*8)

Issues

There is common place for issues in the nette/addon-installer repository., (*9)

The Versions

02/08 2012

dev-example

dev-example 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

02/08 2012

dev-master

9999999-dev 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