2017 © Pedro Peláez
 

library san-album-pagination-with-ajax

ZF2 Module that utilize Sample of Ajax in Album module using ViewJsonStrategy.

image

san/san-album-pagination-with-ajax

ZF2 Module that utilize Sample of Ajax in Album module using ViewJsonStrategy.

  • Tuesday, February 11, 2014
  • by samsonasik
  • Repository
  • 1 Watchers
  • 3 Stars
  • 29 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 4 % Grown

The README.md

Installation

~ Import Sql dump to your database, (*1)

--
-- Table structure for table `album`
--

DROP TABLE IF EXISTS `album`;
CREATE TABLE IF NOT EXISTS `album` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT,
  `artist` varchar(255) NOT NULL,
  `title` varchar(255) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

--
-- Dumping data for table `album`
--

INSERT INTO `album` (`id`, `artist`, `title`) VALUES
(1, 'Bruno Mars', 'Gotex'),
(2, 'Syahrini', 'Membahana'),
(3, 'Justin Timberlake', 'Love');

~ Require it via composer command, (*2)

composer require san/san-album-pagination-with-ajax

~ Register to your config/application.config.php, (*3)

return array(
    'modules' => array(
        'AssetManager',
        'Application',
        'SanAlbumPaginationWithAjax'
        ),
    'module_listener_options' => array(
        'module_paths' => array(
            './module',
            './vendor',
            ),
        'config_glob_paths' => array('config/autoload/{,*.}{global,local}.php')
        )
    );

It will automatically install ZF2 AssetManager module, no need to install manually, or move js file into public folder., (*4)

Access

http://yourzf2app/albumajax, (*5)

The Versions

11/02 2014

dev-master

9999999-dev https://github.com/samsonasik/SanAlbumPaginationWithAjax

ZF2 Module that utilize Sample of Ajax in Album module using ViewJsonStrategy.

  Sources   Download

MIT

The Requires

 

ajax zf2 album