Is there a way to generate SQLite3 database by writing PHP with no SQL?
Somewhat like django's models.
Is there a way to generate SQLite3 database by writing PHP with no SQL?
Somewhat like django's models.
No, to create a database, you're going to need to use SQL at some point unless you're using a Database Manager. If you're using PHP, you can use the built in libraries for accessing databases, found here: http://php.net/manual/en/book.sqlite.php
If you don't want to write SQL, a possibility is to use an abstraction layer, like the Doctrine ORM.
It will allow to manipulate objects, on the PHP side -- and will deal with the database-related stuff (including compatibility between several types of SQL databases).