Git Product home page Git Product logo

routingbundle's Introduction

Symfony CMF Routing Extra Bundle Build Status

This bundle enables the CMF Routing component as Symfony2 bundle. It provides route documents for Doctrine PHPCR-ODM and a controller for redirection routes.

The chain router is meant to replace the default Symfonys Router. All it does is collect a prioritized list of routers and try to match requests and generate urls with all of them. One of the routers in that chain can of course be the default router so you can still use the standard way for some of your routes.

Additionally, this bundle delivers useful router implementations. Currently, there is the DynamicRouter that routes based on a implemented repository that provide Symfony2 Route objects. The repository can be implemented using a database, for example with Doctrine PHPCR-ODM or Doctrine ORM. The bundle provides a default implementation for Doctrine PHPCR-ODM.

The DynamicRouter service is only made available when explicitly enabled in the application configuration.

See the official documentation

Installation

Add a requirement for symfony-cmf/routing-extra-bundle to your composer.json and instantiate the bundle in your AppKernel.php

new Symfony\Cmf\Bundle\RoutingExtraBundle\SymfonyCmfRoutingExtraBundle()

If you just want to use the chain router, this is enough. For the DynamicRouter you need something to build a repository. This bundle provides classes for Doctrine PHPCR ODM.

Authors

  • Filippo De Santis (p16)
  • Henrik Bjornskov (henrikbjorn)
  • Claudio Beatrice (omissis)
  • Lukas Kahwe Smith (lsmith77)
  • David Buchmann (dbu)
  • Uwe Jäger (uwej711)
  • And others

routingbundle's People

Contributors

dbu avatar lsmith77 avatar uwej711 avatar saithis avatar p16 avatar omissis avatar jakuza avatar humandb avatar magnusnordlander avatar nacmartin avatar petesiss avatar

Watchers

Nicolas LAURENT avatar Philippe Roussille avatar Erwan Richard avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.