2017 © Pedro Peláez
 

symfony-bundle marionette-bundle

MarionetteJS Bundle for Symfony2

image

bmatzner/marionette-bundle

MarionetteJS Bundle for Symfony2

  • Saturday, March 26, 2016
  • by bmatzner
  • Repository
  • 1 Watchers
  • 1 Stars
  • 401 Installations
  • JavaScript
  • 1 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 18 Versions
  • 1 % Grown

The README.md

MarionetteJS Bundle for Symfony2

Current Version

MarionetteJS v1.8.8, (*1)

Requirements

MarionetteJS requires Backbone and a number of dependencies included in this package., (*2)

Installation

Add bundle to your composer.json file

``` js // composer.json, (*3)

{ "require": { // ... "bmatzner/marionette-bundle": "~1.8" } }, (*4)


### Add bundle to your application kernel ``` php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Bmatzner\MarionetteBundle\BmatznerMarionetteBundle(), new Bmatzner\UnderscoreBundle\BmatznerUnderscoreBundle(), new Bmatzner\Json2Bundle\BmatznerJson2Bundle(), new Bmatzner\JQueryBundle\BmatznerJQueryBundle(), new Bmatzner\BackboneBundle\BmatznerBackboneBundle(), // ... ); }

Download the bundle using Composer

``` bash $ php composer.phar update bmatzner/marionette-bundle, (*5)


### Install assets Given your server's public directory is named "web", install the public vendor resources ``` bash $ php app/console assets:install web

Optionally, use the --symlink attribute to create links rather than copies of the resources, (*6)

``` bash $ php app/console assets:install --symlink web, (*7)


## Usage ### Install and reference the dependencies for Marionette: ``` html <script type="text/javascript" src="{{ asset('bundles/bmatznerjson2/js/json2.min.js') }}"></script> <script type="text/javascript" src="{{ asset('bundles/bmatznerjquery/js/jquery.min.js') }}"></script> <script type="text/javascript" src="{{ asset('bundles/bmatznerunderscore/js/underscore.min.js') }}"></script> <script type="text/javascript" src="{{ asset('bundles/bmatznerbackbone/js/backbone.min.js') }}"></script> <script type="text/javascript" src="{{ asset('bundles/bmatznermarionette/js/backbone.marionette.min.js') }}"></script>

Alternatively, use Lo-Dash as a drop-in replacement for Underscore (also available as a Symfony bundle "bmatzner/lodash-bundle"), (*8)

Licenses

Refer to the source code of the included files for license information, (*9)

References

  1. http://marionettejs.com/
  2. http://backbonejs.org/
  3. http://symfony.com/

The Versions

26/03 2016

dev-master

9999999-dev http://marionettejs.com/

MarionetteJS Bundle for Symfony2

  Sources   Download

MIT

The Requires

 

javascript backbone symfony marionette

17/06 2014
22/04 2014
20/03 2014
28/02 2014
14/01 2014
05/12 2013
22/11 2013

1.2.3

1.2.3.0 http://marionettejs.com/

MarionetteJS Bundle for Symfony2

  Sources   Download

MIT

The Requires

 

javascript backbone symfony marionette

04/11 2013

1.2.2

1.2.2.0 http://marionettejs.com/

MarionetteJS Bundle for Symfony2

  Sources   Download

MIT

The Requires

 

javascript backbone symfony marionette

26/10 2013

1.2.0

1.2.0.0 http://marionettejs.com/

MarionetteJS Bundle for Symfony2

  Sources   Download

MIT

The Requires

 

javascript backbone symfony marionette

12/10 2013

1.1.0

1.1.0.0 http://marionettejs.com/

MarionetteJS Bundle for Symfony2

  Sources   Download

MIT

The Requires

 

javascript backbone symfony marionette

23/05 2013

1.0.3

1.0.3.0 http://marionettejs.com/

MarionetteJS Bundle for Symfony2

  Sources   Download

MIT

The Requires

 

javascript backbone symfony marionette

19/05 2013

1.0.2

1.0.2.0 http://marionettejs.com/

MarionetteJS Bundle for Symfony2

  Sources   Download

MIT

The Requires

 

javascript backbone symfony marionette

11/02 2013

1.0.0-rc6

1.0.0.0-RC6 http://marionettejs.com/

MarionetteJS Bundle for Symfony2

  Sources   Download

MIT

The Requires

 

javascript backbone symfony marionette

04/02 2013

1.0.0-rc5

1.0.0.0-RC5 http://marionettejs.com/

MarionetteJS Bundle for Symfony2

  Sources   Download

MIT

The Requires

 

javascript backbone symfony marionette

27/01 2013

1.0.0-rc4

1.0.0.0-RC4 http://marionettejs.com/

MarionetteJS Bundle for Symfony2

  Sources   Download

MIT

The Requires

 

javascript backbone symfony marionette

15/01 2013

1.0.0-rc3

1.0.0.0-RC3 http://marionettejs.com/

MarionetteJS Bundle for Symfony2

  Sources   Download

MIT

The Requires

 

javascript backbone symfony marionette

13/01 2013

1.0.0-rc2

1.0.0.0-RC2 http://marionettejs.com/

MarionetteJS Bundle for Symfony2

  Sources   Download

MIT

The Requires

 

javascript backbone symfony marionette