Week 23 - Revision1 Week 23 Revision DSA. Week 23 - Revision2 Agenda Section A: Multiple choice Section B: Problem-oriented questions Topics for revision.

Slides:



Advertisements
Similar presentations
Essentials for Design JavaScript Level One Michael Brooks
Advertisements

CTEC2902 Advanced Programming in Visual Studio (ASP. NET + C#
Information Retrieval in Practice
Conceptual Modelling Entity Relationship Model Overview Entities, Attributes and Relationship modelling Generating a Relational Database for an EAR model.
© Anselm SpoerriInfo + Web Tech Course Information Technologies Info + Web Tech Course Anselm Spoerri PhD (MIT) Rutgers University
B.Sc. Multimedia ComputingMedia Technologies Database Technologies.
Introduction to XQuery and eXist XQuery workshop April 2006.
Introduction to XQuery and eXist DSA. XSLT Tutorial Problems Bad language : – No ! – for XML schema –Some XSLT engines tolerant of extra tags (permissive),
Multiple Tiers in Action
UFIEKG-20-2 / 06 / Week 131 Data, Schemas and Applications Term 2 Week 13.
Data, schemas and Applications UFIEKG-20-2 Chris Wallace Praminda Caleb-Solly.
ISD3 Semester 2. Review 3 tier web architecture – describe, explain, terminology, typical interactions SQL & PHP Extended ER models Interaction in human.
Systems Analysis I Data Flow Diagrams
4.01B Authoring Languages and Web Authoring Software 4.01 Examine webpage development and design.
Overview of Search Engines
What is Web Design The term “web design” has come to encompass a number of disciplines, including: Visual (graphic) design User interface and experience.
WEB DESIGNING Prof. Jesse A. Role Ph. D TM UEAB 2010.
ITM352 Javascript and Dynamic Web Pages: Client Side Processing.
Web Content Management Systems. Lecture Contents Web Content Management Systems Non-technical users manage content Workflow management system Different.
PHP: Hypertext Processor Fred Durao
UFCEKG-20-2 Data, Schemas & Applications Lecture 4 Server Side Scripting & PHP.
CGS3066: Web Programming and Design Summer 2014 Instructor Mir Anamul Hasan.
XP Tutorial 6New Perspectives on Creating Web Pages with HTML, XHTML, and XML 1 Creating Web Page Forms Designing a Product Registration Form Tutorial.
9 Feb 2004Mikko Mäkinen & Saija Ylönen Joint UNECE/Eurostat/OECD work session on statistical metadata (METIS) Geneva, 9-11 February 2004, Topic (ii): Metadata.
Web Application Architecture and Communication. Displaying a Web page in a Browser
Server-side Scripting Powering the webs favourite services.
Lecture 7 Interaction. Topics Implementing data flows An internet solution Transactions in MySQL 4-tier systems – business rule/presentation separation.
Copyright © 2012 Accenture All Rights Reserved.Copyright © 2012 Accenture All Rights Reserved. Accenture, its logo, and High Performance Delivered are.
NetTech Solutions Working with Web Elements Lesson 6.
Information Systems Design 3 UFIE8V Lecture topics Admin –StaffingStaffing –UWE OnlineUWE Online –AssessmentAssessment Themes Case studies.
10 Adding Interactivity to a Web Site Section 10.1 Define scripting Summarize interactivity design guidelines Identify scripting languages Compare common.
OracleAS Reports Services. Problem Statement To simplify the process of managing, creating and execution of Oracle Reports.
Tutorial 7 Creating Forms. Objectives Session 7.1 – Create an HTML form – Insert fields for text – Add labels for form elements – Create radio buttons.
Website Design Lecture 1. Outline Introduction to the module Outline of the Assessment Schedule Lecture Static XHTML, client side and server side Why.
1 Midterm Review. 2 Midterm Exam  30% of your grade for the course  October14 at the regular class time  No makeup exam or alternate times  Closed.
PHP and MySQL CS How Web Site Architectures Work  User’s browser sends HTTP request.  The request may be a form where the action is to call PHP.
Presentation Topic: XML and ASP Presented by Yanzhi Zhang.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. ACCESS 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 13 – Advanced.
Web Applications BIS4430 – unit 8. Learning Objectives Explain the uses of web application frameworks Relate the client-side, server-side architecture.
Date : 3/3/2010 Web Technology Solutions Class: Application Syndication: Parse and Publish RSS & XML Data.
HTML: Hyptertext Markup Language Doman’s Sections.
Case Study Dynamic Website - Three Tier Architecture
GOAL User Interactive Web Interface Update Pages by Club Officers Two Level of Authentication.
TOPIC II Dynamic HTML Prepared by: Nimcan Cabd Cali.
4.01B Authoring Languages and Web Authoring Software 4.01 Examine webpage development and design.
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
 Web pages originally static  Page is delivered exactly as stored on server  Same information displayed for all users, from all contexts  Dynamic.
The basics of knowing the difference CLIENT VS. SERVER.
Irwin/McGraw-Hill Copyright © 2000 The McGraw-Hill Companies. All Rights reserved Whitten Bentley DittmanSYSTEMS ANALYSIS AND DESIGN METHODS5th Edition.
New and Improved Financial Aid Help Service System for Clark Atlanta University By Shannon Parker.
Chapter 04 Semantic Web Application Architecture 23 November 2015 A Team 오혜성, 조형헌, 권윤, 신동준, 이인용.
introductionwhyexamples What is a Web site? A web site is: a presentation tool; a way to communicate; a learning tool; a teaching tool; a marketing important.
XML Schema – XSLT Week 8 Web site:
XML and Distributed Applications By Quddus Chong Presentation for CS551 – Fall 2001.
1 Copyright © 2008, Oracle. All rights reserved. Repository Basics.
Information Retrieval in Practice
Section 10.1 Define scripting
XML: Extensible Markup Language
Javascript and Dynamic Web Pages: Client Side Processing
XML Related Technologies
Data Virtualization Tutorial: XSLT and Streaming Transformations
Web Engineering.
Web Browser server client 3-Tier Architecture Apache web server PHP
Lecture 1: Multi-tier Architecture Overview
CP2077 Web Site Management Lecture 13 – Revision 12/8/2018.
Introduction of Week 11 Return assignment 9-1 Collect assignment 10-1
Chapter 1: The Database Environment
The Database Environment
Class 4: Building Interactive Web Pages
EXTENDING COMPONENTS AND TABLE TRANSFORMATIONS WITH XSL
Presentation transcript:

Week 23 - Revision1 Week 23 Revision DSA

Week 23 - Revision2 Agenda Section A: Multiple choice Section B: Problem-oriented questions Topics for revision Review of issues arising from coursework Tutorial – work on section B questions

Week 23 - Revision3 Section B Explaining and designing 3 tier applications based on a relational or an XML database Data modelling in ER models and XML structures –Location based data Understanding the languages used – PHP (good reading knowledge) –XML based languages (XSLT, XQuery) general understanding Tackling problems in design e.g. –Redundancy –Separation of concerns –State Alternatives in design – which technology to use – e.g. Relational v XML database, scripting languages

Week 23 - Revision4 Topics Describing a web application XML technologies Redundancy Schema and data – separating the specific from the general Data- appearance separation

Week 23 - Revision5 Describing web applications What the components are: –Developed resources html pages, scripts, data file, images –Data sources outside the application RSS feeds –Infrastructure components needed Web server, browser, plugins. How components interact to carry out a task ( a use case) –Use a sequence diagram –Use a narrative – tell a story

Week 23 - Revision6 Meta-data for an active component (e.g. a PHP script) Admin –Who wrote it when –What work remains Interface –What inputs it has (parameters, data sources) –What sub-components it relies on –What it produces Function –An overview of what it does –Tricky parts

Week 23 - Revision7

8 Sequence Diagrams Describe a specific sequence of actions of system components and interchanges between components Components represented as columns Time goes down the page Include only relevant components Describes a specific ‘move’, not all possible ‘moves’ Examples –Typical CW siteTypical CW site

Week 23 - Revision9 Diagrams Use an established convention Consider using a diagramming tool which supports the notation you want to use but get practice in hand drawing diagrams for the exam. Use different icons or symbols to distinguish different kinds of components

Week 23 - Revision10

Week 23 - Revision11 XML, XML Schema, XSLT, XQuery XML is a data representation format –e.g.track2.xml XML Schema is an (XML) language for defining the structure of a family of XML documents –e.g sd.xsd –Could we write a schema for XML schema? XSLT is an (XML) language for defining a transformation from one or more XML documents to an other XQuery is a (non XML) language for defining transformations, with an emphasis on quering an XML document or database of documents

Week 23 - Revision12 SequenceDiagram name="track2">

Week 23 - Revision13 …..

Week 23 - Revision14

Week 23 - Revision15 XSLT

Week 23 - Revision16 XQuery {for $a in $sd/cast/actor return } for $x in $sd/trace/* return { if (name($x)='action') then let $p := ) return ( for $i in (1 to $p - 1) return, if then else ) else if (name($x)='message')

Week 23 - Revision17 Redundancy The same text repeated a number of times causes problems in programming E.g. where the same code to access an RSS feed appears in 6 different but very similar scripts Why is this a problem?

Week 23 - Revision18 Problems with redundancy If an fault was found in the RSS code, it would need fixing in many places, not just in one place If another place was added, the correct version of the code would need to be located If all place code was removed, the rss access code would be lost too.

Week 23 - Revision19 Solution - Factoring ‘Factoring’, normalisation.. –42 = 2 * 3 * 7 Factor out the common text –Into a module (function) for code myFun( a, b) –Into constant and variable parts mylongurl?name= XXX –Into data and schema Emp (name, number) – (‘fred,’3), (‘joe’,90) Recombine –At run-time, make the general script behave in a specific way by combining the constant part with the variable part –Parameters on functions myFun( 10, 20) –Concat($baseurl,$code,’.xml’) –SQL engine select * where name=‘joe’

Week 23 - Revision20 Normalisation in Database Just the same problems Factor out the repeated data into a separate table and link with a common key To recreate the data, de-normalize using a join to get back to the combined data

Week 23 - Revision21 Data and appearance 3 Tier architecture Separating the base data –Data layer Relational tables, XML data from how it is used in an application –Business or application layer Server side scripting from how it appears to a user –Presentation layer CSS, Javascript Distinction is crucial but hard to make

Week 23 - Revision22 Tutorial Work through a couple of the questions Answer pointers available next week