I am developing an application with Yii php framework which highly depends on user-specified location.
Of course, I can not allow users to freely submit the name of their city and country.
I am at the crossroads here: should I create the database after all or is there an option to use some reliable API (maybe from Google) to fill my registration form with suggested cities and verify their presence.
I am open to any suggestions.