I'm using Zend Framework and MySQL. The users of my application will have the ability to store arbitrary amounts of data, structured like tables. The problem is, I won't know the "columns" before hand. So, I can't create a ready-made table or ready made Zend Framework Model.
In a previous version of the application, a table schema was generated automatically from the data. This worked well. The problem this time is that I don't know how to create a Zend Framework Model to represent an arbitrary data source. Does anyone have any idea of what the best strategy is for my case? And no, rethinking my application requirements isn't an option :).
By the way: In an even older version of the application, the data was stored as JSON. This approach was very slow.