Skip to main content

Why Programmers Should Wear Framework (CodeIgniter or Yii)

The framework can be interpreted simply as a library containing a collection of functions / procedures and classes for specific purposes that are ready to be used so that it can facilitate and accelerate the work of a programmer, without having to create a function or class from the start.

Advantages of using the framework are:

  • provide a good structure in our program. Sometimes as programmers, we can create our program structure. the framework, we can make the program more structured, easy to manage, easy to develop.
  • well for those that have been used to make the program itself, usually on their own to create a framework in the program can easily develop, that could be a problem is the use of this framework is the subjective easily according to our perspective. with a framework that is used by many people, it will provide the structure and way of working standards for our applications. The more people who use it, it means a lot of people who agree with the way the framework works. people learning framework means we have to adjust the way in which people work is possible in accordance with our style gag. But from another perspective, by studying the framework, we can add insight that could improve our performance.
  • the framework, the development could be faster. In web applications, certainly a lot of the same work done on every application that we created (eg, generate page, database access, display tables, searching, paging, URL management, login, password reset, access control, etc.).
  • increase security. General framework created by people who are experienced in their field. With experience, plus contributions from users of the framework, will improve the quality and safety applications.

Why use CodeIgniter:

CodeIgniter is an Application Development Framework is a toolkit that is suitable for novice programmers to build a website using PHP. Its main purpose is to allow you to develop projects much faster than if you write the code from scratch. CodeIgniter is a framework that I think provides a complete set of functions that are relatively able to make you more focused on the project by minimizing the amount of code needed for a specific task.

CodeIgniter (CI) also has a number of advantages compared to other PHP Framework. such as:

1. Performance is very fast.
One reason for not using the framework is that the execution is slower than PHP from the scratch. CodeIgniter is very fast but may even be considered a framework that is much faster than other frameworks.

2. Configure the very minimum (nearly zero configuration).
Usually we need to adjust the database and the routing path by changing some configuration files like database.php or autoload.php. But to use CodeIgniter with standard settings, you just need to change a few files in the config folder.

3. Support community.
CI has long circulated in the programmer. Even in its heyday around 2011. Although it is now emerging frameworks of other stars, because the world is always spinning quickly programmer, CI has relatively strong user community support. Forum Ellislab example, so that we can more easily interact with those who know better.

4. Documentation is complete.
Each installation package CodeIgniter user guide is accompanied by a very nice and well equipped to make a beginning, language was easy to understand.

5. Using the MVC pattern.
By using the MVC (Model-View-Controller), the code becomes more structured and have clear standards.

Why use Yii

1. Yii is a framework that uses PDO. 
PDO works by creating a database access abstraction that we as programmers do not have too much to think about compatibility between databases. nah with abstractions, we can more easily if you want to switch databases. The original structure is the same, we can move smoothly. if we consider the application made ​​by the mysql centric like wordpress, and client Controller sql server?

2. Yii is a full OOP framework. 
where to OOP, we better manage the code, we can classified function into classes, to modify the program better, the program can be neater and easier to read. well this is where I think the biggest challenge Yii, because from what I saw most of the programmers who have yet to master OOP applied properly (when the department of informatics tablets).

3. Yii model using MVC (model view controller). 
MVC we can be structured in making our application. we do not need to make a lot of files in the root directory of our application (eg. login.php, index.php, cekstatus.php, displayuser.php, etc.).

4. Yii has a BSD license.
BSD license, not the GPL. from what I know, the BSD license does not require us to delivers source code of our application.

5. Yii has a code generator (gii). 
I think this is one tool that helps speed the development of our application. gii tool is able to generate code and then modified by us. we just enter the name of the table, make a few clicks, and gii will instantly create a model, view, and controller for us. Interesting is not it? It's still, in modifying the model, view, controller, it must know OOP.

6. Yii has a component for checking input. 
I think this is a good and useful feature for security. if we create a webform, usually we do not own functions to sanitize input, right? ie we have to check that the input character, or numbers, or have a date format. but in yii, a check is already integrated and automated with gii.

Comments

Popular posts from this blog

10 Jalur Kereta Api Di Dunia yang Menegangkan dan Menakutkan untuk Dilewati

Bila anda jalan-jalan ke suatu tempat yang menyeramkan dan berbahaya pasti anda akan merasa takut, tetapi bagaimana bila anda jalan-jalan menggunakan kereta api dan melewati jalur yang menegangkan serta menakutkan bagaimana rasanya? 10 Jalur Kereta Api yang Menegangkan dan Menakutkan di Dunia 1. Kuranda Scenic Railway (Australia) Scenic pada namanya yang berarti “pemandangan yang indah” tetapi juga mempunyai jalur yang memusingkan. Terukir di hutan hujan tropis yang lebat sejak akhir 1800-an, mempunyai rangka bawah yang mencengangkan, dan melewati air terjun yang terkadang butiran-butiran air nya muncrat kearah kereta. Jalur kereta ini melintasi Barron Gorge National Park. 2. Argo Gede Train Railway (Indonesia) Selama 3 jam perjalanan dari stasiun Gambir Jakarta menuju Bandung anda akan melewati gunung yang berwarna kehijauan yang sangat indah, melewati lembah sungai yang dalam, dan yang paling mencengangkan anda akan melewati jembatan Cikurutug yang ting...

An Supervised Artificial Neural Network Method for Sattelite Image Segmentation

Image segmentation   is   an important   step   in image processing   ( image processing).   The main purpose   of   segmentation   is   to   simplify   and   or   to   change the   representation   of   an   image   into a form that   is easier   to   analyze.   Already there are   several   methods of   image segmentation   are   found ,   but   most of   these methods are not   suitable   for   satellite imagery   and   -Method   method   requires   a   knowledge of   the initial   ( a priori   knowledge) .   To   overcome these problems ,   a   satellite   image segmentation   method   is developed   using   an   artificial neural network method   without   learning   ( unsupervised )   called ...

10 Minuman Tradisional Khas Indonesia

1. Cendol  Merupakan minuman khas Indonesia yang terbuat dari tepung beras, disajikan dengan es parut serta gula merah cair dan santan. Rasa minuman ini manis dan gurih. Di daerah Sunda minuman ini dikenal dengan nama cendol sedangkan di Jawa Tengah dikenal dengan nama es dawet. Berkembang kepercayaan populer dalam masyarakat Indonesia bahwa istilah “cendol” mungkin sekali berasal dari kata “jendol”, yang ditemukan dalam bahasa Sunda, Jawa dan Indonesia; hal ini merujuk sensasi jendolan yang dirasakan ketika butiran cendol melalui mulut kala tengah meminum es cendol. Tepung beras diolah dengan diberi pewarna berwarna hijau dan di cetak melalui saringan khusus, sehingga berbentuk buliran. Pewarna yang digunakan awalnya adalah pewarna alami dari daun pandan, namun saat ini telah digunakan pewarna makanan buatan. Di Sunda cendol dibuat dengan cara mengayak kukusan tepung beras yang diwarnai dengan daun suji dengan ayakan sehingga diperoleh bentuk bulat lonjong yang lancip di ...