Skip to content

Instantly share code, notes, and snippets.

View popovserhii's full-sized avatar

Serhii Popov popovserhii

View GitHub Profile
@popovserhii
popovserhii / 1. Application.md
Created November 28, 2012 08:22 — forked from juriansluiman/1. Application.md
Modular application system for ZF2

Application system

This document describes how a system can be formed to set up modules in combination with a tree of pages stored in the database. The general idea is to have pages stored within a database in a tree structure, where every page is coupled to a module (1:n). Pages are queried and parsed to routes as a combination of the page route and the modules route(s).

Goal

Webapplications exist often with a frontend (for normal visitors) and backend (to manage the whole bunch). Also some pages might want to utilize the same module (two simple text pages as basic example). Thirdly, it should be easy for end users to create new pages, modify them or delete pages. To accomplish this, a robust system ("content management framework") should be made on top of zf2 to accomodate this.

Configuration

@popovserhii
popovserhii / install_phpexcel_php7.sh
Last active June 8, 2018 06:23 — forked from belgattitude/install_phpexcel_php7.sh
Install libxl, php_excel extension on PHP7 (main interpretator) on CentOS7 (ondrej/ppa)
#!/bin/bash
#
# ilia/php_excel extension example install script for PHP7+ on CentOS 7+ as base interpreatator
#
# usage:
# > ./install_phpexcel_php7.sh
# > (optionally) sudo service php7.0-fpm restart)
#
# requirements:
# - Ubuntu 64bits (trusty/xenial)