CodeIgniter: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
update
Baris 1:
{{Infobox software
|title = CodeIgniter
|developer = [http://bcit.ca/ British Columbia Institute of Technology]
|name = CodeIgniter
|author = [https://ellislab.com/codeigniter/ EllisLab]
|namelogo = CodeIgniter.png
|logo size = frameless
|title = CodeIgniter
|logo alt = CodeIgniter logo
|released = {{release date|2006|02|28}}
|logo caption =
|latest release version = 3.0.6<ref name="rilis306/>"
|screenshot = <!-- Image name is enough -->
|latest release date = {{release date|2016|03|21}}
|screenshot size =
|status = Aktif|programming language = [[PHP]]
|screenshot alt =
|operating system = [[Cross-platform]]
|caption =
|website = {{URL|http://www.codeigniter.com/}}
|collapsible =
|license = [[MIT License]]
|author = [[EllisLab]]
|genre = [[Web application framework]]
|developer = [[British Columbia Institute of Technology]]
|logo = [[Berkas:Datei-Ci logo2.png|Datei-Ci logo2]]
|released = {{release date|2006|02|28}}
|discontinued =
|latest release version = <!-- If you update this, remember to also update [[Comparison of web frameworks]]--> 3.1.9<ref name="ci_release">{{cite web | url=https://forum.codeigniter.com/thread-70877.html | title=CodeIgniter 3.1.9 Released | publisher=codeigniter.com | accessdate=11 July 2018}}</ref>
|latest release date = {{release date|2018|06|12}}
|latest preview version =
|latest preview date =
| repo = https://github.com/bcit-ci/CodeIgniter
|status = Aktif
|programming language = [[PHP]]
|operating system = [[Lintas platform]]
|platform = [[PHP]] 5.6.0+<ref name="ci_requirements">https://www.codeigniter.com/user_guide/general/requirements.html</ref>
|size =
|language =
|language count = <!-- Number only -->
|language footnote =
|genre = [[Kerangka kerja aplikasi web]]
|license = [[Lisansi MIT]]
|alexa =
|website = {{Official URL}}
|standard =
|AsOf =
}}
 
'''CodeIgniter''' merupakan aplikasi [[sumber terbuka]] yang berupa frameworkferangka kerja PHP dengan model [[MVC]] (Model, View, Controller) untuk membangun [[website]] dinamis dengan menggunakan [[PHP]]. CodeIgniter memudahkan [[developer]] untuk membuat aplikasi web dengan cepat mudah dibandingkan dengan membuatnya dari awal. CodeIgniter dirilis pertama kali pada [[28 Februari]] 2006. Versi stabil terakhir adalah versi 3.0.6<ref name="rilis306" />.
 
== FrameworkKerangka kerja ==
 
FrameworkKerangka kerja secara sederhana dapat diartikan kumpulan dari fungsi-fungsi/prosedur-prosedur dan class-class untuk tujuan tertentu yang sudah siap digunakan sehingga bisa lebih mempermudah dan mempercepat pekerjaan seorang programer, tanpa harus membuat fungsi atau class dari awal.
 
Ada beberapa alasan mengapa menggunakan [[FrameworkKerangka kerja]]:
* Mempercepat dan mempermudah pembangunan sebuah aplikasi [[website|web]].
* Relatif memudahkan dalam proses maintenance karena sudah ada pola tertentu dalam sebuah frameworkferangka kerja (dengan syarat [[programmer]] mengikuti pola standar yang ada)
* Umumnya frameworkferangka kerja menyediakan fasilitas-fasilitas yang umum dipakai sehingga kita tidak perlu membangun dari awal (misalnya validasi, [[ORM]], pagination, multiple database, scaffolding, pengaturan session, error handling, dll
* Lebih bebas dalam pengembangan jika dibandingkan [[CMS]]
 
== Design Patern: [[MVC]] (Model, View, Controller) ==
 
Model View Controller merupakan suatu konsep yang cukup populer dalam pembangunan aplikasi web, berawal pada bahasa pemrograman Small Talk, MVC memisahkan pengembangan aplikasi berdasarkan komponen utama yang membangun sebuah aplikasi seperti manipulasi data, user interface, dan bagian yang menjadi kontrol aplikasi. Terdapat 3 jenis komponen yang membangun suatu MVC pattern dalam suatu [[aplikasi]] yaitu :
Baris 37 ⟶ 58:
Dengan menggunakan prinsip MVC suatu aplikasi dapat dikembangkan sesuai dengan kemampuan developernya, yaitu programmer yang menangani bagian model dan controller, sedangkan designer yang menangani bagian view, sehingga penggunaan arsitektur MVC dapat meningkatkan maintanability dan organisasi kode. Walaupun demikian dibutuhkan komunikasi yang baik antara programmer dan designer dalam menangani variabel-variabel yang akan ditampilkan.
 
Ada beberapa kelebihan CodeIgniter (CI) dibandingkan dengan FrameworkKerangka kerja PHP lain,
* Performa sangat cepat : salah satu alasan tidak menggunakan frameworkferangka kerja adalah karena eksekusinya yang lebih lambat daripada PHP from the scracth, tapi Codeigniter sangat cepat bahkan mungkin bisa dibilang codeigniter merupakan frameworkferangka kerja yang paling cepat dibanding frameworkferangka kerja yang lain.
* Konfigurasi yang sangat minim ''(nearly zero configuration)'' : tentu saja untuk menyesuaikan dengan database dan keleluasaan routing tetap diizinkan melakukan konfigurasi dengan mengubah beberapa file konfigurasi seperti database.php atau autoload.php, namun untuk menggunakan codeigniter dengan setting standard, anda hanya perlu mengubah sedikit saja file pada [[folder]] config.
* Banyak komunitas: dengan banyaknya komunitas CI ini, memudahkan kita untuk berinteraksi dengan yang lain, baik itu bertanya atau teknologi terbaru.
* Dokumentasi yang sangat lengkap : Setiap paket instalasi codeigniter sudah disertai [[panduan|user guide]] yang sangat bagus dan lengkap untuk dijadikan permulaan, bahasanya pun mudah dipahami.
* Dan banyak lagi yang lainnya.
 
== Versi ==
{| class="wikitable"
! Version
! Release date
! PHP version
! Notes
|-
| {{Version|o|Beta 1.0}}
| {{Tanggal mulai|2006|02|28}}
|
|
|-
| {{Version|o|Beta 1.1}}
| {{Tanggal mulai|2006|03|10}}
|
|
|-
| {{Version|o|1.2}}
| {{Tanggal mulai|2006|03|21}}
|
|
|-
| {{Version|o|1.3}}
| {{Tanggal mulai|2006|04|03}}
|
|
|-
| {{Version|o|1.3.1}}
| {{Tanggal mulai|2006|04|11}}
|
|
|-
| {{Version|o|1.3.2}}
| {{Tanggal mulai|2006|04|17}}
|
|
|-
| {{Version|o|1.3.3}}
| {{Tanggal mulai|2006|06|01}}
|
|
|-
| {{Version|o|1.4.0}}
| {{Tanggal mulai|2006|09|17}}
| >=4.4.1
|
|-
| {{Version|o|1.4.1}}
| {{Tanggal mulai|2006|09|21}}
|
|
|-
| {{Version|o|1.5.0}}
| {{Tanggal mulai|2006|10|30}}
|
|
|-
| {{Version|o|1.5.0.1}}
| {{Tanggal mulai|2006|10|31}}
|
|
|-
| {{Version|o|1.5.1}}
| {{Tanggal mulai|2006|11|23}}
|
|
|-
| {{Version|o|1.5.2}}
| {{Tanggal mulai|2007|02|13}}
|
|
|-
| {{Version|o|1.5.3}}
| {{Tanggal mulai|2007|04|15}}
|
|
|-
| {{Version|o|1.5.4}}
| {{Tanggal mulai|2007|07|12}}
|
|
|-
| {{Version|o|1.6.0}}
| {{Tanggal mulai|2008|01|30}}
|
|
|-
| {{Version|o|1.6.1}}
| {{Tanggal mulai|2008|02|12}}
|
|
|-
| {{Version|o|1.6.2}}
| {{Tanggal mulai|2008|05|13}}
|
|
|-
| {{Version|o|1.6.3}}
| {{Tanggal mulai|2008|06|26}}
|
|
|-
| {{Version|o|1.7}}
| {{Tanggal mulai|2008|10|23}}
|
|
|-
| {{Version|o|1.7.1}}
| {{Tanggal mulai|2009|02|10}}
|
|
|-
| {{Version|o|1.7.2}}
| {{Tanggal mulai|2009|09|11}}
|
|
|-
| {{Version|o|2.0}}
| {{Tanggal mulai|2011|01|28}}
| >=5.1.6
|
|-
| {{Version|o|2.0.1}}
| {{Tanggal mulai|2011|03|15}}
|
|
|-
| {{Version|o|2.0.2}}
| {{Tanggal mulai|2011|04|07}}
|
|
|-
| {{Version|o|2.0.3}}
| {{Tanggal mulai|2011|08|20}}
|
|
|-
| {{Version|o|2.1.0}}
| {{Tanggal mulai|2011|11|14}}
|
|
|-
| {{Version|o|2.1.1}}
| {{Tanggal mulai|2012|06|12}}
|
|
|-
| {{Version|o|2.1.2}}
| {{Tanggal mulai|2012|06|29}}
|
|
|-
| {{Version|o|2.1.3}}
| {{Tanggal mulai|2012|10|08}}
|
|
|-
| {{Version|o|2.1.4}}
| {{Tanggal mulai|2013|07|08}}
|
|
|-
| {{Version|o|2.2.0}}
| {{Tanggal mulai|2014|6|2}}
|
|
|-
| {{Version|o|2.2.1}}
| {{Tanggal mulai|2015|01|22}}
|
| CodeIgniter 2.2.1 Released<ref name="rilis221">{{Cite web
| url = http://forum.codeigniter.com/thread-843.html
| title = CodeIgniter 2.2.1 Released
| date = {{date|2015-01-22|mdy}} | accessdate = {{date|2016-02-22|mdy}}
| website = codeigniter.com
}}</ref>
|-
| {{Version|o|3.0.0}}
| {{Tanggal mulai|2015|03|30}}
| >=5.2.4
| CodeIgniter 3.0<ref name="rilis300">{{Cite web
| url = http://forum.codeigniter.com/thread-1657.html
| title = CodeIgniter 3.0
| date = {{date|2015-03-30|mdy}} | accessdate = {{date|2016-02-22|mdy}}
| website = codeigniter.com
}}</ref>
|-
| {{Version|o|2.2.2}}
| {{Tanggal mulai|2015|04|15}}
|
| CodeIgniter 2.2.2 Released<ref name="rilis222">{{Cite web
| url = http://forum.codeigniter.com/thread-61433.html
| title = CodeIgniter 2.2.2 Released
| date = {{date|2015-04-15|mdy}} | accessdate = {{date|2016-02-22|mdy}}
| website = codeigniter.com
}}</ref>
|-
| {{Version|o|2.2.3}}
| {{Tanggal mulai|2015|07|14}}
|
| CodeIgniter 2.2.3 Released<ref name="rilis223">{{Cite web
| url = http://forum.codeigniter.com/thread-62431.html
| title = CodeIgniter 2.2.3 Released
| date = {{date|2015-07-14|mdy}} | accessdate = {{date|2016-02-22|mdy}}
| website = codeigniter.com
}}</ref>
|-
| {{Version|o|3.0.1}}
| {{Tanggal mulai|2015|08|7}}
|
|
|-
| {{Version|o|2.2.4}}
| {{Tanggal mulai|2015|08|20}}
|
| CodeIgniter 2.2.4 Released<ref name="rilis224">{{Cite web
| url = http://forum.codeigniter.com/thread-62743.html
| title = CodeIgniter 2.2.4 Released
| date = {{date|2015-08-20|mdy}} | accessdate = {{date|2016-02-22|mdy}}
| website = codeigniter.com
}}</ref>
|-
| {{Version|o|3.0.2}}
| {{Tanggal mulai|2015|10|08}}
|
| CodeIgniter 3.0.2 Released<ref name="rilis302">{{Cite web
| url = http://forum.codeigniter.com/thread-63217.html
| title = CodeIgniter 3.0.2 Released
| date = {{date|2015-10-08|mdy}} | accessdate = {{date|2016-02-22|mdy}}
| website = codeigniter.com
}}</ref>
|-
| {{Version|o|2.2.5}}
| {{Tanggal mulai|2015|10|08}}
|
| CodeIgniter 2.2.5 Released<ref name="rilis225">{{Cite web
| url = http://forum.codeigniter.com/thread-63216.html
| title = CodeIgniter 2.2.5 Released
| date = {{date|2015-10-08|mdy}} | accessdate = {{date|2016-02-22|mdy}}
| website = codeigniter.com
}}</ref>
|-
| {{Version|o|3.0.3}}
| {{Tanggal mulai|2015|10|31}}
|
| CodeIgniter 3.0.3 Released<ref name="rilis303">{{Cite web
| url = http://forum.codeigniter.com/thread-63452.html
| title = CodeIgniter 3.0.3 Released
| date = {{date|2015-10-31|mdy}} | accessdate = {{date|2016-02-22|mdy}}
| website = codeigniter.com
}}</ref>
|-
| {{Version|o|3.0.4}}
| {{Tanggal mulai|2016|01|13}}
|
| CodeIgniter 3.0.4 Released<ref name="rilis304">{{Cite web
| url = http://forum.codeigniter.com/thread-64083.html
| title = CodeIgniter 3.0.4 Released
| date = {{date|2016-01-13|mdy}} | accessdate = {{date|2016-03-25|mdy}}
| website = codeigniter.com
}}</ref>
|-
| {{Version|o|3.0.5}}
| {{Tanggal mulai|2016|03|11}}
|
| CodeIgniter 3.0.5 Released<ref name="rilis305">{{Cite web
| url = http://forum.codeigniter.com/thread-64610.html
| title = CodeIgniter 3.0.5 Released
| date = {{date|2016-03-11|mdy}} | accessdate = {{date|2016-03-25|mdy}}
| website = codeigniter.com
}}</ref>
|-
| {{Version|o|3.0.6}}
| {{Tanggal mulai|2016|03|21}}
|
| CodeIgniter 3.0.6 Released<ref name="rilis306">{{Cite web
| url = http://forum.codeigniter.com/thread-64689.html
| title = CodeIgniter 3.0.6 Released
| date = {{date|2016-03-21|mdy}} | accessdate = {{date|2016-03-25|mdy}}
| website = codeigniter.com
}}</ref>
|-
| {{Version|co|2.2.6}}
| {{Tanggal mulai|2016|07|26}}
|
| CodeIgniter 2.2.6 Released<ref name="rilis226">{{Cite web
| url = http://forum.codeigniter.com/thread-63451.html
| title = CodeIgniter 2.2.6 Released
| date = {{date|2016-07-26|mdy}} | accessdate = {{date|2016-10-24|mdy}}
| website = codeigniter.com
}}</ref>
|-
| {{Version|o|3.1.0}}
| {{Tanggal mulai|2016|07|26}}
|
| CodeIgniter 3.1.0 Released<ref name="rilis310">{{Cite web
| url = http://forum.codeigniter.com/thread-65803.html
| title = CodeIgniter 3.1.0 Released
| date = {{date|2016-07-26|mdy}} | accessdate = {{date|2016-10-24|mdy}}
| website = codeigniter.com
}}</ref>
|-
| {{Version|o|3.1.1}}
| {{Tanggal mulai|2016|10|22}}
|
| CodeIgniter 3.1.1 Released<ref name="rilis311">{{Cite web
| url = http://forum.codeigniter.com/thread-66442.html
| title = CodeIgniter 3.1.1 Released
| date = {{date|2016-10-22|mdy}} | accessdate = {{date|2016-10-22|mdy}}
| website = codeigniter.com
}}</ref>
|-
| {{Version|o|3.1.2}}
| {{Tanggal mulai|2016|10|28}}
|
| CodeIgniter 3.1.2 Released<ref name="rilis312">{{Cite web
| url = http://forum.codeigniter.com/thread-66509.html
| title = CodeIgniter 3.1.2 Released
| date = {{date|2016-10-28|mdy}} | accessdate = {{date|2016-10-28|mdy}}
| website = codeigniter.com
}}</ref>
|-
| {{Version|o|3.1.3}}
| {{Tanggal mulai|2017|01|09}}
|
| CodeIgniter 3.1.3 Released<ref name="rilis313">{{Cite web
| url = http://forum.codeigniter.com/thread-67057.html
| title = CodeIgniter 3.1.3 Released
| date = {{date|2017-01-09|mdy}} | accessdate = {{date|2017-02-04|mdy}}
| website = codeigniter.com
}}</ref>
|-
| {{Version|o|3.1.4}}
| {{Tanggal mulai|2017|03|20}}
|
| CodeIgniter 3.1.4 Released<ref name="rilis314">{{Cite web
| url = http://forum.codeigniter.com/thread-67653.html
| title = CodeIgniter 3.1.4 Released
| date = {{date|2017-03-20|mdy}} | accessdate = {{date|2017-03-20|mdy}}
| website = codeigniter.com
}}</ref>
|-
| {{Version|o|3.1.5}}
| {{Tanggal mulai|2017|06|19}}
|
| CodeIgniter 3.1.5 Released<ref name="rilis315">{{Cite web
| url = http://forum.codeigniter.com/thread-68279.html
| title = CodeIgniter 3.1.5 Released
| date = {{date|2017-06-19|mdy}} | accessdate = {{date|2017-06-19|mdy}}
| website = codeigniter.com
}}</ref>
|-
| {{Version|o|3.1.6}}
| {{Tanggal mulai|2017|09|25}}
|
| CodeIgniter 3.1.6 Released<ref name="rilis316">{{Cite web
| url = http://forum.codeigniter.com/thread-68991.html
| title = CodeIgniter 3.1.6 Released
| date = {{date|2017-09-25|mdy}} | accessdate = {{date|2017-09-25|mdy}}
| website = codeigniter.com
}}</ref>
|-
| {{Version|o|3.1.7}}
| {{Tanggal mulai|2018|01|13}}
|
| CodeIgniter 3.1.7 Released<ref name="rilis317">{{Cite web
| url = http://forum.codeigniter.com/thread-69755.html
| title = CodeIgniter 3.1.7 Released
| date = {{date|2018-01-13|mdy}} | accessdate = {{date|2018-01-13|mdy}}
| website = codeigniter.com
}}</ref>
|-
| {{Version|o|3.1.8}}
| {{Tanggal mulai|2018|03|22}}
|
| CodeIgniter 3.1.8 Released<ref name="rilis318">{{Cite web
| url = http://forum.codeigniter.com/thread-70303.html
| title = CodeIgniter 3.1.8 Released
| date = {{date|2018-03-22|mdy}} | accessdate = {{date|2018-03-22|mdy}}
| website = codeigniter.com
}}</ref>
|-
| {{Version|c|3.1.9}}
| {{Tanggal mulai|2018|06|12}}
|
| CodeIgniter 3.1.9 Released<ref name="rilis319">{{Cite web
| url = http://forum.codeigniter.com/thread-70303.html
| title = CodeIgniter 3.1.9 Released
| date = {{date|2018-06-12|mdy}} | accessdate = {{date|2018-06-12|mdy}}
| website = codeigniter.com
}}</ref>
|-
| colspan="4"| {{Version|l|show=111101}}
|}
 
== Referensi ==