PHP Classes

PStorage: Store and retrieve objects in flat files

Recommend this page to a friend!
  Info   View files View files (61)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2024-01-09 (4 days ago) RSS 2.0 feedNot enough user ratingsTotal: 364 This week: 5All time: 6,854 This week: 71Up
Version License PHP version Categories
pstorage 1.0GNU General Publi...5.4PHP 5, Databases, Files and Folders, D...
Description 

Author

This package can be used to store and retrieve objects in flat files.

It provide base model object that can be extended to configure the definition of the objects to be stored in flat files.

The base model class provides ORM (Object-Relational Mapping) functions to retrieve new objects, save new or updated objects, find our count records that may match a condition, retrieve records to display in paginated listings, display the retrieved results in a table, etc..

Picture of AlexanderC
  Performance   Level  
Innovation award
Innovation award
Nominee: 3x

 

Details

# What is PStorage and why do we need this? The answer is pretty simple- it's the model layer for anything using flat files for storing data as it is an more complete engine. # What is the main goal of the project? Before starting is tried to find something that will manage this, but nothing found.PStorage is more complex thing than simply an storage layer for the files. It give you an abstraction layer quite similar to the Doctrine Project with possibility to work with stored data in mode advanced way than usual done in such kind of engines. # How does this work? The answer you can find in the "docs/main_scheme.txt" file. # Where ca i find examples? An example is located in the "tests/Post.php" file. # ...and what about performance? For more details check "tests/performance.php" file. ### - TODO: 1. Adding unit tests 2. Improve binary tree overall performance and stability by splitting tree into many chunks 3. Adding additional repair tools for database(currently trying to do it on demand) 4. ... much more... _P.S. Project needs more people working on to grow up..._

  Files folder image Files  
File Role Description
Files folder image.idea (7 files, 1 directory)
Files folder imagedocs (1 file)
Files folder imagelib (3 files, 3 directories)
Files folder imagetests (4 files)
Accessible without login Plain text file autoloader.php Aux. Configuration script
Accessible without login Plain text file README.md Doc. Auxiliary data

 Version Control Unique User Downloads Download Rankings  
 100%
Total:364
This week:5
All time:6,854
This week:71Up
User Comments (2)
good
10 years ago (Rahul Shambharkar)
80%StarStarStarStarStar
Very interesting class, a pure PHP ORM implementation.
10 years ago (Eduardo "Trial Force" Bonfandini)
72%StarStarStarStar