• Registration
  • Feedback
  • Site Map
  • Contact Us
PHP Content Management System [PHP CMS software]
  • Home
  • About Us
  • Product
  • Gallery
  • Brochure
  • Feedback
  • Clients
  • Contact Us
Previous
Next
Latest News
26-04-2012 [12:51 PM]
License Details
License Terms Summary    For full...
26-04-2012 [12:21 PM]
Architecture overview/Configuration files
Inside the config folder...
26-04-2012 [12:02 PM]
Creating Custom Blocks
A block is a...
More News








Architecture overview/Configuration files

 
BROWSE BY CATEGORY
  • News
    • Licenses (2)
    • Setup and Configuration (2)
    • FAQ (2)
    • Developer Documentation (4)
    • HowTo, Tips & Tricks (3)
    • Product Wise Documentation (1)
    • Maintenance and Optimization (2)
    • Templates Customization (4)
    • Knowledgebase (3)
    • Site Building Guide (1)
Apr

26

2012

Architecture overview/Configuration files

2012-04-26 12:21:33 & Posted by : Mr Developer Developer

Inside the config folder you will find several .ini and .xml files
 

In order to keep your config files clear and easy to read you should use multiple files. each file found in the application/config/ folder is loaded, so you can split your configuration.

 


By default there is
 

  • an application.ini file  (application/configs/application.ini) for all general configuration of the application
     

  • a permissions.xml application/modules/Administrator/config OR application/modules/Members/config)
     

    An XML configuration that indicates User or Admin access privileges and roles to control access to schema objects and to control the ability to execute system operations
     

  • a config.ini file  (application/configs/config.ini)
     

    the place to set the system default config including database configuration
    host address, db credentials...
     

  • a layout.ini file
     

    customizing default values of the layout goes here

  • a modules.ini file
     

    the place to define which modules should be loaded in your application

  • a routes.ini file
     

    for url rewriting rules define your application's route (as zend framework define route)
     

  • a lang.en_US.ini application/languages or application/modules//languages )

    place here the translation specific configuration
     

  • a form.ini application/modules/forms/source)

    use this file as Form's pattern if you need to create new web form asking visitors to fill up.
     

Each configuration file, is divided into environments "development", "production", "staging", etc... that allows you to customize configuration for each step of your project's life cycle. for more information about ini file syntax see the Zend Framework documentation

Comments

 
Add a Comment
 
Title:
Comment:*

Submit Comment

Copyright © 2025 All Rights Reserved  Web Design Company Eicra Soft Ltd Version : 2.8.3