 An essential supporting structure of any thing  A Software Framework  Has layered structure ▪ What kind of functions and how they interrelate  Has.

Slides:



Advertisements
Similar presentations
Business Development Suit Presented by Thomas Mathews.
Advertisements

A Blackboard Building Block™ Crash Course for Web Developers
INTRODUCTION TO ASP.NET MVC AND EXAMPLE WALKTHROUGH RAJAT ARYA EFECS - OIM DAWG – 4/21/2009 ASP.NET MVC.
Developing HTML5 Application using MVVM pattern Pekka Ylenius.
Web Applications Development Using Coldbox Platform Eddie Johnston.
ARCH-13 Developing WebSpeed  Applications Chris Skeldon Principal Consultant.
Objective Understand web-based digital media production methods, software, and hardware. Course Weight : 10%
Objectives In this session, you will learn to:
Computer Monitoring System for EE Faculty By Yaroslav Ross And Denis Zakrevsky Supervisor: Viktor Kulikov.
Project 1 Introduction to HTML.
1 CS 502: Computing Methods for Digital Libraries Lecture 22 Web browsers.
15 Chapter 15 Web Database Development Database Systems: Design, Implementation, and Management, Fifth Edition, Rob and Coronel.
Web Servers How do our requests for resources on the Internet get handled? Can they be located anywhere? Global?
Performed by:Gidi Getter Svetlana Klinovsky Supervised by:Viktor Kulikov 08/03/2009.
How Clients and Servers Work Together. Objectives Learn about the interaction of clients and servers Explore the features and functions of Web servers.
1 The World Wide Web. 2  Web Fundamentals  Pages are defined by the Hypertext Markup Language (HTML) and contain text, graphics, audio, video and software.
1st Project Introduction to HTML.
U-Mail System Design Specification Joseph Woo, Chris Hacking, Alex Benson, Elliott Conant, Alex Meng, Michael Ratanapintha April 28,
Web Application Architecture: multi-tier (2-tier, 3-tier) & mvc
Christopher M. Pascucci Basic Structural Concepts of.NET Browser – Server Interaction.
Web-based Document Management System By Group 3 Xinyi Dong Matthew Downs Joshua Ferguson Sriram Gopinath Sayan Kole.
UNIT-V The MVC architecture and Struts Framework.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 18 Slide 1 Software Reuse 2.
LAYING OUT THE FOUNDATIONS. OUTLINE Analyze the project from a technical point of view Analyze and choose the architecture for your application Decide.
ITIS 1210 Introduction to Web-Based Information Systems Chapter 24 How Websites Work with Databases How Websites Work with Databases.
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
A Scalable Application Architecture for composing News Portals on the Internet Serpil TOK, Zeki BAYRAM. Eastern MediterraneanUniversity Famagusta Famagusta.
Classroom User Training June 29, 2005 Presented by:
Chapter 16 The World Wide Web Chapter Goals Compare and contrast the Internet and the World Wide Web Describe general Web processing Describe several.
About Dynamic Sites (Front End / Back End Implementations) by Janssen & Associates Affordable Website Solutions for Individuals and Small Businesses.
16-1 The World Wide Web The Web An infrastructure of distributed information combined with software that uses networks as a vehicle to exchange that information.
CPS120: Introduction to Computer Science The World Wide Web Nell Dale John Lewis.
Internet Basics Dr. Norm Friesen June 22, Questions What is the Internet? What is the Web? How are they different? How do they work? How do they.
Model View Controller (MVC) Rick Mercer with a wide variety of others 1.
Wyatt Pearsall November  HyperText Transfer Protocol.
Lecture 19 Web Application Frameworks Boriana Koleva Room: C54
HTML, XHTML, and CSS Sixth Edition Chapter 1 Introduction to HTML, XHTML, and CSS.
11 Web Services. 22 Objectives You will be able to Say what a web service is. Write and deploy a simple web service. Test a simple web service. Write.
Csi315csi315 Client/Server Models. Client/Server Environment LAN or WAN Server Data Berson, Fig 1.4, p.8 clients network.
1 Welcome to CSC 301 Web Programming Charles Frank.
1 Geospatial and Business Intelligence Jean-Sébastien Turcotte Executive VP San Francisco - April 2007 Streamlining web mapping applications.
Model View Controller A Pattern that Many People Think They Understand, But Has A Couple Meanings.
Software. A web site is a collection of web pages on a particular topic. A web page is a document written in HTML code. Web pages are linked together.
RUBRIC IP1 Ruben Botero Web Design III. The different approaches to accessing data in a database through client-side scripting languages. – On the client.
Model View Controller MVC Web Software Architecture.
1 Web Servers (Chapter 21 – Pages( ) Outline 21.1 Introduction 21.2 HTTP Request Types 21.3 System 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)
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 JSP Application Models.
Plug-in Architectures Presented by Truc Nguyen. What’s a plug-in? “a type of program that tightly integrates with a larger application to add a special.
MVC WITH CODEIGNITER Presented By Bhanu Priya.
UNDERSTANDING YOUR OPTIONS FOR CLIENT-SIDE DEVELOPMENT IN OFFICE 365 Mark Rackley
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Chapter 7 Storing Organizational Information - Databases.
Mr. Justin “JET” Turner CSCI 3000 – Fall 2015 CRN Section A – TR 9:30-10:45 CRN – Section B – TR 5:30-6:45.
Copyright © 2004, Keith D Swenson, All Rights Reserved. OASIS Asynchronous Service Access Protocol (ASAP) Tutorial Overview, OASIS ASAP TC May 4, 2004.
Microsoft Office 2008 for Mac – Illustrated Unit D: Getting Started with Safari.
SDJ INFOSOFT PVT. LTD. 2 BROWSERBROWSER JSP JavaBean DB Req Res Application Layer Enterprise server/Data Sources.
Building Preservation Environments with Data Grid Technology Reagan W. Moore Presenter: Praveen Namburi.
Submitted by: Moran Mishan. Instructed by: Osnat (Ossi) Mokryn, Dr.
Basic Internet Skills. What is the internet? A large group of computers connected to one another Its purpose is to send information back and forth to.
EGI NA3 – Web site training services University of Edinburgh (0.25 funded FTE)
Jim Fawcett CSE686 – Internet Programming Spring 2014
Data Virtualization Tutorial… CORS and CIS
Content Management System
SharePoint-Hosted Apps and JavaScript
Lecture 1: Multi-tier Architecture Overview
Objective Understand web-based digital media production methods, software, and hardware. Course Weight : 10%
Serpil TOK, Zeki BAYRAM. Eastern MediterraneanUniversity Famagusta
Web Application Development Using PHP
WEB DESIGN Cross 11, Tapovan Enclave Nala pani Road, Dehradun : ,
Presentation transcript:

 An essential supporting structure of any thing  A Software Framework  Has layered structure ▪ What kind of functions and how they interrelate  Has actual programs  Interface of software  Software tools for designing framework  Layer of Operating System  Layer of Network communication tools

 Why we need a framework?  When client set his preference for particular framework  When we have tight deadline of project  When there are many developers on project and not have good skills  When the feature of project match with requirements Framework is more comprehensive than protocol and more prescriptive than a structure

 No. of ways to do a task  It includes  Generalized format  Good for practice  Simple and easy  Solutions to common problems  Helps to design and build framework  Common pattern relevant to E-Commerce  Model view controller  Registry  Singleton

 Separate UI from logic of Application MVC CONTROLLER VIEWMODEL  View- UI  Model- Data  Controller- Business rules

 Model  Represents the data, and does nothing else.  Does NOT depend on the controller or the view.  View  Displays the model data  Sends user actions (e.g. button clicks) to the controller  Can be independent of both the model and the controller  Can be a controller and depends on the model.  Controller  Provides model data to the view  Interprets user actions such as button clicks  Depends on the view and the model.  In some cases, the controller and the view are the same object.

 Separate UI from logic of Application MVC (Web) CONTROLLER VIEWMODEL  View- UI  Model- Data  Controller- Business rules Web Browser Database  Web Browser  Database

View Model Object Controller

 Stores collection of objects within framework  Based on shared tasks of different controllers and models  Query to database  User authentication  Uploading files  Viewing contents  Few frameworks stores these functions into objects

 Registry keep objects together of a framework  It provide single point of contact  To access core functions  To create communication b/w objects  Allows an object have multiple instance to handle different events  Database handler with multiple instance can responds to multiple queries

REGISTRY DATABASEVIEW MAIL PROGRAM FILE SYSTEM DB HANDLER TEMPLATE MANAGER SENER FILE SYSTEM MANAGEMENT AUTHENTIC ATION HANDLER REST FRAMEWORK

 Singleton restrict an object to one instance only  Different to registry w.r.t restriction on object  Make it difficult and required lot of effort to implement  Singleton with registry is useful to ensure single instance of registry in framework Singleton -instance Singleton() If(instance==nul) Instance=new Singleton(); Return instance;

REGISTRY DATABASEVIEW MAIL PROGRAM FILE SYSTEM DB HANDLER TEMPLATE MANAGER SENER FILE SYSTEM MANAGEMENT AUTHENTIC ATION HANDLER REST FRAMEWORK SINGLETON

 Define a way to arrange and organize things  Framework includes files and folders  A framework needs structure for  Models  Views  Controllers  Registry and its obects  Uploaded files  Libraries  Any other code

 Deals with data used by application  Structuring a model depends on DBMS

 Deals with look and styles of application  View includes  Templates  Images  Javascripts  Stylesheets  There should be a separate folder for each of the view

 Deals with set of rules to control models and views  There are different rules for different models and views  Users Controller  Controls and handles user’s views, models  Administrator Controller  Handles Admin's views and models  An entire controller should be in a seperate folder

 Provide a single point of interaction among different objects  Handles database objects and others

 Deals with different files uploaded during application running  Files includes  Pictures of products  Files having descriptions of products  Contents of site pages  Should be arranged in a folders w.r.t categories  Admin & users may have different uploads structure

 Deals with the extra functionality borrowed from different sources  Also known as Third Party Files/libraries  Libraries are pre-written and well defined codes for a specific functionality  Libraries includes  Files dealing with core functionality  Folders to organize files  Jquery, Ajax, google adsense etc.

REGISTRY VIEWS MAIL PROGRAM FILE SYSTEM DB HANDLER TEMPLATE MANAGER SENER File System Management AUTHENTIC ATION HANDLER DB INDEX.PHP USER CONFIG.PHP CONTROLLER MODEL

 MVC  Can’t be implemented until main features of framework are not well-defined  Can be implemented as an example, if features are not well-defined

 Registry  Simple to implement with two functions  Function to create an object and store it with its key  Function, when called with key in parameter, return required object  Based on URL with parameters  Registry Implementation Registry Implementation

 Singelton  Easy to implement, just restrict an object to instantiate only once  Use registry to create new instance with single check  If there is no instance of object then created  Else return object itself  Singleton Implementation Singleton Implementation