Encapsulate db and module configurations

Comparing #1 with #5

Tags

module

Content

This method was inspirated on the excellent text about different environments available at [http://www.yiiframework.com/doc/cookbook/32/](http://www.yiiframework.com/doc/cookbook/32/ "http://www.yiiframework.com/doc/cookbook/32/")

<b>SCENARIO</b>:
[...]
*ps: English corrections are welcome. I am not an expert =)