1 / 28

Pemrograman Web II

Pemrograman Web II. Lasmedi afuan, ST.,M.Cs. Topic. Framework Jenis-Jenis Framework PHP. Apa itu Framework Web. Framework  dapat diartikan sebagai sebuah kerangka kerja. Kerangka kerja dimana dapat memudahkan pekerjaan web. Framework vs CMS. Framework ! = CMS.

grant
Download Presentation

Pemrograman Web II

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Pemrograman Web II Lasmedi afuan, ST.,M.Cs

  2. Topic • Framework • Jenis-Jenis Framework PHP

  3. Apa itu Framework Web • Framework dapat diartikan sebagai sebuah kerangka kerja. • Kerangka kerja dimana dapat memudahkan pekerjaan web

  4. Framework vs CMS • Framework ! = CMS

  5. PHP Framework menggunakan metode pengembangan berbasis MVC. • MVC merupakan suatu metode untuk memisahkan bagian-bagian dari suatu web aplikasi. MVC adalah kependekan dari Model View Controller

  6. Model • Model : Model mewakili struktur data. Biasanya model berisi fungsi-fungsi yang membantu kita dalam pengelolaan database seperti memasukkan data ke database, update data dan lain-lain.

  7. View • View : View adalah bagian yang mengatur tampilan ke user. Bisa di katakan berupa halaman web.

  8. Controller • Controller : Controller merupakan bagian yang menjembatani model dan view. Controller berisi script-script php yang berfungsi untuk memproses suatu data dan mengirimkannya ke halaman web

  9. Fitur Umum Framework • Object Relational Model (ORM), yang menterjemahkan relational database menjadi kode program • Dukungan AJAX • Scaffolding, yaitu membuat mekanisme CRUD (create, retrieve, update, and delete).

  10. Kelebihan framework antara lain sebagai berikut  • Ringan dan cepat. Framework hanya melakukan pemanggilan pustaka/kelas yang dibutuhkan sehingga meminimalkan resource yang diperlukan sehingga ketika kita me-load sebuah halaman akan menjadi ringan dan cepat. • Menggunakan metode MVC. Seperti yang telah dijelaskan sebelumnya, dengan metode MVC akan mempermudah kita dalam memahami alur pemrograman karena untuk bagian tampilan, logika dan query database telah dipecah sedemikian rupa. • Mayortitas mendukung berbagai jenis database.

  11. http://www.phpframeworks.com/

  12. Top 10 framework php • Yii (Yes It Is) • CodeIgniter • CakePHP • Zend • Symphony • PHPdevshell • Prado • Akelos • QPhp • Zoop

  13. YII (Yes It Is) • Framework yang populer di PHP untuk membangun Aplikasi Web Skala besar. Yii ditulis dengan menggunakan konsep OOP

  14. Fitur YII

  15. CI (CodeIgniter) • CodeIgniter is an Application Development Framework - a toolkit - for people who build web sites using PHP. • Its goal is to enable you to develop projects much faster than you could if you were writing code from scratch, by providing a rich set of libraries for commonly needed tasks, as well as a simple interface and logical structure to access these libraries. • CodeIgniter lets you creatively focus on your project by minimizing the amount of code needed for a given task.

  16. Fitur CI

  17. CakePHP • CakePHP is a rapid development framework for PHP which uses commonly known design patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. Our primary goal is to provide a structured framework that enables PHP users at all levels to rapidly develop robust web applications, without any loss to flexibility.

  18. Fitur CakePHP

  19. CakePHP • Extending the art & spirit of PHP, Zend Framework is based on simplicity, object-oriented best practices, corporate friendly licensing, and a rigorously tested agile codebase. Zend Framework is focused on building more secure, reliable, and modern Web 2.0 applications & web services, and consuming widely available APIs from leading vendors like Google, Amazon, Yahoo!, Flickr, as well as API providers and cataloguers like StrikeIron and ProgrammableWeb.

  20. Symfony • Symfony is a web application framework for PHP5 projects. • It aims to speed up the creation and maintenance of web applications, and to replace the repetitive coding tasks by power, control and pleasure

  21. Fitur Symfony

  22. PHPDevShell

  23. Prado • The PRADO group is a team of PRADO enthusiasts who develop and promote the PRADO framework and the related projects

  24. Prado

  25. QPHP  • QPHP stands for Quick PHP and is a MVC framework similar as architecture to ASP.NET. 

  26. Fitur QPHP

  27. ZooP • The Zoop Object Oriented Php Framework (The Zoop PHP Framework for short). A framework written in and for php.

  28. Fitur ZooP

More Related