Analisis Performansi Framework Prado Dan Cakephp Pada Aplikasi Web Ajax

Total Page:16

File Type:pdf, Size:1020Kb

Analisis Performansi Framework Prado Dan Cakephp Pada Aplikasi Web Ajax Seminar Nasional Aplikasi Teknologi Informasi 2008 (SNATI 2008) ISSN : 1907-5022 Yogyakarta, 21 Juni 2008 ANALISIS PERFORMANSI FRAMEWORK PRADO DAN CAKEPHP PADA APLIKASI WEB AJAX Yanuar Firdaus AW,Warih Maharani Departemen Teknik Informatika Institut Teknologi Telkom Bandung, Indonesia E-mail: { yanuar, rani }@stttelkom.ac.id Abstraksi Framework berbasis PHP memberi solusi dengan menyertakan dukungan penerapan Ajax pada fitur frameworknya. Dua framework yang banyak digunakan, PRADO dan CakePHP menerapkan dukungan Ajax dengan cara yang berbeda. PRADO dengan ciri khas arsitektur event-driven dan component based, mendukung penerapan Ajax melalui penggunaan Active Controls. Sedangkan CakePHP dengan arsitektur Model-View- Controller, menerapkan Ajax melalui penggunaan kelas Helpers, yaitu Ajax Helpers. Paper ini memrbandingkan penerapan aplikasi web Ajax dengan menggunakan framework PRADO dan CakePHP. Parameter yang dibandingkan adalah kemudahan proses pembangunan aplikasi, ketersediaan fitur-fitur Ajax, dan juga kehandalan dari sisi performansi aplikasi web yang dihasilkan. Hasil pengujian menunjukkan performansi aplikasi web yang dihasilkan dengan CakePHP lebih baik dari pada framework PRADO. Keywords: framework, PRADO, CakePHP, Ajax. 1. PENDAHULUAN pengelolaan database dengan query yang simple, implementasi CRUD (Create, Read, Update, Delete), Framework digunakan agar web lebih mudah bisa digunakan pada PHP4 atau PHP5, kemudahan untuk dibangun dan dikembangkan, terutama untuk validasi inputan, dan konfigurasi yang mudah[11]. aplikasi berskala besar. Selain itu framework dapat Dan yang terpenting adalah kedua Framework ini menghemat waktu dan kebutuhan yang diperlukan kini telah mendukung implementasi web Ajax, dalam pembangunan web[6]. Terdapat banyak dengan cara yang berbeda. Pada PRADO, dukungan framework tersedia untuk pembangunan aplikasi terhadap Ajax telah disertakan langsung dalam web, diantaranya adalah PRADO dan CakePHP penerapan event-driven-nya menggunakan Active yang mendukung penerapan Web 2.0. Kedua Controls, sehingga menjamin penggunaan Ajax framework ini sangat populer digunakan oleh dengan mudah. Sedangkan pada CakePHP, banyak developer (salah satunya adalah CakePHP penerapan Ajax dilakukan dengan memakai fitur yang digunakan oleh Yahoo!) dan memiliki Helpers yang menggunakan tambahan karakteristik berbeda. script.aculo.us dan prototype sebagai library untuk PRADO atau PHP Rapid Application Ajax[12]. Development Object-oriented, adalah framework Paper ini memaparkan bagaimana yang mengutamakan RAD (Rapid Application penerapan Ajax yang telah disediakan oleh Development) dengan arsitektur Component-Based Framework PRADO dan CakePHP, karena pada dan Event-Driven[12]. PRADO mengutamakan dasarnya kedua Framework memiliki karakterisrik reuseability pada setiap komponennya sehingga dasar yang berbeda (Event-Driven dan MVC), mudah digunakan kembali oleh orang lain. Selain itu event-driven memudahkan implementasi konsep utama dari Event-Driven-nya memudahkan asynchronous sedangkan MVC memudahkan dalam pengaturan End-user activities, seperti menekan pembagian tugas pembangunan. Dan fitur dukungan tombol yang akan diterjemahkan menjadi event- terhadap Ajax-nya pun berbeda, namun sama-sama server, sangat mirip dengan yang diterapkan pada menjanjikan kemudahan dalam penerapan Ajax. ASP.NET ataupun Delphi. Keunggulan dari PRADO Selain itu dilakukan evaluasi terhadap pembangunan ini telah teruji dengan memenangkan grand prize aplikasi web Ajax dengan menggunakan kedua Zend PHP5 coding contest. framework ini, khususnya dalam hal kemudahan dan Sedangkan CakePHP yang juga memiliki kualitas aplikasi yang dihasilkan. karakter pengembangan RAD, lebih mengutamakan implementasi dari konsep MVC (Model View 2. FRAMEWORK AJAX Control), sehingga dalam pembangunan software akan ada penbagian tugas yang jelas (antara Ajax merupakan teknik pemrograman yang presentasi dan business logic). Selain itu CakePHP menggabungkan penggunaan HTML, Javascript, juga memiliki banyak kemudahan lainnya, seperti DHTML, DOM (Document Object Model) dan C-47 Seminar Nasional Aplikasi Teknologi Informasi 2008 (SNATI 2008) ISSN : 1907-5022 Yogyakarta, 21 Juni 2008 XML. Sehingga dapat menciptakan teknik b. View pertukaran data antara server dan client secara View melakukan render terhadap data yang asynchronous. Kemampuan ini diyakini dapat diberikan Model dan akan mengirimkan meningkatkan interaksi (rich interaction) sebuah gerak/aktifitas dari user kepada Controller. Sehingga aplikasi web terhadap usernya[2]. Salah satunya View akan menjaga kekonsistenan data tampilan adalah kemampuan melakukan perubahan halaman terhadap perubahan yang terjadi. Dengan web hanya pada bagian yang diperlukan saja, mengelompokkan semua display dan presentation sehingga tidak harus baca ulang web secara code pada satu tempat, akan memudahkan keseluruhan sehingga akan membantu untuk melakukan perubahan tampilan tanpa mempengaruhi pembuatan web yang dinamis dan attraktif[1]. business logic dan data. Framework digunakan oleh developer untuk c. Controller memudahkan pembangunan aplikasi web yang dapat Controller mendefinisikan perilaku yang terjadi berupa sekumpulan library yang berisi fungsi, tools, pada aplikasi, kemudian memetakannya menjadi ataupun class-class, dan digunakan sebagai aksi dari user terhadap Model. Controller akan kerangkan dalam pembangunan aplikasi web. sangat erat hubungannya dengan View, karena setiap Umumnya didalam framework tersebut telah interaksi yang akan dilakukan user akan ditampilkan menyediakan solusi untuk akses database, oleh View untuk kemudian direspon oleh Controller. authentication, templating, controls, dan fungsi- Pada Controller akan terdapat method-method yang fungsi lainnya. Penggunaan framework diharapkan akan menanggapi perilaku dari aplikasi. membuat pengembangan aplikasi menjadi rapi dan bersih, memiliki struktur yang optimal, dan reusable. Berikut ini beberapa keuntungan yang didapatkan dari pembangunan aplikasi web menggunakan framework[8] : a. Struktur aplikasi yang lebih rapi dan teratur, biasanya menggunakan struktur MVC yang melakukan pemisahan antara business logic dengan presentation. b. Menghemat waktu dan biaya, kerena membangun aplikasi tidak dimulai dari awal namun tinggal menggunakan berbagai fitur-fitur yang ada. c. Kemungkinan aplikasi akan lebih secure dan reusable, karena framework dibangun dari Gambar 0.1 Arsitektur dasar Model-View- pengalaman membangun aplikasi. Controller[11] d. Mempu menangani banyak hal dengan mudah, seperti templating, database, validation, cache 2.2 Arsitektur Event-Driven management, dan berbagai fitur lainnya. Event-based programming adalah sebuah paradigma pemrograman yang alur programnya 2.1 Arsitektur Model View Controller (MVC) ditentukan oleh aktifitas (aksi) user atau melalui MVC digunakan untuk memisahkan data message yang diberikan oleh program lainnya. access dan business logic dari data presentation dan Untuk bisa menerapkannya dibutuhkan suatu user interaction. Pemisahan dilakukan dengan arsitektur event-driven yang berfokus pada setiap tujuan agar setiap perubahan yang terjadi pada event aktifitas user. Arsitektur ini dirancang untuk presentation logic atau business logic tidak mengimplementasikan aplikasi dengan loosely memberikan pengaruh satu sama lainnya yang coupled antar komponen. Dengan fokus seperti itu, kompleks. Solusi pemisahan MVC ini diharapkan maka arsitektur event-driven juga melakukan dapat meningkatkan flexibility dan reusability suatu pemisahan antara proses bisnis dengan display untuk aplikasi. user interaction[12]. Berikut ini beberapa kelebihan Arsitektur MVC memisahkan aplikasi penggunaan arsitektur event-driven : menjadi 3 bagian, yaitu Model, View dan Controller a. Memudahkan pembuatan aplikasi yang responsif seperti terlihat pada gambar 2.1. dengan proses yang dinamis. a. Model b. Mendukung pembuatan aplikasi yang reusable. Merupakan representasi dari database, meliputi c. Dengan berorientasi pada event, pembangunan design table yang ada sampai dengan relationships aplikasi akan lebih difokuskan pada proses antar table. Fungsi utama dari Model adalah untuk control. menangani data, mengambil data dari database, insert data ke database, manipulasi data sampai Setiap aktivitas yang dilakukan end user akan dengan validasi data. diterjemahkan sebagai event dari server. Dengan begitu control yang dilakukan hanya perlu disesuaikan dengan interaksi yang terjadi tersebut. C-48 Seminar Nasional Aplikasi Teknologi Informasi 2008 (SNATI 2008) ISSN : 1907-5022 Yogyakarta, 21 Juni 2008 prototype dan script.aculo.us yang berisi fungsi- 2.3 Framework CakePHP fungsi inti Ajax dan effect untuk web dinamis. Ajax CakePHP adalah salah satu framework Helpers berisi methods yang mengimplementasikan berbasis pemrograman PHP yang mampu digunakan penggunaan library tersebut. untuk membuat aplikasi berskala besar. Framework ini mampu mempermudah pembuatan aplikasi 2.4 Framework PRADO CRUD (Create, Read, Update, Delete) dengan PHP Rapid Application Development karakter pengembangan RAD (Rapid Applicartion Object-Oriented (PRADO), merupakan framework Development). Framework ini memiliki beberapa dengan pemrograman berbasis component dan karakteristik, diantaranya[10] : event-driven yang digunakan untuk membangun a. Mengunakan arsitektur Model View Controller, aplikasi web PHP5. PRADO menjadikan reusability dengan dukungan untuk pemrograman sebagai hal yang utama dalam pemrograman web, berorientasi objek untuk memudahkan penggunaan ulang kode b. Kompatibel dengan PHP 4 dan PHP 5 ditempat
Recommended publications
  • Security Issues and Framework of Electronic Medical Record: a Review
    Bulletin of Electrical Engineering and Informatics Vol. 9, No. 2, April 2020, pp. 565~572 ISSN: 2302-9285, DOI: 10.11591/eei.v9i2.2064 565 Security issues and framework of electronic medical record: A review Jibril Adamu, Raseeda Hamzah, Marshima Mohd Rosli Faculty of Computer and Mathematical Sciences, Universiti Teknologi MARA, Malaysia Article Info ABSTRACT Article history: The electronic medical record has been more widely accepted due to its unarguable benefits when compared to a paper-based system. As electronic Received Oct 30, 2019 medical record becomes more popular, this raises many security threats Revised Dec 28, 2019 against the systems. Common security vulnerabilities, such as weak Accepted Feb 11, 2020 authentication, cross-site scripting, SQL injection, and cross-site request forgery had been identified in the electronic medical record systems. To achieve the goals of using EMR, attaining security and privacy Keywords: is extremely important. This study aims to propose a web framework with inbuilt security features that will prevent the common security vulnerabilities CodeIgniter security in the electronic medical record. The security features of the three most CSRF popular and powerful PHP frameworks Laravel, CodeIgniter, and Symfony EMR security issues were reviewed and compared. Based on the results, Laravel is equipped with Laravel security the security features that electronic medical record currently required. SQL injection This paper provides descriptions of the proposed conceptual framework that Symfony security can be adapted to implement secure EMR systems. Top vulnerabilities This is an open access article under the CC BY-SA license. XSS Corresponding Author: Jibril Adamu, Faculty of Computer and Mathematical Sciences, Universiti Teknologi MARA, 40450 Shah Alam, Selangor, Malaysia.
    [Show full text]
  • Bakalářská Práce
    TECHNICKÁ UNIVERZITA V LIBERCI Fakulta mechatroniky, informatiky a mezioborových studií BAKALÁŘSKÁ PRÁCE Liberec 2013 Jaroslav Jakoubě Příloha A TECHNICKÁ UNIVERZITA V LIBERCI Fakulta mechatroniky, informatiky a mezioborových studií Studijní program: B2646 – Informační technologie Studijní obor: 1802R007 – Informační technologie Srovnání databázových knihoven v PHP Benchmark of database libraries for PHP Bakalářská práce Autor: Jaroslav Jakoubě Vedoucí práce: Mgr. Jiří Vraný, Ph.D. V Liberci 15. 5. 2013 Prohlášení Byl(a) jsem seznámen(a) s tím, že na mou bakalářskou práci se plně vztahuje zákon č. 121/2000 Sb., o právu autorském, zejména § 60 – školní dílo. Beru na vědomí, že Technická univerzita v Liberci (TUL) nezasahuje do mých autorských práv užitím mé bakalářské práce pro vnitřní potřebu TUL. Užiji-li bakalářskou práci nebo poskytnu-li licenci k jejímu využití, jsem si vědom povinnosti informovat o této skutečnosti TUL; v tomto případě má TUL právo ode mne požadovat úhradu nákladů, které vynaložila na vytvoření díla, až do jejich skutečné výše. Bakalářskou práci jsem vypracoval(a) samostatně s použitím uvedené literatury a na základě konzultací s vedoucím bakalářské práce a konzultantem. Datum Podpis 3 Abstrakt Česká verze: Tato bakalářská práce se zabývá srovnávacím testem webových aplikací psaných v programovacím skriptovacím jazyce PHP, které využívají různé knihovny pro komunikaci s databází. Hlavní důraz při hodnocení výsledků byl kladen na rychlost odezvy při zasílání jednotlivých požadavků. V rámci řešení byly zjišťovány dostupné metodiky určené na porovnávání těchto projektů. Byl také proveden průzkum zjišťující, které frameworky jsou nejvíce používané. Klíčová slova: Testování, PHP, webové aplikace, framework, knihovny English version: This bachelor’s thesis is focused on benchmarking of the PHP frameworks and their database libraries used for creating web applications.
    [Show full text]
  • Environmental Assessment DOI-BLM-ORWA-B050-2018-0016-EA
    United States Department of the Interior Bureau of Land Management Burns District Office 28910 Highway 20 West Hines, Oregon 97738 541-589-4400 Phone 541-573-4411 Fax Spay Feasibility and On-Range Behavioral Outcomes Assessment and Warm Springs HMA Population Management Plan Environmental Assessment DOI-BLM-ORWA-B050-2018-0016-EA June 29, 2018 This Page is Intentionally Left Blank Spay Feasibility and On-Range Behavioral Outcomes Assessment and Warm Springs HMA Population Management Plan Environmental Assessment DOI-BLM-ORWA-B050-2018-0016-EA Table of Contents I. INTRODUCTION .........................................................................................................1 A. Background................................................................................................................ 1 B. Purpose and Need for Proposed Action..................................................................... 4 C. Decision to be Made .................................................................................................. 5 D. Conformance with BLM Resource Management Plan(s) .......................................... 6 E. Consistency with Laws, Regulations and Policies..................................................... 7 F. Scoping and Identification of Issues ........................................................................ 12 1. Issues for Analysis .......................................................................................... 13 2. Issues Considered but Eliminated from Detailed Analysis ............................
    [Show full text]
  • 1 Introducing Symfony, Cakephp, and Zend Framework
    1 Introducing Symfony, CakePHP, and Zend Framework An invasion of armies can be resisted, but not an idea whose time has come. — Victor Hugo WHAT’S IN THIS CHAPTER? ‰ General discussion on frameworks. ‰ Introducing popular PHP frameworks. ‰ Design patterns. Everyone knows that all web applications have some things in common. They have users who can register, log in, and interact. Interaction is carried out mostly through validated and secured forms, and results are stored in various databases. The databases are then searched, data is processed, and data is presented back to the user, often according to his locale. If only you could extract these patterns as some kind of abstractions and transport them into further applications, the developmentCOPYRIGHTED process would be much MATERIAL faster. This task obviously can be done. Moreover, it can be done in many different ways and in almost any programming language. That’s why there are so many brilliant solutions that make web development faster and easier. In this book, we present three of them: Symfony, CakePHP, and Zend Framework. They do not only push the development process to the extremes in terms of rapidity but also provide massive amounts of advanced features that have become a must in the world of Web 2.0 applications. cc01.indd01.indd 1 11/24/2011/24/2011 55:45:10:45:10 PPMM 2 x CHAPTER 1 INTRODUCING SYMFONY, CAKEPHP, AND ZEND FRAMEWORK WHAT ARE WEB APPLICATION FRAMEWORKS AND HOW ARE THEY USED? A web application framework is a bunch of source code organized into a certain architecture that can be used for rapid development of web applications.
    [Show full text]
  • Implementación De Framework De Desarrollo Web Durante Un Proyecto”
    UNIVERSIDAD POLITÉCNICA DE SINALOA PROGRAMA ACADÉMICO DE INGENIERÍA EN INFORMÁTICA Tesina “Implementación de Framework de desarrollo web durante un proyecto” Para obtener la acreditación de las estadías profesionales y contar con los créditos para el grado de Ingeniero en Informática. Autor: Bernal Corral Daniel Asesor: M. C. Alejandro Pérez Pasten Borja Asesor OR: Ing. Omar Vidaña Peraza Mazatlán, Sinaloa 13 de Diciembre del 2019 Agradecimientos Agradezco a mis padres por brindarme todo su apoyo durante mis estudios, por darme las clases más importantes, por haber hecho posible que llegara a este momento, por enseñarme que no siempre todo sale perfecto y que debo esforzarme para obtener lo que quiero, por darme ánimos para seguir, por preocuparse por mí y esforzarse para que mi vida fuera mejor. A mi asesor por aconsejarme y corregir los errores que cometí durante el desarrollo de la tesina, por tomarse el tiempo para ver cada detalle y hacer recomendaciones, sugerir opciones, etc. A mi hermano por ayudarme a no rendirme, por asumir su rol de hermano mayor y tratar de guiar, por preocuparse por mí y ayudarme siempre que lo he necesitado. A los profesores que he tenido a lo largo de mis estudios y que me aportaron un poco de su conocimiento para enriquecer el mío. A todos mis compañeros que me ayudaron a hacer más amenas las clases. 6 ÍNDICE TEMÁTICO Índice de imágenes. 9 Resumen. ….. .11 Abstract. …. .11 Introducción. 11 Capítulo I. .. ... …12 1. Antecedentes. .. 13 1.1. Localización. .. ….. 13 1.2. Objetivos de la institución. …………….. 13 1.3. Visión. .14 1.4.
    [Show full text]
  • Cakephp Cookbook Documentation Release 4.X
    CakePHP Cookbook Documentation Release 4.x Cake Software Foundation Sep 25, 2021 Contents 1 CakePHP at a Glance 1 Conventions Over Configuration........................................1 The Model Layer................................................1 The View Layer.................................................2 The Controller Layer..............................................2 CakePHP Request Cycle............................................3 Just the Start...................................................4 Additional Reading...............................................4 2 Quick Start Guide 13 Content Management Tutorial......................................... 13 CMS Tutorial - Creating the Database..................................... 15 CMS Tutorial - Creating the Articles Controller................................ 19 3 4.0 Migration Guide 29 Deprecated Features Removed......................................... 29 Deprecations.................................................. 29 Breaking Changes................................................ 31 New Features.................................................. 37 4 Tutorials & Examples 41 Content Management Tutorial......................................... 41 CMS Tutorial - Creating the Database..................................... 43 CMS Tutorial - Creating the Articles Controller................................ 47 CMS Tutorial - Tags and Users......................................... 56 CMS Tutorial - Authentication......................................... 64 CMS Tutorial - Authorization.........................................
    [Show full text]
  • Online Resume Builder Managing Network System for Internal and External Clients
    Rudy Website: http://www.rudylee.com Email: [email protected] Full-stack Web Developer Full-stack web developer with over 5 years of professional experience. Focus on sustainable web application architecture using PHP, Ruby on Rails, AngularJS, NodeJS, jQuery and responsive HTML/CSS. Experience RateCity JANUARY, 2015 TO PRESENT Ruby on Rails Developer Technologies & Tools Used Ruby on Rails, HTML5, PostgreSQL, jQuery, SASS, Git and Amazon AWS. Captiv8 MAY, 2012 TO DEC, 2014 Web Developer Technologies & Tools Used PHP, Ruby on Rails, HTML5, MySQL, PostgreSQL, jQuery, NodeJS, Grunt, SASS, AngularJS, Yeoman, Firebase, Git, Code Igniter, Zend Framework 2, CakePHP, Vagrant, Chef, Amazon AWS, C# and WPF. Responsibilities Design, development, test, documentation and deployment of content distribution system named Relay. Design and development online campaigns and facebook competition websites. Research on motion detection system using Kinect and WPF. Involved in server provisioning using Amazon AWS. BTA Active FEBRUARY 2011 TO Web Developer OCTOBER 2012 Technologies & Tools Used PHP, HTML5, MySQL, jQuery, Wordpress, Git, Simple Test, PHPUnit and CakePHP. Responsibilities Analysis, design, development and documentation of travel management system. Analysis, design, development and documentation of insurance investigation management system. Design and development client websites using Wordpress CMS. Applied Technology Laboratory Bina Nusantara University APRIL 2009 TO SEPTEMBER 2010 Network Administrator Technologies & Tools Used FreeBSD, Ubuntu, Centos, Mikrotik, Squid, Cisco, Joomla and Wordpress. Responsibilities Created Using Resumonk - Online Resume Builder Managing network system for internal and external clients. Research on new value added service such as online streaming, instant messanging and community website. Notable Bill Management System - CakePHP and Projects AngularJS SEPTEMBER, 2012 TO JANUARY, 2013 http://app.melwaniperdana.com Technologies & Tools Used CakePHP, MySQL, AngularJS, CoffeeScript and Git.
    [Show full text]
  • How to Use Linux for Composer to Deploy to the Cloud
    How To Use Linux for Composer to Deploy to the Cloud Developers are placed into a tough situation when asked to deploy a working Docker container- based application up to a cloud service. Traditionally, in addition to hours spent wading through cloud services documentation, a deployment was a messy operation involving a combination of docker exec, zip, unzip, sftp and ssh to get everything up and running. In this guide we show you how to deploy directly from your local computer to Linux for PHP Cloud Services in minutes using a fantastic new tool called Linux for Composer . What the Heck is Linux for Composer? At this early stage you may be thinking: well … I’ve heard of Linux, and I’ve heard of Composer … but what the heck is Linux for Composer (LfC)? LfC is yet another incredible tool that comes out of the Linux for PHP project. The brainchild of Foreach Code Factory CEO Andrew Caya, LfC is a PHP package, hosted on github.com and packagist.org, made available via Composer. Obviously any package residing on packagist.org is not Linux, nor the Linux kernel, but what LfC allows you to do is to define a standard composer.json file that includes an extra set of directives that essentially mimics some of the things you can do using Docker Compose. The main difference, however, is that LfC will proceed to not only build the Docker container for you, but actually upload it to a cloud service using credentials you supply. So, effectively, as long as your Docker container works locally, with a single command, that same container is reconstructed instantly live on the Internet.
    [Show full text]
  • Zašto Smo Odabrali Laravel (4)?
    Zašto smo odabrali Laravel (4)? Denis Stančer Prije framework-a • Razvijate web aplikacije od ranih početaka (kraj XX stoljeća) • Perl – CGI • PHP (3.0 - 6/1998, 4.0 - 5/2000, 5.0 - 7/2004, 5.3 - 6/2009 ) • Tijekom vremena sami razvijete elemente frameworka • Prednosti: • Brži razvoj • Neka vrsta standarda • Nedostaci: • Još uvijek velika količina spaghetti kôda • Pojedini developer ima svoj framework • Ne razvijaju se svi jednako brzo • Nama pravovremenih sigurnosnih zakrpi U Srcu • Koji PHP framework koristite ili ste koristili? Zašto framework? • Brži razvoj • Standardizirana organizacija kôda • Pojednostavljeno • Pristupu bazi/bazama • Zaštita od osnovnih sigurnosnih propusta • Modularnost • Razmjena gotovih rješenja među developerima • Copy/paste ili Composer • U MVC framework-u razdvojen HTML/JS od PHP-a • U konačnici - bolja suradnja unutar tima = efikasniji razvoj i održavanje MVC – Model-View-Controller • Programski predložak kojim se komunikacija s korisnikom dijeli na tri dijela: • data model: podaci • najčešće baza • user interface: prikaz stanja u modelu • najčešće templating engine • bussines model: šalje naredbe modelu Koji framework odabrati? • Koji su najpopularniji? • Koji imaju mogućnosti koje nama trebaju? • Popis općih kriterija • Composer • ORM • Testna okruženja • Migracije i seeding • Templating engine • Bootstrap • Git • Kvaliteta dokumentacije • Stanje zajednice: forumi, članci, konferencije,… Koji framework odabrati? (2) • Popis specifičnih kriterija • Mali (rijetko srednje veliki) projekti • simpleSAMLphp: jednostavno
    [Show full text]
  • PRADO V3.2.3 Quickstart Tutorial 1
    PRADO v3.2.3 Quickstart Tutorial 1 Qiang Xue and Wei Zhuo November 26, 2013 1Copyright 2004-2013. All Rights Reserved. Contents i ii Preface Prado quick start doc iii iv License PRADO is free software released under the terms of the following BSD license. Copyright 2004-2013, The PRADO Group (http://www.pradosoft.com) All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of con- ditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the PRADO Group nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    [Show full text]
  • What Are the Reasons to Choose Laravel MVC for Web Development?
    What are the reasons to choose Laravel MVC for web development? Sambhav Rajput MSC IT – Research Methods and Professional Issues Bournemouth University Poole, United Kingdom [email protected] Abstract— In the current market, there is a wide range of business logic (models), the manipulate coordination interesting technological solutions. So, it is recommended to (controllers) and the presentation of statistics (views) into 3 properly research, identify and implement the solution distinctive layers. In other phrases, the heart of the MVC which most suited to the information system strategy. In pattern is the concept of “Separation of concern” [4]. The contemporary years due to the brisk development of internet framework additionally helps modular architect which technology, online business is gradually rampant. Website enables developers to separate code into unbiased users are very demanding as all the time they expect the web manageable modules [5]. Laravel is one of the PHP systems services to be quickly and easily accessible from different that have distinctive aspects e.g., expressiveness and clean code [6]. places around the world, whenever they need it. Website users always need very rapid and quick responses. Website In this context, this paper focuses on below hypothesis development is a process that takes time and takes more questions: time if the development language is simple, which is not What is MVC Really? consistent with this quick and evolving world of technology. So that's why frameworks are developed to overcome these What is Laravel Authentication? problems related to web development and to create websites What is Laravel Middleware? very conveniently.
    [Show full text]
  • Comparing Performance of Plain PHP and Four of Its Popular Frameworks
    Thesis Project Comparing Performance of Plain PHP and Four of Its Popular Frameworks Author: Jone Samra Supervisor: Johan Hagelbäck Examiner: Sabri Pllana Semester: VT 2015 Subject: Computer Science Abstract The objective of this study is to evaluate performance of four popular PHP frameworks Laravel, Symfony, CodeIgniter and Phalcon together with the plain PHP. The decision of making this study was based on the fact that there is a lack of comparison tests between the most popular PHP frameworks. Visiting the official websites of these frameworks, the first thing to notice is the slogans that have been made by the core teams. The majority of these slogans contain quality attributes like speed and high performance. As a developer looking for performance in your next project, choosing the right PHP framework by these slogans is not that easy. Therefor, the performance of these frameworks is put to the test. And to do that, three experiments are conducted in which five functionally equivalent PHP applications are developed and used as targets. One version of these applications represents the plain PHP and the other four represent the four mentioned frameworks. The experiments are conducted in two sessions. The first session deals with the execution time and the stack trace measurements while the second one is covering the measurement of the memory usage consumption. The result outcome of these experiments has been analyzed and interpreted in order to expose the performance of the targeted frameworks. The experiment results prove that the targeted frameworks perform differently compared with each other and the PHP stack. Plain PHP and Phalcon are performing well while the other three frameworks have both mediocre and low performance.
    [Show full text]