PHP Classes

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

Recommend this page to a friend!
  Info   View files Documentation   View files View files (21)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 145 This week: 1All time: 9,136 This week: 560Up
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: Pakistan Pakistan
Age: 26
All time rank: 6147 in Pakistan Pakistan
Week rank: 34 Up1 in Pakistan Pakistan 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  
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  /  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  /  data  
File Role Description
  Accessible without login Plain text file album.sql Data Auxiliary data

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

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

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

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

  Files folder image Files  /  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  /  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  /  test  /  AlbumTest  
File Role Description
Files folder imageController (1 file)
Files folder imageModel (2 files)

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

  Files folder image Files  /  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  /  view  
File Role Description
Files folder imagealbum (1 directory)

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

  Files folder image Files  /  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

 Version Control Unique User Downloads Download Rankings  
 100%
Total:145
This week:1
All time:9,136
This week:560Up