资 源 简 介
While having a database is essential for any large-scale website, it can be an overkill for smaller projects/prototypes where read-only access to a (relatively) small dataset would be sufficient. To save you the trouble of setting up and managing a database if you don"t really need one, phpnodb lets you capture your data in a Google Spreadsheet and then generate from it a PHP class which:
reflects the structure of the spreadsheet in an object-oriented way (one class/worksheet, one field/column);
contains an embedded, read-only copy of the spreadsheet data;
is self-contained and free from dependencies to external libraries.
For example, from the following Google Spreadsheet:
phpnodb can generate the PHP file below:
```
class SimpleDB {