June 22, 2002The Winning Way!1 The Winning Way Seattle Orlando.

Slides:



Advertisements
Similar presentations
WEB DESIGN TABLES, PAGE LAYOUT AND FORMS. Page Layout Page Layout is an important part of web design Why do you think your page layout is important?
Advertisements

CHAPTER 10 COMMON PROGRAMMING TECHNIQUES. SENDING VALUES TO A SCRIPT Hidden form input type: Depending on the method, $_POST['do'] or $_GET['do'] will.
Creating and Editing a Web Page Using Inline Styles
Chapter 3: System design. System design Creating system components Three primary components – designing data structure and content – create software –
Macromedia Dreamweaver 4 Advanced Level Course. Add Rollovers Rollovers or mouseovers are possibly the most popular effects used in designing Web pages.
Guide To UNIX Using Linux Third Edition
Project Implementation for COSC 5050 Distributed Database Applications Lab6.
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.
Browser and Basics Tutorial 1. Learn about Web browser software and Web pages The Web is a collection of files that reside on computers, called.
1 Chapter 20 — Creating Web Projects Microsoft Visual Basic.NET, Introduction to Programming.
Figure 1. Hit analysis in 2002 of database-driven web applications Hits by Category in 2002 N = 73,873 Results Reporting 27% GME 26% Research 20% Bed Availability.
Database Updates Made Easy In WebFocus Using SQL And HTML Painter Sept 2011 Lender Processing Services 1.
Christopher M. Pascucci Basic Structural Concepts of.NET Browser – Server Interaction.
1 Introduction to Web Development. Web Basics The Web consists of computers on the Internet connected to each other in a specific way Used in all levels.
PHP Tutorials 02 Olarik Surinta Management Information System Faculty of Informatics.
Reading Data in Web Pages tMyn1 Reading Data in Web Pages A very common application of PHP is to have an HTML form gather information from a website's.
Lecture 6 – Form processing (Part 1) SFDV3011 – Advanced Web Development 1.
© Yanbu University College YANBU UNIVERSITY COLLEGE Management Science Department © Yanbu University College Module 6:WEB SERVER AND SERVER SIDE SCRPTING,
1Computer Sciences Department Princess Nourah bint Abdulrahman University.
ITD 3194 Web Application Development Chapter 4: Web Programming Language.
Server-side Scripting Powering the webs favourite services.
© Cheltenham Computer Training 2001 Macromedia Dreamweaver 4 - Slide No 1 Macromedia Dreamweaver 4 Advanced Level Course.
Web application architecture
Brief Formatting February 22, What do I include? Look at the score sheet. Include every element on the score sheet. Make sure you leave enough time.
XP New Perspectives on Browser and Basics Tutorial 1 1 Browser and Basics Tutorial 1.
Mark Dixon Page 1 23 – Web applications: Writing data to Databases using PhP.
Creating a Web Site to Gather Data and Conduct Research.
E-Commerce: Introduction to Web Development 1 Dr. Lawrence West, Management Dept., University of Central Florida Topics What is a Web.
Web Programming: Client/Server Applications Server sends the web pages to the client. –built into Visual Studio for development purposes Client displays.
OBJECTIVES  What is HTML  What tools are needed  Creating a Web drive on campus (done only once)  HTML file layout  Some HTML tags  Creating and.
SHOPPING CARTS CHAPTER 19. E-COMMERCE Typically, an e-commerce site will have public pages and admin pages.
Web Server Administration Chapter 7 Installing and Testing a Programming Environment.
March 24, 2001ASP Review1 An ASP Review (Of Sorts)
_______________________________________________________________________________________________________________ PHP Bible, 2 nd Edition1  Wiley and the.
Installing and Using MySQL and phpMyAdmin. Last Time... Installing Apache server Installing PHP Running basic PHP scripts on the server Not necessary.
Creating Dynamic Web Pages Using PHP and MySQL CS 320.
SYST Web Technologies SYST Web Technologies Databases & MySQL.
Copyright 2007, Information Builders. Slide 1 Enhancing Maintain Applications with HTML Mark Derwin and Mark Rawls Information Builders.
Mr. Justin “JET” Turner CSCI 3000 – Fall 2015 CRN Section A – TR 9:30-10:45 CRN – Section B – TR 5:30-6:45.
Website Development with PHP and MySQL Saving Data.
1 Basic Perl CGI Programming. 2 Issues How and when your program is invoked. Generating Response –HTTP Headers –HTML (or whatever document type you want)
Forms and Server Side Includes. What are Forms? Forms are used to get user input We’ve all used them before. For example, ever had to sign up for courses.
1 © Netskills Quality Internet Training, University of Newcastle HTML Forms © Netskills, Quality Internet Training, University of Newcastle Netskills is.
76 © 1998, 1999, 2000 David T. Gray, Howard Duncan, Jane Kernan Frames When displaying information in a browser, it is sometimes useful to divide the display.
HTML Basics BCIS 3680 Enterprise Programming. Web Client/Server Architecture 2  Your browser (the client) requests a Web page from a remote computer.
4 Chapter Four Introduction to HTML. 4 Chapter Objectives Learn basic HTML commands Discover how to display graphic image objects in Web pages Create.
Creating PHPs to Insert, Update, and Delete Data CS 320.
June 23, 2001Database Creation Review and Exercises1 Database Creation Review 10: :30 Team Building Exercise ……………………….. John 10: :30 Database.
Tutorial 6 Working with Web Forms. 2New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives Explore how Web forms interact with.
June 23, 2001Database Creation Review and Exercises1 Building an Application - Part I -
IS-907 Java EE World Wide Web - Overview. World Wide Web - History Tim Berners-Lee, CERN, 1990 Enable researchers to share information: Remote Access.
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 7 1 Microsoft Office FrontPage 2003 Tutorial 8 – Integrating a Database with a FrontPage.
Creating a simple database This shows you how to set up a database using PHPMyAdmin (installed with WAMP)
 2001 Prentice Hall, Inc. All rights reserved. Chapter 7 - Introduction to Common Gateway Interface (CGI) Outline 7.1Introduction 7.2A Simple HTTP Transaction.
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
Tutorial 6 Working with Web Forms. 2New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives Explore how Web forms interact with.
CPSC 203 Introduction to Computers T97 By Jie (Jeff) Gao.
January 27, 2001ASP Basics1 Active Server Pages (ASP) Basics The client/server model Objects Forms Active Server Pages VBScript Lab and Homework.
Creating and Editing a Web Page Using Inline Styles
Session 11: Cookies, Sessions ans Security iNET Academy Open Source Web Development.
Creating Web Pages with Links, Images, and Embedded Style Sheets
HTML III (Forms) Robin Burke ECT 270. Outline Where we are in this class Web applications HTML Forms Break Forms lab.
HTML Structure II (Form) WEEK 2.2. Contents Table Form.
Day 22, Slide 1 CSE 103 Day 22 Non-students: Please logout by 10:12. Students:
4.01 How Web Pages Work.
Oracle Application Express (APEX)
CISC103 Web Development Basics: Web site:
Lesson 1 The Web.
PHP-II.
Presentation transcript:

June 22, 2002The Winning Way!1 The Winning Way Seattle Orlando

June 22, 2002The Winning Way!2 Topics Team roles and responsibilities Application requirements Our approach –What to do when –Who does what –Productivity tips –Our solution architecture

June 22, 2002The Winning Way!3 Application Requirements Maintain a database Use forms Use Cascading Style Sheets Display data from your database

June 22, 2002The Winning Way!4 Our Overall Strategy Have consistency across the application Use standard components/design we have provided in class Use the same architecture for each page KISS - Keep It Simple, Stupid!

June 22, 2002The Winning Way!5 Team Roles Designer Draw web site architecture Draw web page architecture Review architecture with team Review sit/pages for architecture compliance Database Administrator Using Access, define databases, tables, and fields Place database in project db directory Create 4-5 test records Validate database maintenance operations Developers (2) Review web site and web page architectures Implement ASP Solicit/integrate components Team Leader Guide review of problem statement Insure team understands problem statment Manage development schedule Validate implementation Serve as team spokesperson, "emcee"

June 22, 2002The Winning Way!6 Perform Final Validation Our Project Development Approach - Getting the Job Done at Nationals - Build and Test Style Sheets Perform Initial Validation Complete Web Pages (ASP Pages) Build and Test Functions/Subroutines Build & Test Skeleton Pages Design Web Site Design & Code Database Read/ Analyze 9:00 AM 5:00 PM Total Work To Be Done

June 22, 2002The Winning Way!7 Development Time Table

June 22, 2002The Winning Way!8 Things That Will Eat Your Lunch Data validation Password validation Error checking Style None of these have anything to do with content Get your application working before dealing with these

June 22, 2002The Winning Way!9 Three Important Tips to Employ - Improving Your Productivity - Do NOT use default pages Allow directory browsing Use the DOS edit to find line number

June 22, 2002The Winning Way!10 Web Site and Web Page Architecture

June 22, 2002The Winning Way!11 Generic Web Site Architecture - Web Page Interaction - Home PageDatabase Table Management Page Add/Revise/Delete Form Report Page default.aspmaintain_supplier.aspsupplier.asp supplier_report.asp

June 22, 2002The Winning Way!12 Database Management Architecture - Data Flow - Add/Revise/Delete Form Report Page Database Table Management Page supplier_report.asp maintain_supplier.asp supplier.asp Blank form request report request Show for delete request Show for revise request Add/Revise/Delete Request Supplier Table (gb_supplier) default.aspDatabase Table Management Page Report Data Form Data

June 22, 2002The Winning Way!13 Your ASP Page Sending Information to Your ASP Page Form Form Data request.form("fieldname") request.querystring("fieldname") Form Data in URL Web Page Data in URL

June 22, 2002The Winning Way!14 Sending Variable Data Via the URL With address or anchor tag: GoHere With forms using "POST" With forms using "GET" In all these cases: Resulting URL is: mypgm.asp?fld1=value1&fld2=value2 Retrieve fields using: request.querystring("fieldname") <A HREF="mypgm.asp">GoHere ?fld1=value1& GoHere

June 22, 2002The Winning Way!15 Final static HTML The guts of the page Initial static HTML Standard ASP Page Pattern <% Call GBHead()... Page-unique material... Call GBFoot() %> Page-unique functions and subroutines Include Files

June 22, 2002The Winning Way!16 Standard ASP Page for BDPA Northwest - No Database Requirements - The guts of the page Initial static HTML <% Call GBHead()... Page-unique material... Call GBFoot() %> Page-unique functions and subroutines Include Files Final static HTML head_n_foot.inc const.inc css.htm Hyperlink mytable.asp

June 22, 2002The Winning Way!17 Standard ASP Page - With Database Requirements - The guts of the page Initial static HTML <% Call GBHead() Call GBFoot() %> Page Unique Subroutines Include Files Final static HTML css.htm head_n_foot.inc const.inc adovbs.inc db_procs.inc Dependent on page requirements

June 22, 2002The Winning Way!18 Form Page Standard Layout STANDARD HEADER STANDARD FOOTER Form Explanatory Text Form title Brief instructions Response area if "echoing" results of prior action Form Data All visible and hidden fields Action buttons Delete ReviseAdd Reset

June 22, 2002The Winning Way!19 Report Page Standard Layout STANDARD HEADER STANDARD FOOTER Report request form Show starting and ending range Run Report Report Title Report Column Headings Report Data and Action Requests Use tags Column1 Column2 Column3... Action aaa 111 blah Revise Delete bbb 444 foo Revise Delete ccc 396 bar Revise Delete Revise Delete etc For FieldA >= ____ and FieldA <= ____

June 22, 2002The Winning Way!20 The Dictionary Object A "container" containing a set of key/value pairs Create as a scripting object set form_fields = CreateObject(Scripting.Dictionary) Add to it via "add" method form_fields.add fieldname, request.form(fieldname) Retrieve via "For" loop For each fieldname in form_fields oInput_rs(fieldname) = form_fields(fieldname) Next

June 22, 2002The Winning Way!21 Database Procedures - OpenDB and AddRec - OpenDB(filename) Function called with database's filename Calls the error subroutine Return value is a DB Connection Addrec(oInput_rs, oConnection, form_fields) Adds a single record Field values for fields comes from form_fields oConnection valu1 valu2 valu3 valu4 oInput_rs Addrec form_fields fld1 fld2 fld3 fld4 valu1 valu2 valu3 valu4 Uses Creates

June 22, 2002The Winning Way!22 Database Procedures - ReviseRec and DeleteRec- Revrec(oInput_rs, oConnection, form_fields) Revises a single record Field values for fields comes from form_fields oConnection valu1 valu2 valu3 valu4 oInput_rs Addrec form_fields fld1 fld2 fld3 fld4 valu1 valu2 valu3 valu4 Uses Creates DeleteRec(oConnection, tablename, fieldname, id) Deletes one or more records Deletes all records with a matching id "id" is a value 'fieldname" is the name of a field (doesn't have to be a key field)

June 22, 2002The Winning Way!23 maintain_.asp -Psuedo code - If user requested it, Send a blank form back to the user else, if requested via the report page, create a form for revising or deleting a record else, if this is an add request, create record set get data from the form add record to the record set echo back to the user what you added else if delete request get record id from the form get record from database and put in record set echo to the user, data from the about-to-be-deleted record set delete the record else if revise request get data from form get record from database and put in record set revise record echo back to the user, the record you revised end if

June 22, 2002The Winning Way!24 EXTRA SLIDES

June 22, 2002The Winning Way!25 Team Exercise Find a partner you don't know or didn't introduce earlier Answer the questions: –Who or what is your: Hero Favorite author Favorite movie star Favorite singer or musician Most embarrassing moment

June 22, 2002The Winning Way!26 So Where's the Beef? What will make our web sites special? –They will work! –Tune in next week for "Advanced Topics" What will differentiate Olympia from Seattle? –Architecture is a (common) framework –Fleshing out web page to meet specific requirements –Style