php-src
php-src copied to clipboard
CSV like database
Description
Hi, is there a module to create a flat file database using CSV, similar to SQL?
I want to use it in an intranet web application without the complexity of a full database.
Thank you!
This is a question really better asked on something like Stackoverflow.
You can use fgetcsv/fputcsv to write to CSV yourself.
That being said, I'm very skeptical that complex, relational content stored in CSV is a good idea. There are many tools to work with databases (like Doctrine), a database will be much more stable in terms of data integrity and validation, and will be much more efficient. It doesn't have to be mySQL, SQLite will do if you want to avoid hosting another server.