 |
|
Innovation award
 Nominee: 1x
Winner: 1x |
This package can be used to manage CSV text files like database tables. The class combines most benefits of SQL tables and PHP arrays including a powerfull method for sorting rows.
The class manages CSV files with support for storing, retrieving and deleting rows of data and also to add and remove columns from those files.
Inserted row identifier column values may be auto-incremented. The row retrieval is binary safe, may obey a given column sorting criteria similar to SQL ORDER BY clause, limit the number of retrieved rows similar to LIMIT clause, and support joins like with SQL LEFT OUTER JOIN.
A separate sub-class allows importing and exporting data to MySQL database tables.
Another class can generate a HTML forms based administration interface for accessing and editing data from a directory of CSV files, as well as alter their columns.