Creating Databases for Web Applications Work session Open Source versus Proprietary important topics HW: finish* projects. Look at final quiz guide. Final.

Slides:



Advertisements
Similar presentations
E-Commerce CMM503 – Lecture 8 Stuart Watt Room C2.
Advertisements

IIS Technologies.
Building Applications using ASP.NET and C# / Session 1 / 1 of 21 Session 1.
1 Frameworks. 2 Framework Set of cooperating classes/interfaces –Structure essential mechanisms of a problem domain –Programmer can extend framework classes,
1 Inheritance Reserved word protected Reserved word super Overriding methods Class Hierarchies Reading for this lecture: L&L 8.1 – 8.5.
Object Oriented System Development with VB .NET
Introduction to Web Database Processing
Lecture 2 Web application architecture. Themes Architecture : The large scale structure of a system, especially a computer system Design choice: The need.
Introduction to Web Interface Technology (CSE2030)
©Silberschatz, Korth and Sudarshan1.1Database System Concepts Chapter 1: Introduction Purpose of Database Systems View of Data Data Models Data Definition.
Introduction to Web Interface Technology (CSE2030)
ASP.NET Programming with C# and SQL Server First Edition
BUSINESS DRIVEN TECHNOLOGY
1 Web Developer & Design Foundations with XHTML Chapter 6 Key Concepts.
1 Web Database Processing. Web Database Applications Static Report Publishing a report is prepared from a database application and exported to HTML DB.
Creating Databases for Web Applications Posting due by next class on project! Lab: using files & work session Class: asp Application object 3-tier, separating.
Introduction To System Analysis and design
Using Data Active Server Pages Objectives In this chapter, you will: Learn about variables and constants Explore application and session variables Learn.
Introduction to Object-oriented Programming CSIS 3701: Advanced Object Oriented Programming.
4.1 JavaScript Introduction
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
JavaScript & jQuery the missing manual Chapter 11
Databases and the Internet. Lecture Objectives Databases and the Internet Characteristics and Benefits of Internet Server-Side vs. Client-Side Special.
Managing Data Resources
Meir Botner David Ben-David. Project Goal Build a messenger that allows a customer to communicate with a service provider for a fee.
O BJECT O RIENTATION F UNDAMENTALS Prepared by: Gunjan Chhabra.
An Object-Oriented Approach to Programming Logic and Design
1 Web Server Administration Chapter 1 The Basics of Server and Web Server Administration.
© 2002 by Prentice Hall 1 David M. Kroenke Database Processing Eighth Edition Chapter 14 Networks, Multi-Tier Architectures, and XML.
11/16/2012ISC329 Isabelle Bichindaritz1 Web Database Application Development.
COLD FUSION Deepak Sethi. What is it…. Cold fusion is a complete web application server mainly used for developing e-business applications. It allows.
M1G Introduction to Database Development 6. Building Applications.
Client Scripting1 Internet Systems Design. Client Scripting2 n “A scripting language is a programming language that is used to manipulate, customize,
1 Accelerated Web Development Course JavaScript and Client side programming Day 2 Rich Roth On The Net
1 Adapted from Pearson Prentice Hall Adapted form James A. Senn’s Information Technology, 3 rd Edition Chapter 7 Enterprise Databases and Data Warehouses.
HTML. Principle of Programming  Interface with PC 2 English Japanese Chinese Machine Code Compiler / Interpreter C++ Perl Assembler Machine Code.
The Web Architecture and ASP.NET. Slide 2 Review of the Web (1) It began with HTTP and HTML, which delivers static Web pages to browsers which would render.
INTRODUCTION TO JAVASCRIPT AND DOM Internet Engineering Spring 2012.
Implementation - Part 2 CPS 181s March 18, Pieces of the Site-building Puzzle Page 180, figure 4.1.
Putting it all together Dynamic Data Base Access Norman White Stern School of Business.
Guided Notes Ch. 9 ADT and Modules Ch. 10 Object-Oriented Programming PHP support for OOP and Assignment 4 Term project proposal C++ and Java Designer.
CIS 451: ASP.NET Concepts Dr. Ralph D. Westfall January, 2009.
Lecture # 3 & 4 Chapter # 2 Database System Concepts and Architecture Muhammad Emran Database Systems 1.
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Chapter 7 Storing Organizational Information - Databases.
Component 4/Unit 6b Topic II Relational Databases Keys and relationships Data modeling Database acquisition Database Management System (DBMS) Database.
Introduction to JavaScript CS101 Introduction to Computing.
Summing Up Object Oriented Design. Four Major Components: Abstraction modeling real-life entities by essential information only Encapsulation clustering.
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
David Lawrence 7/8/091Intro. to PHP -- David Lawrence.
Web111a_chapt08.ppt HTML: Section 8 JavaScript CGI Programs (Server Side programs) Common Gateway Interface Run on server Communicate with user across.
Creating Databases for Web applications Server side vs client side PHP basics Homework: Get your own versions of sending working: both html and Flash!
 Previous lessons have focused on client-side scripts  Programs embedded in the page’s HTML code  Can also execute scripts on the server  Server-side.
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 JSP Application Models.
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
ASP-2-1 SERVER AND CLIENT SIDE SCRITPING Colorado Technical University IT420 Tim Peterson.
Creating Databases applications for the Web: week 2 Basic HTML review, forms HW: Identify unique source for asp, php, Open Source, MySql, Access.
Creating interfaces XML & XSL review VoiceXML: grammar Homework: postings, presentation, study guide.
1 LM 6 Database Applications Dr. Lei Li. Learning Objectives Explain three components of a client-server system Describe differences between a 2-tiered.
Introduction to ASP.NET, Second Edition2 Chapter Objectives.
A S P. Outline  The introduction of ASP  Why we choose ASP  How ASP works  Basic syntax rule of ASP  ASP’S object model  Limitations of ASP  Summary.
Creating Databases for Web applications
Web Programming Language
INLS 623– Stored Procedures
DBMS & TPS Barbara Russell MBA 624.
Microsoft .NET 3. Language Innovations Pan Wuming 2017.
PHP Training at GoLogica in Bangalore
PHP / MySQL Introduction
Lecture 22 Inheritance Richard Gesick.
Lesson 1 The Web.
Web Application Development Using PHP
Presentation transcript:

Creating Databases for Web Applications Work session Open Source versus Proprietary important topics HW: finish* projects. Look at final quiz guide. Final posting.

Final posting post your considered, reasoned opinion on Open Source vs proprietary; asp versus php; Access versus MySql; or any related issue. Catch up on other postings.

Postings: php vs asp, etc. Proprietary can be companies other than Microsoft. For example, Cold Fusion is product of Macromedia (formerly Allaire). Keep in mind that there are many topics, functions, relevant standards,etc. in these systems that we did not cover.

Things to consider … things to store away in the back of your mind for consideration when building a 'real' Web application.

Performance Performance of Web sites governed by connection AND site itself. –presence of large images, other large files, big consideration. Some DBMS provide for stored procedures that carry out a query. Sometimes these can involve parameters. This is a way to improve performance. The function is compiled and not interpreted. Some DBMS provide for (extra) index fields besides the primary key. This is another way to improve performance.

Important topics multiple (concurrent) users of database –DBMS may handle this. –single table versus multiple tables –transaction concept writing/updating across multiple tables paging –handling of large[r] recordsets

Important topics, continued scaling up application –multiple users; many, many users –larger tables maintenance of program –version control –backup databases scripts / code –data base administrator data dictionary –'quality assurance' test suite bug/feature list investigate how bugs happen

Important topics, continued disaster control –backup data stores –backup procedure security –hackers –insiders Note: security protections also help in benign situations: knowing where you need to look and where you don't need to look to uncover problems.

Reminder: Objects are information + procedures properties + methods attributes + operators information + behavior … can be defined by you, the programmer. DOM is the Document Object Model used for client side (for example, document.write( ) ). asp is essentially a set of objects (Request, Response, etc.) called the intrinsic objects. php support resembles other oo languages more than JavaScript (maybe more than VBScript?)

php example (partial) class node { var $mparent; var $mfirstchild; var $mnextsib; var $mname; var $mlocation; } function Node ($parent, $name, $location) { $this->mparent = $parent; $this->mname=$name; $this->mlocation=$location; } function addchild($child) { if isset($firstchild=$this->mfirstchild) { $firstchild.addsib($child) } else {$this->mfirstchild=$child;} } function addsib($sib) { } } ends class constructor method

php example … $newnode = new Node (&$current, 'curley', 'NYC'); invokes a call to the constructor function node, which sets up an instance of a node. … $current.addchild (&$newnode); this invokes the method of $current that will connect it to $newnode. Access object properties: … = $current.mlocation; see next

more php inheritance: –class specialcustomer extends customer { } overriding –re-use name of method reference operator (pointer) –$place = &$node; $place will refer to same thing, not a copy eval ($string); evaluates the contents of $string.

JavaScript OO support Limited, but can use functions in a var statement and can name a procedure as a property. –connects data and code Neither php nor JavaScript has information hiding mechanisms –This is not for keeping something secret as much as for catching an error during compilation that would otherwise lead to a logical, runtime error. no inheritance support –building objects from other objects to save redundant coding AND have the system apply the appropriate procedure.

JavaScript OO support: basic var node = new Object(); node.mname= "curley"; node.addchild=addchild; a function defined elsewhere

JavaScript example: using constructor function node (parent, name, location){ this.mparent = parent; this.mname = name; this.mlocation = location; this.addchild=addchild; this.addsib = addsib;} function addchild (child) { } function addsib (sib) { } this is term for thing being created.

JavaScript example: usage var person = new node (parent, 'moe','nyc'); parent.addchild(person); … = person.mlocation;

Benefits of oo Encapsulates information and treatment of information to make code either to maintain and to re-use –only one place to check and to modify if you need to change how you 'add a child' in the previous example. –catches errors as compilation (syntactic) errors.

Emerging technologies, infrastructure broadband wireless—smaller devices WAP, XML, XSL, XSLT, WML Application Service Providers new/not so new offerings: –Cold Fusion –asp.net, vb.net, Active X objects (for sale) –Open Source php

XML Building XML applications with Java –Large[r] applications requiring communication between components Creating User Interfaces –xml and xslt, also wml, VoiceXML

Questions for final quiz See guide to final quiz posted online. Note: final will be open book, open notes. You do need to study.

Projects Prepare to demonstrate and to show your storyboard diagram (and maybe the others diagrams as reminders). Prepare hardcopy of diagrams plus choice essay if you needed to do one. Send URL of project to me!