Giter VIP home page Giter VIP logo

zf2-ensemble's Introduction

Ensemble Sample Application

Ensemble is a content management framework based on the php Zend Framework 2. The goal is to benefit from the reusable Zend Framework 2 modules combined with a powerful kernel to hook modules onto a specific page in the sitemap of the website.

Introduction

Ensemble is a cmf, making it easy to create cms based applications. The cmf is a selection of various modules to handle page building, route parsing, navigation building and it provides an admin interface to manage the various content modules. Ensemble is called a cmf and not cms (content management system) as it does not provide the usual content management system tools, but rather helps with a low level handling of pages inside the application.

The fundament of ensemble is a page model, where every page is filled with content from one module. Pages are hierarchical stored in a database and processed into a route stack by the kernel. Meta data from pages is processed into a navigation tree for menus, breadcrumbs and so on. Ensemble has a repository on Gihub with documentation. At this moment, the best place to start is the wiki.

Installation

Ensemble works with Composer as dependency manager. To install this ensemble example application, clone this repository to a local machine and install dependencies with composer. Load the SQL statements into your database and modify the configuration files in config/autoload to your needs. This should be enough to get the system up and running.

This comes down to the following steps:

  1. Grab the sample application and install the dependencies
cd path/to/projects
git clone git://github.com/ensemble/SampleApplication.git
cd SampleApplication
curl -s http://getcomposer.org/installer | php
php composer.phar install
  1. Configure the sample application Look into the config/autoload directory and modify the files in this directory to your needs. Do not forget to copy doctrine_orm.local.php.dist to doctrine_orm.local.php and change its contents to fit your needs.

  2. Import the database schemas Grab the contents of data/database/schema.sql and data/database/fixtures.sql and execute those statements for the database you want to use

mysql -u your_username -p your_database < schema.sql
mysql -u your_username -p your_database < fixtures.sql
  1. Making it accessible Don't forget to create a (virtual) host for this application ;-)

Core modules

The cmf is built modular and to start the application, there is a minumum list of modules required to run the application:

  1. EnsembleKernel: supplies the page model and parsers for routes [work in progress, usable]
  2. EnsembleUtils: basic utility classes from CMF usage [work in progress, usable]
  3. EnsembleAdmin: bare admin control panel [work in progress, little usable]
  4. EnsembleAcl: access control list based on ZfcAcl [not started yet]

Additionally you might be interested in:

  1. EnsembleI18n: provides i18n for ensemble including locale detection and translation helpers [not started yet]

In development

The system is in heavy development and no guarantee is given the applications are stable. Please test it and report to me if you have any findings: [email protected]. You can find me often on Freenode IRC in the channel of the Zend Framework 2 development: #zftalk.2

zf2-ensemble's People

Contributors

rwoverdijk avatar

Watchers

Kurt Kruger 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.