Basic steps to start codeIgniter application

Basic steps to start codeIgniter application
1. Download the codeigniter from official website.
2. Downloaded folder extract and rename the folder name and place in side htdocs folder in your local server.
3. See the application folder, here you can observe MVC structure like controllers,models and views.
4. Inside Application folder that has config folder available , you have to config base_url and index_page.
Path: application/config/config.php
5. Configure your web application databse details at : application/config/database.php
6. In Codeigniter routing is very important. Default route for web application.
$route[‘default_controller’] = “Welcome”;
$route[‘404_override’] = ”;

For handling the form data you have to ser TRUE instead of FALSE in config.php
Global XSS Filtering.
$config[‘global_xss_filtering’] = TRUE;

7. Set the autoload libraries,database and helpers like form,url…

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s