Sunday 1 January 2017

CodeIgniter Tutorial

CodeIgniter tutorial provides basic and advanced concepts of CodeIgniter. Our CodeIgniter tutorial is designed for beginners and professionals.
Our CodeIgniter tutorial includes all topics of such as CodeIgniter architecture, versions, models, file system, url, Model, View, Controller, database configuration, save record, view record, delete record, update record, crud example, authentication example etc.

Prerequisite

Before learning CodeIgniter you must have the basic knowledge of PHP.

Audience

Our CodeIgniter tutorial is designed to help beginners and professionals.

What is CodeIgniter

For building a web application you spend a lot of time in writing the same code again and again. Frameworks provide you a starting block and minimize the amount of code needed to build a website.
CodeIgniter is PHP driven framework but it's not a PHP substitute. Diving into CodeIgniter doesn?t mean you are leaving PHP behind. PHP is a server-side scripting language for building dynamic web-based applications.
CodeIgniter contains libraries, simple interface and logical structure to access these libraries, plug-ins, helpers and some other resources which solve the complex functions of PHP more easily maintaining a high performance. It simplifies the PHP code and brings out a fully interactive, dynamic website at a much shorter time. It supports PHP version of 5.2.6 or newer and MySQL version 4.1 or newer. It makes your web more robust and your code easier to read and maintain. It is a free toolkit, light weight and easier to install.
A person using CodeIgniter must be familiar with PHP. You need to have a good knowledge about PHP like its basic syntax and how it interacts with database and HTML.

Why you should use CodeIgniter

  • If you need a framework with small footprint.
  • You need a high performance.
  • Need a framework which requires zero configurations.
  • Need a framework which don't use command line.
  • Need a framework which doesn't require adhering to restrictive coding rules.
  • To get a simplified code structure.
  • CodeIgniter License

    CodeIgniter is open source software, licensed under MIT License and its source code is maintained at GitHub.
    As it is open source software, you are permitted to copy, modify and distribute this software and its documentation for any purpose under following conditions.
    • Redistributed source code must retain the copyright notice.
    • Modified files must state the changes made and carry name of those who changed them.
    • Derived products cannot be named same as 'CodeIgniter' without written permission from British Columbia Institute of Technology.
    • All distributions must include a copy file of this agreement.
    • An acknowledgement must be included with derived products that they are derived from CodeIgniter.
    • CodeIgniter Versions

      • v3.1.0 (this is the current version)
      • v3.0.6
      • v3.0.5
      • v3.0.4
      • v3.0.3
      • v3.0.2
      • v3.0.1
      • v3.0.0
      • v2.2.3
      • v2.2.3
      • v2.2.2
      • v2.2.1
      • v2.1.4
      • v2.1.3
      • v2.1.2
      • v2.1.1
      • v2.1.0

      GitHub

      GitHub is a web based hosting service. It offers distributed version control and source code management functionality. CodeIgniter source code is maintained at GitHub.
    • Features of CodeIgniter

      There is a huge demand for CodeIgniter framework in PHP developers due to its versatile features and advantages. A web application developed on CodeIgniter performs effectively and rapidly. It provides an advanced set of aspects to write from scratch to build a dynamic web application.

      Important Features

      • Free to use
      • It is licensed under MIT license, so it is free to use.
      • Follows MVC Pattern
      • It uses Model-View-Controller which basically separates logic and presentation parts. Request comes to controller, database action is performed through model and output is displayed through views.
        But in normal PHP scripting, every page represents MVC which increases complexity.
      • Light weight
      • It is extremely light-weighted. CodeIgniter core system requires very small library, other libraries may be added upon dynamic request based upon your needs. That is why it is quite fast and light weighted.
      • Generate SEO friendly URLs
      • URLs generated by CodeIgniter are search-engine friendly and clean. It uses a segment based approach rather than standard query based approach.
      • Built-in libraries
      • It comes with full packet libraries that enable all the web needed tasks like database, form validation, sending email, manipulating images, sending emails, etc.

      Some other Features

      • Security and XSS Filtering
      • File uploading, session management, pagination, data encryption
      • Flexible URI Routing
      • Zip encoding class
      • Error logging
      • Full page caching
      • Localization


No comments:

Post a Comment