…and web frameworks in general

Slides:



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

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.
Spring, Hibernate and Web Services 13 th September 2014.
Introduction to Model-View-Controller (MVC) Web Programming with TurboGears Leif Oppermann,
CS 290C: Formal Models for Web Software Lecture 1: Introduction Instructor: Tevfik Bultan.
Performed by:Gidi Getter Svetlana Klinovsky Supervised by:Viktor Kulikov 08/03/2009.
From legacy desktop application to Single Page Application By Jens Munk Freelance consultant.
LHCbPR V2 Sasha Mazurov, Amine Ben Hammou, Ben Couturier 5th LHCb Computing Workshop
User Group 2015 Version 5 Features & Infrastructure Enhancements.
UNIT-V The MVC architecture and Struts Framework.
Page 1 ISMT E-120 Desktop Applications for Managers Introduction to Microsoft Access.
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.
Lecture 19 Web Application Frameworks Boriana Koleva Room: C54
CSE Waitlist Made By: Peng Hu, Zhicheng Lin, Mark Mosby, Robert Pittman, and Derek Robati.
Presentation. Recap A multi layer architecture powered by Spring Framework, ExtJS, Spring Security and Hibernate. Taken advantage of Spring’s multi layer.
Grid Chemistry System Architecture Overview Akylbek Zhumabayev.
Building Secure Web Applications With ASP.Net MVC.
.  A multi layer architecture powered by Spring Framework, ExtJS, Spring Security and Hibernate.  Taken advantage of Spring’s multi layer injection.
Model View Controller MVC Web Software Architecture.
 Registry itself is easy and straightforward in implementation  The objects of registry are actually complicated to store and manage  Objects of Registry.
Dean Anderson Polk County, Oregon GIS in Action 2014 Modifying Open Source Software (A Case Study)
PHP Error Handling & Reporting. Error Handling Never allow a default error message or error number returned by the mysql_error() and mysql_errno() functions.
IST 220 – Intro to Databases Lecture 2 Touring Microsoft Access.
Mr. Justin “JET” Turner CSCI 3000 – Fall 2015 CRN Section A – TR 9:30-10:45 CRN – Section B – TR 5:30-6:45.
Six Degrees of Separation Saahil Peerbhoy Amortya Ray Aaron Fernandes Ritika Virmani Swapneel Sheth Josh Poritz.
Java Programming: Advanced Topics 1 Building Web Applications Chapter 13.
ASP.NET MVC An Introduction. What is MVC The Model-View-Controller (MVC) is an architectural pattern separates an application into three main components:
10 Most Popular PHP Frameworks for Modern Web Development
Entity Framework Database Connection with ASP Notes from started/getting-started-with-ef-using-mvc/creating-an-
Learn AngularJS by Building 10 projects. Introduction to AngularJS An Open source web application framework by Google Written in JavaScript offers complete.
© Copyright SELA software & Education Labs Ltd Baruch Hirsch St.Bnei Brak Israel
Best 3 Software Development Languages. Hibernate Training Hibernate is a high-performance object-relational mapping tool and query service. Hibernate.
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.
Web Technology Solutions
Why Laravel Development is the Best PHP Framework
COMP 430 Intro. to Database Systems
What is Laravel ? By Georgi Genov.
IST 220 – Intro to Databases
Top 12 PHP Frameworks 2016.
Client/Server Databases and the Oracle 10g Relational Database
Performed by: Taha shashtari Mahmoud shaka’a
DotNetNuke® Web Application Framework
Play Framework: Introduction
Software Design and Architecture
AVOIR -African virtual
Web Applications Security What are web Applications?
CMPE 280 Web UI Design and Development October 24 Class Meeting
Entity Framework By: Casey Griffin.
PHP Training at GoLogica in Bangalore
SERVICENOW ADMIN & ADVANCED ONLINE TRAINING
Unit 3 NT1330 Client-Server Networking II Date: 1/6/2016
Introduction to Ms-Access Submitted By- Navjot Kaur Mahi
Top Reasons to Choose Angular. Angular is well known for developing robust and adaptable Single Page Applications (SPA). The Application structure is.
MVC Framework, in general.
Design and Maintenance of Web Applications in J2EE
ADO.NEXT Advances in Data Access for 2008
Web Systems Development (CSC-215)
MIT GSL 2018 week 3 | thursday Meteor and App Ideation.
Controllers.
Tech Ed North America /1/ :36 AM Required Slide
Introduction of Week 11 Return assignment 9-1 Collect assignment 10-1
HCI Project.
Course Overview CS 4640 Programming Languages for Web Applications
…and web frameworks in general
Building production-ready APIs with ASP.NET Core 2.2
CS4961 Software Design Laboratory Understand Aquila Backend
Web Client Side Technologies Raneem Qaddoura
.NET Framework V3.5+ & RESTful web services
SDMX IT Tools SDMX Registry
Presentation transcript:

…and web frameworks in general

What is a framework? An abstraction that we can extend A base of functionality that we can use (and re-use) Not something we use (like libraries), something WE control. Highly extensible Well supported and maintained

The framework design pattern First, some definitions… Two main types of web frameworks today Server Side – Like Fuel Client Side (run using Javascript) Angular, React, Etc… This course will focus on using Server Side Frameworks, specifically one called Fuel PHP

Benefits to US in our Project The Framework is consistent When we switch partners for each project, we be familiar with the code structure and how it works We can use the same design pattern throughout the process The Framework gives us stuff for FREE Handles dispatching automatically Handles includes automatically Can even handle complex database queries “automatically” More like a “set it and forget it!”

My experience with frameworks Highly useful!

Now, about Fuel…

An MVC framework FuelPHP is a MVC (Model-View-Controller) framework that was designed from the ground up to have full support for MVC as part of its architecture. FuelPHP also supports a more router based approach. MVC is the topic of the next lecture!

Modular and extendable to a fault Almost every class in FuelPHP's core package can be extended without you having to change a single line of code where it's used. Extend or replace Core classes without rewriting a single line of code. Package additional functionality into Packages. Create modular application by dividing it up into Application Modules.

Security Security is built right in! Input filtering URI filtering XSS filtering Output encoding CSRF token protection SQL injection prevention A secure Auth framework

Base classes for Controllers and Models FuelPHP includes some base classes to give you a flying start. Controller_Template - Add simple page templating functionality to your controllers. Controller_Rest - An easy way to create a RESTful API. Controller_Hybrid - Combine the two features into a single controller. Model_Crud - Provides all methods for CRUD operations on a single table.

Powerful yet lightweight ORM included OO way of working with database data and performing CRUD operations. All normal relationship types: belongs-to, has-one, has-many, many-many ("has and belongs to many"). Fetch relations of relations of relations of...etc... in one go ("nested relations"). Cascading saves and deletes for related objects. Entity Attribute-Value model implementation. Model extensions that implement: Soft-delete functionality (mark records as deleted instead of actually removing them) Temporal functionality (automatic versioning of records on every update) Nested sets functionality (store hierarchical structures (trees) into a database table) Use Observers to update/process the objects instances, for example to validate before saving or to auto-update an updated_at property.

Authentication framework Handles user log-in to the system We will use Fuel’s Auth framework in Project 3

Installation Design

Installing Fuel Aaron will guide you through installing fuel in lab On Tuesday, the topic is installing fuel. You can show up with it installed to get full lab point, then be on your way On Thursday, open helpdesk. Drop by during any of the 3 lab times See syllabus. If labs get busy, the students registered for that time get priority Aaron’s 120 lab hours: Tuesdays and Thursdays 6-8pm

Installing Fuel If you install fuel on your own, make sure: Home You install the fuel directory in your home directory, like so: Home Fuel Public_html Note: The web server can include from that directory just fine.

Next steps… Questions? More Examples! Next lecture will be about Model/View/Controller as a design model Groups for Project 1 will be assigned in Canvas today. Past slides will be put online today or tomorrow (up through this slide deck)