Changes between Version 124 and Version 125 of members/GRIP-UQAM


Ignore:
Timestamp:
May 6, 2016, 5:42:31 PM (6 years ago)
Author:
Grip Uqam
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • members/GRIP-UQAM

    v124 v125  
    11871187* WebProfilerBundle (in dev/test env) - Adds profiling functionality and the web debug toolbar
    11881188* SensioDistributionBundle (in dev/test env) - Adds functionality for configuring and working with Symfony distributions
    1189 * [https://symfony.com/doc/current/bundles/SensioGeneratorBundle/index.html SensioGeneratorBundle] (in dev/test env) - Adds code generation capabilities
    1190  * Choosing the annotation format expects the SensioFrameworkExtraBundle to be installed
    1191   * https://symfony.com/doc/current/bundles/SensioGeneratorBundle/commands/generate_bundle.html#available-options
    1192  * There should be one line of imports in the {{{config.yml}}} file! (otherwise changes may not be added to it!)
    1193   * https://github.com/symfony/symfony-standard/blob/master/app/config/config.yml
     1189* [https://packagist.org/packages/sensio/generator-bundle sensio/generator-bundle] [https://symfony.com/doc/current/bundles/SensioGeneratorBundle/index.html SensioGeneratorBundle] (in dev/test env) - Adds code generation capabilities
     1190  * Choosing the annotation format expects the SensioFrameworkExtraBundle to be installed
     1191    * https://symfony.com/doc/current/bundles/SensioGeneratorBundle/commands/generate_bundle.html#available-options
     1192  * There should be one line of imports in the {{{config.yml}}} file! (otherwise changes may not be added to it!)
     1193    * https://github.com/symfony/symfony-standard/blob/master/app/config/config.yml
     1194  * [http://symfony.com/doc/current/bundles/SensioGeneratorBundle/commands/generate_bundle.html Generating a New Bundle Skeleton]
     1195    * in composer.json (for autoload):
     1196{{{#!json
     1197    "autoload": {
     1198        "psr-4": {
     1199            "": "src/"
     1200        }
     1201    }
     1202}}}
     1203{{{#!sh
     1204$ php bin/console generate:bundle --namespace=AppBundle --bundle-name=AppBundle --format=annotation --dir=../src --no-interaction
     1205
     1206  Bundle generation
     1207
     1208> Generating a sample bundle skeleton into app/../src/AppBundle OK!
     1209> Checking that the bundle is autoloaded: OK
     1210> Enabling the bundle inside /...app/AppKernel.php: OK
     1211> Importing the bundle\'s routes from the app/config/routing.yml file: OK
     1212> Importing the bundle\'s services.yml from the app/config/config.yml file: OK
     1213
     1214  Everything is OK! Now get to work :). 
     1215}}}
     1216    * files touched:
     1217      * app/../src/AppBundle (directory and content generated)
     1218      * app/AppKernel.php
     1219      * app/config/routing.yml
     1220      * app/config/config.yml (see note about line of import)
    11941221* DebugBundle (in dev/test env) - Adds Debug and VarDumper component integration
    11951222==== User ====