PHP Classes

File: README.md

Recommend this page to a friend!
  Classes of Haseeb Ahmad Basil   PHP Album Manager   README.md   Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: PHP Album Manager
Manage a list of albums with Zend Framework 2
Author: By
Last change:
Date: 7 years ago
Size: 1,063 bytes
 

Contents

Class file image Download

Sample Album Module for Zend Framework 2

Introduction

Album is a sample Module based on the <a href="http://framework.zend.com/manual/2.0/en/user-guide/overview.html">(Getting Started)</a> guide framework.zend.com .

Installation

Main Setup

  1. Clone this project into your `./module/` directory and enable it in your `application.config.php` file.
return array(
    'modules' => array(
        'Application',
        'Album',//add this to your configuration
    ),
    'module_listener_options' => array(
        'config_glob_paths'    => array(
            'config/autoload/{,*.}{global,local}.php',
        ),
        'module_paths' => array(
            './module',
            './vendor',
        ),
    ),
);

Copy the These files

* module/Album/config/database.local.php.dist to config/autload/database.local.php * module/Album/config/global.php.dist to config/autload/global.php

Database Setup

Import module/Album/data/album.sql into your database

Usage

Browser to the album page

your-domain-name/album