What Is The Best Approach For Dynamically Configure An Application

There are several ways to configure the application dynamically. What is the best approach for dynamically configure an application?

What did you mean by "dynamically configure an application"? What part do you want to configure? Could you please elaborate your question?

Hi, I trying to create simple CMS with multi-language ability. I read this wiky and in this section the author describe how to config urlManager component. I create a table (columns=>id, short_name, full_name) to save languages and i want to configure the urlManager by languages saved in the table.

In the other word i want in the admin page of CMS (admin module), create language controller to add, remove and edit languages and only the admin user can work with them. I want this changes affected to application config file. How do that?