Ian J Robotham Software Development Lead Medi-CAL Unit, University of Aberdeen.

Slides:



Advertisements
Similar presentations
WordPress Installation for Beginners Sheila Bergman
Advertisements

PHP + Framework + MVC. What is Framework? Common code - Generic functionality Extensible - Specific functionality Unlike library – Flow Dictated by.
Other Web Application Development Technologies. PHP.
Other Web Application Development Technologies. PHP.
Bruce Scharlau, University of Aberdeen, 2008 RESTful Assessments.
The OWASP Foundation Copyright © The OWASP Foundation Permission is granted to copy, distribute and/or modify this document under.
My Very First… Model View Controller Web Application with the Zend Framework New York City ZF Meetup.
METALOGIC s o f t w a r e © Metalogic Software Corporation DACS Developer Overview DACS – the Distributed Access Control System.
One acronym, one system: using the EMu API to connect your Collections Management System with your Content Management System 2009 European EMu Users Meeting,
Using Evernote and Google Docs in your web or mobile application (and potentially Dropbox and Skydrive) By Peter Messenger Senior Developer – Triple Point.
GeoRSS and Webmaps. Really Simple Syndication Specification name of the FEED creator's name 2011 unique item can.
1.  Understanding about How to Working with Server Side Scripting using PHP Framework (CodeIgniter) 2.
Yii – How Power Comes Introduction, OOP & Design Patterns Presented at: Nextbridge Multan Center Aug 25, 2011.
W alkie Doggie is a web application that allows dog owners to help each other with their dog walks. It’s main feature is the walkies, which are the user’s.
A complete web app using flex. You can use the flex builder to generate the php (server side) code for a flex-php application. As before, Php connects.
Performed by:Gidi Getter Svetlana Klinovsky Supervised by:Viktor Kulikov 08/03/2009.
Peoplesoft: Building and Consuming Web Services
Sara SartoliAkbar Siami Namin NSF-SFS workshop July 14-18, 2014.
Simple Web SQLite Manager/Form/Report
DR. MOHAMMAD IQBAL THANKS TO ADITYA SENGUPTA Comparing Web Frameworks.
Fraser Technical Solutions, LLC
Cross Platform Mobile Backend with Mobile Services James
Dataface API Essentials Steve Hannah Web Lite Solutions Corp.
ZFApp Preview Walkthrough. What is ZFApp? ZFApp is an application framework built on top of Zend Framework Fully compatible with the latest ZF Versions.
CodeIgniter - [Overview]
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
1 PHP and MySQL. 2 Topics  Querying Data with PHP  User-Driven Querying  Writing Data with PHP and MySQL PHP and MySQL.
1.NET Web Forms Security Issues © 2002 by Jerry Post.
Codeigniter is an open source web application. It occupies a very small amount of space in the memory and is most useful for developers who aim to develop.
School of Computing and Information Systems CS 371 Web Application Programming CakePHP Server-side Framework.
Web Scripting [PHP] CIS166AE Wednesdays 6:00pm – 9:50pm Rob Loy.
CAKEPHP Blog tutorial. what you’ll need examples/blog/blog.html 2  A running web server  A database server.
Yii Development. -Yii stands for Yes It Is ! -a fast -Secure -high performance -PHP framework for developing web 2.0 applications. -simply a fine tool.
NMD202 Web Scripting Week3. What we will cover today Includes Exercises PHP Forms Exercises Server side validation Exercises.
Arnold Geraldo Designing and Making of The Online Auction Website Using CakePHP Framework.
Copyright © The OWASP Foundation Permission is granted to copy, distribute and/or modify this document under the terms of the OWASP License. The OWASP.
PHP2010/11 : [‹#›] PHP Security. PHP2010/11 : [‹#›] Two Golden Rules 1.FILTER external input Obvious.. $_POST, $_COOKIE, etc. Less obvious.. $_SERVER.
ASP.NET The Clock Project. The ASP.NET Clock Project The ASP.NET Clock Project is the topic of Chapter 23. By completing the clock project, you will learn.
Open Source Server Side Scripting ECA 236 Open Source Server Side Scripting PHP & MySQL.
Building Secure Web Applications With ASP.Net MVC.
XRX Basic CRUDS Create, Read, Update and Delete and Search XML Data Date: May 2011 Dan McCreary President Dan McCreary & Associates
SimDB Implementation & Browser IVOA InterOp 2008 Meeting, Theory Session 1. Baltimore, 26/10/2008 Laurent Bourgès This work makes use of EURO-VO software,
Web2.0 Secure Development Practice Bruce Xia
MVC WITH CODEIGNITER Presented By Bhanu Priya.
Date : 3/04/2010 Web Technology Solutions Class: PHP Web Application Frameworks.
Introduction to PHP Brendan Knight. What is PHP PHP is a general-purpose scripting language originally designed for web development to produce dynamic.
 An essential supporting structure of any thing  A Software Framework  Has layered structure ▪ What kind of functions and how they interrelate  Has.
Mr. Justin “JET” Turner CSCI 3000 – Fall 2015 CRN Section A – TR 9:30-10:45 CRN – Section B – TR 5:30-6:45.
Personalizing Web Sites Nasrullah. Understanding Profile The ASP.NET application service that enables you to store and retrieve information about users.
10 Most Popular PHP Frameworks for Modern Web Development
The Django Web Application Framework zhixiong.hong
Top 50 Interview Questions & Answers in CakePHP. 2 Question : 1 What is CakePHP?  CakePHP is a free, open-source, rapid development framework for PHP.
COM621: Advanced Interactive Web Development Lecture 10 PHP and MySQL.
VuFind 2.0 an introduction Demian Katz VuFind Developer
Introduction The concept of a web framework originates from the basic idea that every web application obtains its foundations from a similar set of guidelines.
By TOPS Technologies Easy to Used PHP Frameworks 1
Web Systems & Technologies
Web Technology Solutions
Working with Server Side Scripting: PHP Framework (CodeIgniter)
What is Laravel ? By Georgi Genov.
Top 12 PHP Frameworks 2016.
MVC Architecture, Symfony Framework for PHP Web Apps
Introduction to CodeIgniter (CI)
AVOIR -African virtual
PHP Training at GoLogica in Bangalore
Task Management System (TMS)
Yii - For the Future - Gen Web Development Platform
…and web frameworks in general
…and web frameworks in general
Top 10 PHP Frameworks in PHP is one of the most sought after choices for programmers. Hypertext Pre-processor is chiefly used as a server-side open.
Presentation transcript:

Ian J Robotham Software Development Lead Medi-CAL Unit, University of Aberdeen

Who? Ellis Labs Inc. Based in Bend, Oregon

What? Open source Web Application Framework Lightweight Available for 5 years

Why? Rapid Application Development Noted for Speed Handles much of the mundane – query processing, pagination, validation etc.

MVC Controller Model View

Getting Started Download, extract & rename = “working” app Configure & Code

Security URL Anti register_globals XSS Filtering CSRF Automatic GET/POST/COOKIE cleaning Database escaping

Active Record Modified version of design pattern Database independence* Allows chaining (PHP5+) $query = $this->db->from(‘users’) ->where(‘dept’, ‘DIT’) ->order_by(‘lastname asc’); foreach ($query->result() as $row) { echo $row->firstname.’ ‘.$row->lastname; }

Form Validation In controller Some exists but can write own tests $this->load->library('form_validation'); $this->form_validation->set_rules('username', 'Username', 'required'); $this->form_validation->set_rules('password', 'Password', 'required'); $this->form_validation->set_rules('passconf', 'Password Confirmation', 'required'); $this->form_validation->set_rules(' ', ' ', 'required|valid_ '); if ($this->form_validation->run() == FALSE) { $this->load->view('myform'); } else { $this->load->view('formsuccess'); }

Libraries Classes to add functionality Write own (or use other external) Extend native CI libraries Replace native CI libraries E.g. use to add TCPDF for PDF generation or ExcelWriter etc. Can call elements of CI core

Helpers Collection of functions Not OO Independent Can use in views, controller Can call CI core if needed

Inheritance Useful in Controllers & Models Create UOA_Model which each model extends – Handle simple CRUD calls Create UOA_Controller which each controller extends – Handle common functions e.g. security checks etc.

Sparks Fairly new Repository of CI libraries (kind of) API integrations e.g. Flickr, Google, Twitter Payment integrations Authentication & more Don’t reinvent the wheel

Other Options Zend Framework CakePHP Symfony Yii frameworks/

Questions? (UOA