wiki:members/GRIP-UQAM/Symfony/Etaps-to-build-a-website-with-doctrine-and-sonata-admin

Etaps to Build a Symfony Website with Doctrine and Sonata admin

Console

Web

Twig

Debug Toolbar

(Empty Sonata Admin)

Sensio Generator Bundle

This bundle provides commands for scaffolding bundles, forms, controllers and even CRUD-based backends. The boilerplate code provided by these code generators will save you a large amount of time and work. Official Documentation

  • sensio/generator-bundle
    $ php bin/console generate:bundle --namespace=AppBundle --bundle-name=AppBundle --format=annotation --dir=../src --no-interaction
    app$ php u018b....php generate:bundle --namespace=AppBundle --bundle-name=AppBundle --format=annotation --no-interaction
    

Sensio Framework Extra Bundle

This bundle provides a way to configure your controllers with annotations

The "Symfony Standard Edition" distribution

Doctrine and Data Models

Sonata Admin using the Data Models

Taxonomy

Debugging (at all etaps)

  • "cache:clear" if not enough delete the files directly on disk! It is recommended (by me) to do it after version changes.
  • remember to check the "composer.json" file!

Tree Representation

Console, Twig, Debug ToolBar is the starter kit.

  • Sensio Framework Extra Bundle
    • Easy Admin

References: Keywords and searching the Web

Modification Proposals

Last modified 3 years ago Last modified on Jan 11, 2017, 11:57:24 AM