Saturday, August 30, 2014

Introduction to PHP - Codeigniter

PHP
     PHP is a server-side scripting language designed for web development but also used as a general-purpose programming language.
      PHP code can be simply mixed with HTML code, or it can be used in combination with various templating engines and web frameworks. PHP code is usually processed by a PHP interpreter, which is usually implemented as a web server's native module or a Common Gateway Interface (CGI) executable. After the PHP code is interpreted and executed, the web server sends resulting output to its client, usually in form of a part of the generated web page – for example, PHP code can generate a web page's HTML code, an image, or some other data. PHP has also evolved to include a command-line interface (CLI) capability and can be used in standalone graphical applications.


Any language is easy to learn with a framework. Therefore out team came up with the idea of coding using php-codeigniter framework.



PHP - Codeigniter



   CodeIgniter is a powerful PHP framework with a very small footprint, built for PHP coders who need a simple and elegant toolkit to create full-featured web applications.CodeIgniter is loosely based on the popular Model-View-Controller development pattern. While view and controller classes are a necessary part of development under CodeIgniter, models are optional. CodeIgniter is most often noted for its speed when compared to other PHP frameworks.














CodeIgniter Is Right for You if…
  •     You want a framework with a small footprint.
  •     You need exceptional performance.
  •     You need clear, thorough documentation.
  •     You are not interested in large-scale monolithic libraries.
  •     You need broad compatibility with standard hosting.
  •     You prefer nearly zero configurations.
  •     You don't want to adhere to restrictive coding rules.
  •     You don't want to learn another template language.
  •     You prefer simple solutions to complexity.
  •     You want to spend more time away from the computer.

    Advantages of CodeIgniter:
  •      Easy and hassle-free migration from server hosting to server hosting.
  •      Easy to learn, adopt and deploy
  •      Easy handling and customizing.
  •      A new functionality has been applied without affecting the customization at all.
  •      Offers flexibility and easy management With MVC based framework.
  •      Active Record Implementation is simply superb and easy to remember.
  •      Provides easier configuration and customization of configuration files.
  •      Facilitates easy working with a variety of developers.
  •      Good collection of possessed libraries.
  •      Awesome documentation of the user guide, which makes it easy for any coder to use the whole framework.
  •      Enables to incorporate its own existing scripts as well as develop core librariesfor the system
  •      Lightweight and extensive.
     
     Disadvantages of CodeIgniter:
  •       Its PHP based only and not very object-oriented in some parts
  •       PHP4 legacy code
  •       Company-driven instead of community-driven
  •       Irregular releases
  •       Framework itself has no built-in ORM (only via 3rd party solutions).



No comments:

Post a Comment