PHP Classes
elePHPant
Icontem

noSQL Packages: Manage the approval of packages stored in files

Recommend this page to a friend!
  Info   View files Example   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2015-10-28 (2 years ago) RSS 2.0 feedNot enough user ratingsTotal: 210 All time: 7,965 This week: 674Up
Version License PHP version Categories
docnosql 0.1GNU General Publi...5.4PHP 5, Databases, Files and Folders, C...
Description Author

This class can manage the approval of packages stored in files.

It can add packages to a database made of CSV files with status information that determines if the package is submitted and is pending approval of a moderator, reviewed, approved, rejected or deleted.

The class can also update the package status and other information, retrieve the list of packages by status, retrieve the details of a package, and check if a given package id is valid.

The class can keep track of the history of changes to each package in a separate CSV file.

Recommendations

Open Source Approvals Management Engine
Need an "Open Source Approvals Management Engine"

Innovation Award
PHP Programming Innovation award nominee
November 2015
Number 13
In user contributed content sites, it is often necessary have some kind of moderation to assure that all content complies with the site rules.

This package can manage a system of packages to be approved for publication in a user contributed content site. It uses a moderation process that allows for review and approval of submitted packages.

Manuel Lemos
  Performance   Level  
Name: Dave Smith is available for providing paid consulting. Contact Dave Smith .
Classes: 37 packages by
Country: United States United States
Age: 52
All time rank: 13214 in United States United States
Week rank: 3 Up1 in United States United States Up
Innovation award
Innovation award
Nominee: 26x

Winner: 6x

Details
Class: docStat
Version: 0.1 beta 10/28/2015

Copyright 2015 Wagon Trader, All Rights Reserved


Description:

This class is a package approval system based on document oriented noSQL data.

It supports creating, reading and updating package folders and tracks their
approval status.

Files:

docstat.class.php - Main class

example.php - Usage examples


Installation:

Upload files to a web accessible location on your server (eg. public_html).

On Linux systems, set the permissions on your package folder to read and write (666) or (777)

Configuration:

Configure the following properties in docstat.class.php for your setup...

$rootFolder - The folder which will contain the package data, defaults to package/

$allowDupTitles - Set to false to force unique package titles.

$timeFormat - Set your prefered display format for timeStamps.


Usage:

Usage examples are provided in the example.php file.


Changelog

0.1 beta

Initial beta release
  Files folder image Files  
File Role Description
Files folder imagepackage (1 file)
Plain text file docstat.class.php Class Main Class
Accessible without login Plain text file example.php Example Example Usage
Accessible without login Plain text file license.txt Lic. License
Accessible without login Plain text file manual.txt Doc. Documentation

  Files folder image Files  /  package  
File Role Description
  Accessible without login Plain text file data.csv Data Site package data

 Version Control Unique User Downloads Download Rankings  
 0%
Total:210
This week:0
All time:7,965
This week:674Up