Giter VIP home page Giter VIP logo

sonatapagebundle's Introduction

Symfony2 friendly CMS

The PageBundle is a special kind of CMS as it handles different types of page. From within a Symfony2 application, actions are used to render a HTML response. When you need to add a new component (or block) inside an action, you need to edit the template. In the other hand, in the CMS world, users edit area and manage content but it is not possible to have a complex actions or workflows.

It is very hard to mix CMS page and Action page inside one and unique solution, the easiest way is to build the project with 2 backends, one for the CMS and one for the application.

The PageBundle try to solve this problem by encapsuling action pages into the CMS. So actions can be handled as a CMS page with the same solution, and this allows to easily include externals Symfony bundles.

Page types :

- ``CMS Page`` : a standard CMS page with url
- ``Hybrid Page`` : a page linked to a Symfony action, this can be any kind of url
  matched by the router.
- ``Dynamic Page`` : a dynamic page is an hybrid page with parameters
  ie, /blog/{year}/{month}/{slug}
- ``Internal Page`` : page shared across different pages, very usefull for handling
  footer and header

Available services

Cache

- sonata.page.cache.noop        : default, no cache
- sonata.page.cache.esi         : Edge Side Include cache
- sonata.page.cache.mongo       : MongoDB cache backend
- sonata.page.cache.memcached   : Memcached cache backend
- sonata.page.cache.apc         : Apc cache backend
- sonata.page.cache.js_sync     : Javascript synchronized load (usefull for user specific content)
- sonata.page.cache.js_async    : Javascript asynchronized load (usefull for user specific content)

Block

- sonata.page.block.container      : Block container
- sonata.page.block.action         : Render a specific action
- sonata.page.block.text           : Render a text block
- sonata.page.block.children_pages : Render a navigation panel

sonatapagebundle's People

Contributors

mremi avatar rande avatar

Stargazers

 avatar

Watchers

 avatar  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.