Yii application without database


is possible to create a yii application without a database?

I’m trying to do so but if i comment out the db connection in the config/main.php file it gives me this error:

exception ‘CDbException’ with message 'CDbConnection.connectionString cannot be empty

when creating a model…



How should a model be created, if you don’t have db connection?

so i simply create a model extending CFormModel… no need to create model from shell…

Did you find an answer? I have the same question and there is not much on this topic. Any help is appreciated.

The reason I need this is because I an trying to crate a few features of my application which should work before the user logs in and connects to a database.