PHP Classes

PHP Album Manager: Manage a list of albums with Zend Framework 2

Recommend this page to a friend!
  Info   Documentation   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 146 All time: 9,132 This week: 131Up
Version License PHP version Categories
album 1.0.0Freeware5PHP 5, Databases, Graphics, Content m...
Description 

Author

This package can manage a list of albums with Zend Framework 2.

It provides controllers, models, form class to create, delete, retrieve one or all list albums stored in a database table.

Currently the album records store the album title and album artist.

Picture of Haseeb Ahmad Basil
  Performance   Level  
Name: Haseeb Ahmad Basil is available for providing paid consulting. Contact Haseeb Ahmad Basil .
Classes: 11 packages by
Country: United States United States
Age: 26
All time rank: 60981 in United States United States
Week rank: 10 Up1 in United States United States Up
Innovation award
Innovation award
Nominee: 4x

Winner: 1x

Documentation

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


  Files folder image Files (21)  
File Role Description
Files folder imageconfig (3 files)
Files folder imagedata (1 file)
Files folder imagesrc (1 directory)
Files folder imagetest (3 files, 1 directory)
Files folder imageview (1 directory)
Accessible without login Plain text file autoload_classmap.php Aux. Auxiliary script
Plain text file Module.php Class Class source
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files (21)  /  config  
File Role Description
  Accessible without login Plain text file database.local.php.dist Conf. Configuration script
  Accessible without login Plain text file global.php.dist Conf. Configuration script
  Accessible without login Plain text file module.config.php Conf. Configuration script

  Files folder image Files (21)  /  data  
File Role Description
  Accessible without login Plain text file album.sql Data Auxiliary data

  Files folder image Files (21)  /  src  
File Role Description
Files folder imageAlbum (3 directories)

  Files folder image Files (21)  /  src  /  Album  
File Role Description
Files folder imageController (1 file)
Files folder imageForm (1 file)
Files folder imageModel (2 files)

  Files folder image Files (21)  /  src  /  Album  /  Controller  
File Role Description
  Plain text file AlbumController.php Class Class source

  Files folder image Files (21)  /  src  /  Album  /  Form  
File Role Description
  Plain text file AlbumForm.php Class Class source

  Files folder image Files (21)  /  src  /  Album  /  Model  
File Role Description
  Plain text file Album.php Class Class source
  Plain text file AlbumTable.php Class Class source

  Files folder image Files (21)  /  test  
File Role Description
Files folder imageAlbumTest (2 directories)
  Plain text file Bootstrap.php Class Class source
  Accessible without login Plain text file phpunit.xml Data Auxiliary data
  Accessible without login Plain text file TestConfig.php.dist Data Auxiliary data

  Files folder image Files (21)  /  test  /  AlbumTest  
File Role Description
Files folder imageController (1 file)
Files folder imageModel (2 files)

  Files folder image Files (21)  /  test  /  AlbumTest  /  Controller  
File Role Description
  Plain text file AlbumControllerTest.php Class Class source

  Files folder image Files (21)  /  test  /  AlbumTest  /  Model  
File Role Description
  Plain text file AlbumTableTest.php Class Class source
  Plain text file AlbumTest.php Class Class source

  Files folder image Files (21)  /  view  
File Role Description
Files folder imagealbum (1 directory)

  Files folder image Files (21)  /  view  /  album  
File Role Description
Files folder imagealbum (4 files)

  Files folder image Files (21)  /  view  /  album  /  album  
File Role Description
  Accessible without login Plain text file add.phtml Aux. Auxiliary script
  Accessible without login Plain text file delete.phtml Aux. Auxiliary script
  Accessible without login Plain text file edit.phtml Aux. Auxiliary script
  Accessible without login Plain text file index.phtml Aux. Auxiliary script

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:146
This week:0
All time:9,132
This week:131Up