2017 © Pedro Peláez
 

melisplatform-module melis-engine

Melis Platform engine module

image

melisplatform/melis-engine

Melis Platform engine module

  • Tuesday, July 31, 2018
  • by melisplatform
  • Repository
  • 5 Watchers
  • 3 Stars
  • 1,182 Installations
  • PHP
  • 10 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 14 Versions
  • 7 % Grown

The README.md

melis-engine

MelisEngine provides a set of services and classes to access the CMS' pages and datas., (*1)

Getting Started

These instructions will get you a copy of the project up and running on your machine., (*2)

Prerequisites

None, (*3)

Installing

Run the composer command:, (*4)

composer require melisplatform/melis-engine

Database

Database model is accessible on the MySQL Workbench file:
/melis-engine/install/sql/model
Database will be installed through composer and its hooks.
In case of problems, SQL files are located here:
/melis-engine/install/sql, (*5)

Tools & Elements provided

  • All Melis CMS database model
  • Services to access the page and tree system
  • Default Melis templating plugin abstract class
  • Page microservices

Running the code

MelisEngine Services

MelisEngine provides many services to be used in other modules:, (*6)

  • MelisPageService
    Provides services to get all datas from a page. File: /melis-engine/src/Service/MelisPageService.php
// Get the service
$melisPage = $this->getServiceManager()->get('MelisEnginePage');
// Get all datas of this page
$datasPageRes = $melisPage->getDatasPage($siteMainPage); 
  • MelisTreeService
    Provides services to get sets of pages based on the tree of pages.
    Meant to deliver parent pages, breadcrumb, generate menus, generate URLs, etc.
    File: /melis-engine/src/Service/MelisTreeService.php
// Get the service
$treeSrv = $this->getServiceManager()->get('MelisEngineTree');
// Get the breadcrumb
$pageBreadcrumb = $treeSrv->getPageBreadcrumb($pageId, 0, true);
  • MelisSearch
    This service deals with search on the Melis Platform hosted website.
    Search is done using Zend_Search.
    File: /melis-engine/src/Service/MelisSearchService.php
// Get the service
$searchSvc = $this->getServiceManager()->get('MelisSearch');
// Search
$searchresults = $searchSvc->search($keyword, $moduleName, true);

Melis CMS database models

All models used my the platform to access the CMS part of the database are located in this module.
Folder: /melis-engine/src/Model, (*7)

Melis Templating Plugin Abstract Class

Melis Platform offers a plugin system for edition of pages.
All plugins are built on the ZF2 Controller plugin system, and all plugins must extend this class too as it provides many default and awaited methods.
File: /melis-engine/src/Controller/Plugin/MelisTemplatingPlugin.php, (*8)

See Full documentation on templating plugins here, (*9)

Authors

See also the list of contributors who participated in this project., (*10)

License

This project is licensed under the OSL-3.0 License - see the LICENSE.md file for details, (*11)

The Versions

31/07 2018

dev-master

9999999-dev https://github.com/melisplatform/melis-engine

Melis Platform engine module

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

zf2 module cms melis

31/07 2018

dev-develop

dev-develop https://github.com/melisplatform/melis-engine

Melis Platform engine module

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

zf2 module cms melis

05/07 2018

dev-MelisCommercePlugins

dev-MelisCommercePlugins https://github.com/melisplatform/melis-engine

Melis Platform engine module

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

zf2 module cms melis

11/05 2018

v2.4.2

2.4.2.0 https://github.com/melisplatform/melis-engine

Melis Platform engine module

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

zf2 module cms melis

04/05 2018

v2.4.1

2.4.1.0 https://github.com/melisplatform/melis-engine

Melis Platform engine module

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

zf2 module cms melis

03/05 2018

v2.4.0

2.4.0.0 https://github.com/melisplatform/melis-engine

Melis Platform engine module

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

zf2 module cms melis

06/03 2018

v2.3.1

2.3.1.0 https://github.com/melisplatform/melis-engine

Melis Platform engine module

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

zf2 module cms melis

26/02 2018

v2.3.0

2.3.0.0 https://github.com/melisplatform/melis-engine

Melis Platform engine module

  Sources   Download

OSL-3.0

The Requires

 

The Development Requires

zf2 module cms melis

15/01 2018

dev-hotfix-dbdeploy

dev-hotfix-dbdeploy https://github.com/melisplatform/melis-engine

Melis Platform engine module

  Sources   Download

OSL-3.0

The Requires

  • php ^5.5 || ^7.0

 

The Development Requires

zf2 module cms melis

12/10 2017

v2.2.1

2.2.1.0 https://github.com/melisplatform/melis-engine

Melis Platform engine module

  Sources   Download

OSL-3.0

The Requires

  • php ^5.5 || ^7.0

 

The Development Requires

zf2 module cms melis

25/09 2017

dev-MelisPageLanguage

dev-MelisPageLanguage https://github.com/melisplatform/melis-engine

Melis Platform engine module

  Sources   Download

OSL-3.0

The Requires

  • php ^5.5 || ^7.0

 

The Development Requires

zf2 module cms melis

07/08 2017

v2.2.0

2.2.0.0 https://github.com/melisplatform/melis-engine

Melis Platform engine module

  Sources   Download

OSL-3.0

The Requires

  • php ^5.5 || ^7.0

 

The Development Requires

zf2 module cms melis

19/06 2017

v2.1.1

2.1.1.0 https://github.com/melisplatform/melis-engine

Melis Platform engine module

  Sources   Download

OSL-3.0

The Requires

  • php ^5.5 || ^7.0

 

The Development Requires

zf2 module cms melis

16/05 2017

v2.1

2.1.0.0 https://github.com/melisplatform/melis-engine

Melis Platform engine module

  Sources   Download

OSL-3.0

The Requires

  • php ^5.5 || ^7.0

 

The Development Requires

zf2 module cms melis