YII Framework Dept. of IT 1.INTRODUCTION YII Is Pronounced As “Yee”, and Stands for “Yes It Is!”. Unlike Other Component

Total Page:16

File Type:pdf, Size:1020Kb

YII Framework Dept. of IT 1.INTRODUCTION YII Is Pronounced As “Yee”, and Stands for “Yes It Is!”. Unlike Other Component YII Framework Dept. of IT 1.INTRODUCTION YII is pronounced as “yee”, and stands for “Yes It Is!”. Unlike other component based PHP frameworks, YII scores way ahead in terms of RPC performance and adopts the ‘lazy-loading’ technique that increases its efficiency manifold. Other than this critical advantage of YII over other similar Frameworks, YII is written using OOP protocols and offers extensive reusability for developing web 2.0 applications. Installation of Yii mainly involves the following two steps: • Download Yii Framework from yiiframework.com. • Unpack the Yii release ?le to a Web-accessible directory After installing Yii, you may want to verify that your server satisfies all the requirements of using Yii. You can do so by accessing the requirement checker script at the following URL in a Web browser: http://hostname/path/to/yii/requirements/index.php The minimum requirement by Yii is that your Web server supports PHP 5.1.0 or above. Yii has been tested with Apache HTTP server on Windows and Linux operating systems. It may also run on other Web servers and platforms provided PHP 5 is supported. 1.1 About YII: Yii is a high-performance PHP framework best for developing Web 2.0 applications .Yii helps Web developers build complex applications and deliver them on-time .Yii is pronounced as Yee or [ji:], and is an acroynym for "Yes It Is!". This is often the accurate, and most concise response to inquires from those new to Yii . Is it fast? ... Is it secure? ... Is it professional? ... Is it right for my next project? ... Yes, it is! Yii is a free, open-source Web application development framework written in PHP5 that promotes clean, DRY design and encourages rapid development. It works to streamline your application development and helps to ensure an extremely efficient, extensible, and maintainable end product. M.L.Engineering College 1 YII Framework Dept. of IT Being extremely performance optimized, Yii is a perfect choice for any sized project. However, it has been built with sophisticated, enterprise applications in mind. You have full control over the configuration from head-to-toe (presentation-to- persistence) to conform to your enterprise development guidelines. It comes packaged with tools to help test and debug your application, and has clear and comprehensive documentation .To learn more about what Yii brings to the table, check out the features section. 1.2 Why Use YII: 1. Its fast: Using the ‘lazy-loading’ technique, YII calls classes and objects only when needed and hence helps faster loading. It has a neat integration with AJAX and uses powerful layered caching support. 2. Its secure: Using OOP standards increases the reliability of YII. Its other security essentials such as input filtering, SQL injection and cross-site scripting prevention means a stronger framework for your PHP applications to work on 3. Its developer-friendly: Using the model-view-controller (MVC) paradigm, YII offers clean separation of business rules, logic and presentation. M.L.Engineering College 2 YII Framework Dept. of IT 2. MODEL VIEW CONTROLLER (MVC) Yii implements the model-view-controller (MVC) design pattern which is widely adopted in Web programming. MVC aims to separate business logic from user interface considerations so that developers can more easily change each part without a_ecting the other. In MVC,the model represents the information (the data) and the business rules; the view contains elements of the user interface such as text, form inputs; and the controller manages the communication between the model and the view.Besides MVC, Yii also introduces a front-controller, called application, which represents the execution context of request processing. Application resolves the user request and dispatches it to an appropriate controller for further handling. The following diagram shows the static structure of a Yii application: M.L.Engineering College 3 YII Framework Dept. of IT Figure: Static structure of Yii application 3. A TYPICAL WORKFLOW M.L.Engineering College 4 YII Framework Dept. of IT The following diagram shows a typical workflow of a Yii application when it is handling a user request. Figure: A typical workflow of Yii application 1. A user makes a request with the URL http://www.example.com/index.php?r=post/ show&id=1 and the Web server handles the request by executing the bootstrap script index.php . 2. The bootstrap script creates an application instance and runs it. 3. The application obtains the detailed user request information from an application component named request. 4. The application determines the requested controller and action with the help of an application component named URL Manager . For this example, the controller is post M.L.Engineering College 5 YII Framework Dept. of IT which refers to the Post Controller class; and the action is show whose actual meaning is determined by the controller. 5. The application creates an instance of the requested controller to further handle the user request. The controller determines that the action show refers to a method named action Show in the controller class. It then creates and executes filters (e.g. access control, benchmarking) associated with this action. The action is executed if it is allowed by the filters. 6. The action reads a Post model whose ID is 1 from the database. 7. The action renders a view named show with the Post model. 8. The view reads and displays the attributes of the Post model. 9. The view executes some widgets. 10. The view rendering result is embedded in a layout. 11. The action completes the view rendering and displays the result to the user. 4. CREATING AN YII APPLICATION M.L.Engineering College 6 YII Framework Dept. of IT For creating YII web application we use a powerful YII tool which can be used to automate code creation for certain tasks. For simply, we assume that YII root is the directory where YII is installed, and Web Root is the document root of our Web server. 1. Preparation: After installing the YII framework, run a simple console command “% YII Root/framework/yiicwebappWebRoot/testdrive” to generate a selection Web application built with Yii, This will create a selection Yii application under the directory WebRoot/testdrive. 2. Create The Database: While YII can virtually eliminate most respective coding tasks, you are responsible for the real creative work . This often starts with designing the whole system to be built, in terms of some database. 2A.YII generates the model classes using the built-in web-based code generator,you can turn database table definitions into model classes instantly, without writing a single line of code. The model classes will allow you to access the database tables in an object-oriented fashion. 2B.YII generates the CRUD code using the code generator, we can further generate code that implements the typical CRUD (create, read, update, delete) features for the selected database tables. The generated code is highly usable and customizable following the well-adapted MVC(Model-View-Controller) design pattern. 3. You Customize The Code To Fit Your Exact Needs: Finally we customize the code to fit our exact needs.For example,to find the password user column on the user administration page,simply cross out the ‘password’ element shown in the user admin view file. Creating An First YII Application: M.L.Engineering College 7 YII Framework Dept. of IT 1. Connecting to Database 2. Implementing CRUD Operations To get an initial experience with Yii, we describe in this section how to create our firstYii application. We will use the powerful yiic tool which can be used to automate code creation for certain tasks. For convenience, we assume that YiiRoot is the directory where Yii is installed, and WebRoot is the document root of our Web server. Run yiic on the command line as follows: % YiiRoot/framework/yiic webapp WebRoot/testdrive This will create a skeleton Yii application under the directory WebRoot/testdrive. The application has a directory structure that is is needed by most Yii applications.Without writing a single line of code, we can test drive our _rst Yii application by accessing the following URL in a Web browser: http://hostname/testdrive/index.php As we can see, the application has four pages: the homepage, the about page, the contact page and the login page. The contact page displays a contact form that users can fill into submit their inquiries to the webmaster, and the login page allows users to be authenticated before accessing privileged contents. See the following screenshots for more details. The following diagram shows the directory structure of our application. Please see conventions for detailed explanation about this structure. testdrive/ index.php Web application entry script file index-test.php entry script file for the functional tests assets/ containing published resource files css/ containing CSS files images/ containing image files themes/ containing application themes M.L.Engineering College 8 YII Framework Dept. of IT Home page M.L.Engineering College 9 YII Framework Dept. of IT M.L.Engineering College 10 YII Framework Dept. of IT Contact page with input errors M.L.Engineering College 11 YII Framework Dept. of IT Contact page with success message Login page M.L.Engineering College 12 YII Framework Dept. of IT protected/ containing protected application files yiic yiic command line script for Unix/Linux yiic.bat yiic command line script for Windows yiic.php yiic command line PHP script commands/ containing customized 'yiic' commands shell/ containing customized
Recommended publications
  • The Yii Framework – Larry Ullman
    The Yii Framework – Larry Ullman This is a copy of the Larry Ullman series ‘Learning the Yii Framework’. See http://www.larryullman.com/2009/06/18/introduction-to-the-yii-framework/. 1. Introduction to the Yii Framework In 2009, I had three decent-size Web sites to develop, so I thought I might try using a PHP framework for the first time, instead of coding everything from scratch. I’ve used Ruby on Rails for Web development before, so I’m comfortable with frameworks and the MVC architecture, but I wanted to educate myself on PHP frameworks. After researching a handful of frameworks, and after an unsatisfying attempt to use Zend Framework, I finally settled on, and really came to appreciate the Yii Framework. At the time, the Yii Framework was still quite new, and there are still bugs to be worked out (for the more advanced stuff), but Yii works so well that it’s very easy to use. In this first of several posts on the Yii Framework, I just discuss setting up and testing Yii. (Note: In October 2010, I’ve updated this entire series to reflect changes in Yii since this series was written, and to take into account feedback provided through the comments. Some outdated material will be crossed out, but left in to reflect how things have changed since the series was begun in June 2009.) The first thing you need in order to use the Yii Framework is access to a Web server with PHP installed, of course. But if you’re reading this, I’m going to assume you have access to a PHP-enabled server.
    [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]
  • A Framework for PHP Program Analysis
    A Framework for PHP Program Analysis Mark Hills Postdoc in Software Analysis and Transformation (SWAT) CWI Scientific Meeting February 8, 2013 http://www.rascal-mpl.org Overview • Motivation • Goals • Current Progress • Related Work 2 3 PHP: Not Always Loved and Respected • Created in 1994 as a set of tools to maintain personal home pages • Major language evolution since: now an OO language with a number of useful libraries, focused on building web pages • Growing pains: some “ease of use” features recognized as bad and deprecated, others questionable but still around • Attracts articles with names like “PHP: a fractal of bad design” and “PHP Sucks, But It Doesn’t Matter” 4 So Why Focus on PHP? • Popular with programmers: #6 on TIOBE Programming Community Index, behind C, Java, Objective-C, C++, and C#, and 6th most popular language on GitHub • Used by 78.8% of all websites whose server-side language can be determined, used in sites such as Facebook, Hyves, Wikipedia • Big projects (MediaWiki 1.19.1 > 846k lines of PHP), wide range of programming skills: big opportunities for program analysis to make a positive impact 5 Rascal: A Meta-Programming One-Stop-Shop • Context: wide variety of programming languages (including dialects) and meta-programming tasks • Typical solution: many different tools, lots of glue code • Instead, we want this all in one language, i.e., the “one-stop-shop” • Rascal: domain specific language for program analysis, program transformation, DSL creation PHP Program Analysis Goals • Build a Rascal framework for creating
    [Show full text]
  • Muhammad Touqeer Shafi
    Muhammad Touqeer Shafi E-mail: [email protected] CONTACT Website: http://pk.linkedin.com/pub/touqeer- shafi/22/634/b44/ Phone: +923142032499 WORK EXPERIENCE Ovrlod Pvt Ltd January 2014 — Present Software Engineer Design, program, and deliver web/local development projects (PHP, .Javascript and related platforms) within designated schedules. • Support development of projects from inception through alpha/beta testing and final delivery • Identify, communicate, and overcome development problems and creative challenges related to complex web • Keep current with programming languages/platforms within the web development/web application, and • Comprehend and follow specific project life-cycle instructions and procedures when required • Revise and troubleshoot development work as required • Provide tactical application mentorship to other developers in area of expertise • Heavily contribute to and actively follow technical documentation related to interactive development cycles • Act as a go-to person within technical area of expertise • Effectively present technical information in one-on-one and small group situations to vendors, clients, and agency staff • Apply common-sense understanding to carry out detailed but objective written or oral instructions • Engage in a pattern of learning and research Mamdani Web October 2011 — December 2013 Php Developer Write “clean”, well designed code. Produce detailed specifications. Troubleshoot, test and maintain the core product software and databases to ensure strong optimization and functionality.
    [Show full text]
  • A Guide to Native Plants for the Santa Fe Landscape
    A Guide to Native Plants for the Santa Fe Landscape Penstemon palmeri Photo by Tracy Neal Santa Fe Native Plant Project Santa Fe Master Gardener Association Santa Fe, New Mexico March 15, 2018 www.sfmga.org Contents Introduction………………………………………………………………………………………………………………………………………………………………………………………………………….. ii Chapter 1 – Annuals and Biennials ........................................................................................................................................................................ 1 Chapter 2 – Cacti and Succulents ........................................................................................................................................................................... 3 Chapter 3 – Grasses ............................................................................................................................................................................................... 6 Chapter 4 – Ground Covers .................................................................................................................................................................................... 9 Chapter 5 – Perennials......................................................................................................................................................................................... 11 Chapter 6 – Shrubs .............................................................................................................................................................................................
    [Show full text]
  • Redalyc.Effect of Deficit Irrigation on the Postharvest of Pear Variety
    Agronomía Colombiana ISSN: 0120-9965 [email protected] Universidad Nacional de Colombia Colombia Bayona-Penagos, Lady Viviana; Vélez-Sánchez, Javier Enrique; Rodriguez-Hernandez, Pedro Effect of deficit irrigation on the postharvest of pear variety Triunfo de Viena (Pyrus communis L.) in Sesquile (Cundinamarca, Colombia) Agronomía Colombiana, vol. 35, núm. 2, 2017, pp. 238-246 Universidad Nacional de Colombia Bogotá, Colombia Available in: http://www.redalyc.org/articulo.oa?id=180353882014 How to cite Complete issue Scientific Information System More information about this article Network of Scientific Journals from Latin America, the Caribbean, Spain and Portugal Journal's homepage in redalyc.org Non-profit academic project, developed under the open access initiative Effect of deficit irrigation on the postharvest of pear variety Triunfo de Viena (Pyrus communis L.) in Sesquile (Cundinamarca, Colombia) Efecto del riego deficitario en la poscosecha de pera variedad Triunfo de Viena (Pyrus communis L.) en Sesquilé (Cundinamarca,Colombia) Lady Viviana Bayona-Penagos1, Javier Enrique Vélez-Sánchez1, and Pedro Rodriguez-Hernandez2 ABSTRACT RESUMEN A technique settled to optimize the use of water resources is Una técnica para optimizar el uso del recurso hídrico es el Riego known as Controlled Deficient Irrigation (CDI), for which this Deficitario Controlado (RDC), por esto se realizó un experi- experiment was carried out to determine the effect of a three mento para ver el efecto de tres láminas de agua correspondien- water laminae: 100 (T1), 25 (T2) and 0% (T3) crop´s evapotrans- tes al 100 (T1), 25(T2) y 0% (T3) de la evapotranspiración del piration (ETc) on the rapid growth phase of the pear fruit variety cultivo (ETc), en la fase de crecimiento rápido del fruto de pera Triunfo de Viena.The fruit quality (fresh weight variation, variedad Triunfo de Viena.
    [Show full text]
  • Laravel in Action BSU 2015-09-15 Nathan Norton [email protected] About Me
    Laravel in Action BSU 2015-09-15 Nathan Norton [email protected] About Me ● Full Stack Web Developer, 5+ years ○ “If your company calls you a full stack developer, they don’t know how deep the stack is, and neither do you” - Coder’s Proverb ● Expertise/Buzz words: ○ PHP, Composer, ORM, Doctrine, Symfony, Silex, Laravel, OOP, Design Patterns, SOLID, MVC, TDD, PHPUnit, BDD, DDD, Build Automation, Jenkins, Git, Mercurial, Apache HTTPD, nginx, MySQL, NoSQL, MongoDB, CouchDB, memcached, Redis, RabbitMQ, beanstalkd, HTML5, CSS3, Bootstrap, Responsive design, IE Death, Javascript, NodeJS, Coffeescript, ES6, jQuery, AngularJS, Backbone.js, React, Asterisk, Lua, Perl, Python, Java, C/C++ ● Enjoys: ○ Beer About Pixel & Line ● Creative Agency ● Web development, mobile, development, and design ● Clients/projects include Snocru, Yale, Rutgers, UCSF, Wizard Den ● Every employee can write code ● PHP/Laravel, node, AngularJS, iOS/Android ● “It sucks ten times less to work at Pixel & Line than anywhere else I’ve worked” - Zack, iOS developer Laravel ● Born in 2011 by Taylor Otwell ● MVC framework in PHP ● 83,000+ sites ● Convention over configuration ● Attempts to make working with PHP a joy ● Inspired by Ruby on Rails, ASP.NET, Symfony, and Sinatra ● Latest version 5.1, finally LTS Laravel Features ● Eloquent ORM ● Artisan command runner ● Blade Templating engine ● Flexible routing ● Easy environment-based configuration ● Sensible migrations ● Testable ● Caching system ● IoC container for easy dependency injection ● Uses Symfony components ● Web documentation
    [Show full text]
  • Alexey Rogachev
    Alexey Rogachev Web programmer, 30 years old Location: Almaty, Kazakhstan (Almaty Region) Experience: 9 years About Passionate full stack web developer. Perfectionist trying to find a balance between quality, deadlines and requirements. Languages: • Russian: ILR - 5, CEFR - C2 • English: ILR - 3, CEFR - C1 • Kazakh: ILR - 1, CEFR - A2 Work Aviata (2018 - Present) Location: Almaty, Kazakhstan Period: July 2018 - Present (1 year 11 months) Flight and railway tickets selling service. In 2018 it was united with ex-competitor “Chocotravel” and became the 2nd biggest internet plaform in Kazakhstan according to Forbes (short, details). Worked on railways project. After I joined this company it got bigger priority and dedicated team. Website: https://aviata.kz/railways/ Position: Web programmer Technologies: Python, Django, Django REST Framework, Flask, MySQL, Nginx, Gunicorn, CentOS, JavaScript, jQuery, Vue.js, HTML, Bootstrap, Sass, Webpack, Node.js, Docker Tasks: • Backend development - support and further development of API used by site, mobile apps and partner “Chocotravel”. Integration with other APIs and services. • Frontend development - both desktop and mobile site versions (until January 2019). • Making reports to determine success of adding new features. • Code review and mentoring of other team members. Highlights: • Set up Docker and Docker Compose for development, staging and production environments. • Developed new functionality - subscription to free places, timetable and routes of the trains, nearby dates search, push notifications. • Connected Google Cloud Storage. • Adapted and extended API for usage by partner “Chocotravel”. • Created mock server for supplier’s API with a set of quickly reproducible cases for easier testing and design showcase. • Improved unit tests’ coverage, wrote a suite of functional tests for main flow.
    [Show full text]
  • Frameworks PHP
    Livre blanc ___________________________ Frameworks PHP Nicolas Richeton – Consultant Version 1.0 Pour plus d’information : www.smile.fr Tél : 01 41 40 11 00 Mailto : [email protected] Page 2 les frameworks PHP PREAMBULE Smile Fondée en 1991, Smile est une société d’ingénieurs experts dans la mise en œuvre de solutions Internet et intranet. Smile compte 150 collaborateurs. Le métier de Smile couvre trois grands domaines : ! La conception et la réalisation de sites Internet haut de gamme. Smile a construit quelques uns des plus grands sites du paysage web français, avec des références telles que Cadremploi ou Explorimmo. ! Les applicatifs Intranet, qui utilisent les technologies du web pour répondre à des besoins métier. Ces applications s’appuient sur des bases de données de grande dimension, et incluent plusieurs centaines de pages de transactions. Elles requièrent une approche très industrielle du développement. ! La mise en œuvre et l’intégration de solutions prêtes à l’emploi, dans les domaines de la gestion de contenus, des portails, du commerce électronique, du CRM et du décisionnel. www.smile.fr © Copyright Smile - Motoristes Internet – 2007 – Toute reproduction interdite sans autorisation Page 3 les frameworks PHP Quelques références de Smile Intranets - Extranets - Société Générale - Caisse d'Épargne - Bureau Veritas - Commissariat à l'Energie Atomique - Visual - Vega Finance - Camif - Lynxial - RATP - AMEC-SPIE - Sonacotra - Faceo - CNRS - AmecSpie - Château de Versailles - Banque PSA Finance - Groupe Moniteur - CIDJ - CIRAD - Bureau
    [Show full text]
  • Performance Analysis Framework Codeigniter and Cakephp in Website Creation
    Performance Analysis Framework Codeigniter and CakePHP in Website Creation {tag} {/tag} International Journal of Computer Applications © 2014 by IJCA Journal Volume 94 - Number 20 Year of Publication: 2014 Authors: Hustinawati Albert Kurnia Himawan Latifah 10.5120/16549-5946 {bibtex}pxc3895946.bib{/bibtex} Abstract IThe era of rapidly evolving technologies currently provide a positive influence on the development of web technology . One such technology is the development of the framework. Framework is a framework that allows developers to build an application . There are two types of frameworks , one of which is a web application framework. In this framework there is one type of framework that is widely used by web developers , which is a PHP framework that until now has been growing more than fifteen types to follow the progress of existing technology . With the development of web technology , in addition to facilitate can also cause problems both for the beginners in the world of PHP programming or PHP programmers to choose a framework which is more convenient and effective to use. Therefore , in this study will be a comparison between the two types , namely PHP framework CakePHP framework CodeIgniter framework that is implemented with the creation of websites to display data from a database , so that the two kinds of PHP frameworks can be known benefits and drawbacks to the analysis based on six factors namely in terms of performance , architecture , features - features that are available , the application of Ajax , ORM implementation , and capacity of each library - each framework. 1 / 2 Performance Analysis Framework Codeigniter and CakePHP in Website Creation Refer ences - (http://www.
    [Show full text]
  • Pear and Nashi Production in Australia Introduction
    Case Study 26 Pollination Aware and Pear Nashi This case study is the primary source of information on potential pollination services for the industry. It is based on data provided by industry, the ABS and other relevant sources. Therefore, information in this case study on potential hive requirements may differ to the tables in the Pollination Aware report (RIRDC Pub. No. 10/081) which are based on ABS (2008) Agricultural Commodities Small Area Data, Australia 2005-06. Introduction Pear trees (Pyrus spp., family Rosaceae) are native to coastal colours ranging from tan to brown and a rough texture. Both and mildly temperate regions of western Europe, North Africa, types grow easily, produce sweet and juicy fruit that are a low and extending east across parts of Asia. The two main types of calorie source of carbohydrates, fibre, and pectin. pear cultivated around the world are the European pear (Pyrus Most pear varieties are considered self-infertile and require communis L) and the Asian pear or ‘nashi’ (Pyrus pyrifolia). For cross-pollination with another variety to set fruit. Honey bees the purpose of this study the European pear is referred to as the are regarded as the most efficient and most important pollinators ‘pear’ and the Asian pear as the ‘nashi’. The fruit mainly carry of pear trees (McGregor 1976; Stern et al. 2004). This is despite the distinctive ‘pear shape’, technically referred to as pyriform (a the fact that pear flowers produce very little nectar, with bees narrow stem area and full bulbous-like base); however, the nashi primarily foraging on them for pollen (McGregor 1976).
    [Show full text]
  • Adopting Web Framework in Web-Application Development
    ADOPTING WEB FRAMEWORK IN WEB-APPLICATION DEVELOPMENT Case: Kehittäjän tieto- ja menetelmäpankki Lahti University of Applied Sciences LAHTI UNIVERSITY OF APPLIED SCIENCES Degree Programme in Business Information Technology Bachelor’s Thesis Spring 2012 Nguyen Minh Thanh Lahti University of Applied Sciences Degree Programme in Business Information Technology NGUYEN, MINH THANH: Adopting web framework in web application development Case: Kehittäjän tieto - ja menetelmäpankki Bachelor’s Thesis of Degree Programme in Business Information Technology, 40 pages, 3 pages of appendices Spring 2012 ABSTRACT Since the web found its true form, it is no longer static web pages without any user’s interaction. During the last few years, web applications have matured to the point that they can compete with full-fledged desktop applications. The support technologies have been growing significantly with the likes of Google web toolkit, web application frameworks, and CMS. This thesis is based on the real application of Tykes, which has been coded by hand in PHP for a few years. The approach is set to improved Tykes’s features and performance. As the result, it shows the benefits of implementing web frameworks in real life works. The action research method is used to answer the research questions in this study, in inductive approach. The researcher’s experience is compared to other relevant published sources. Example source codes are extracted from Tykes. The research results show an expected range. It confirms the positive effects of implementing web framework in web application development. Features which have been tested in Tykes are presented and compared to their originals. Some example source codes are extracted from the application to prove the results.
    [Show full text]