Design Presentation - Mybasketball.com Group 8 Yufei, Yu, Chang, Tangyao.

Slides:



Advertisements
Similar presentations
© 2012 Entrinsik, Inc. Informer Administration Exploring the system menu and functions PRESENTER: Jason Vorenkamp| Informer Software Engineer| March 2012.
Advertisements

JavaScript and AJAX Jonathan Foss University of Warwick
Helena Baert Part II: Let’s get practical! The Web as a notebook This slideshow will help you build a wiki. Don’t worry if you.
Forms Authority Database Store Username and Passwords: ASP.NET framework allows you to control access to pages, classes, or methods based on username and.
Computer Monitoring System for EE Faculty By Yaroslav Ross And Denis Zakrevsky Supervisor: Viktor Kulikov.
Guide to Oracle10G1 Introduction To Forms Builder Chapter 5.
DotNet Market Web Site “EMarket” Milena Natanov Project Supervisor: Victor Kulikov Lab Chief Engineer: Dr. Ilana David Semester spring, – Project.
B.Sc. Multimedia ComputingMedia Technologies Database Technologies.
A Guide to Oracle9i1 Introduction To Forms Builder Chapter 5.
Performed by:Gidi Getter Svetlana Klinovsky Supervised by:Viktor Kulikov 08/03/2009.
ASP.NET Programming with C# and SQL Server First Edition Chapter 8 Manipulating SQL Server Databases with ASP.NET.
Project Implementation for COSC 5050 Distributed Database Applications Lab6.
Sara SartoliAkbar Siami Namin NSF-SFS workshop July 14-18, 2014.
Web Tailor Basics.
Bonrix Track & Trace System A GPS Based Vehicle Tracing System (SMS, GPRS/3G, Offline) Bonrix Software Systems Ahmedabad (INDIA) Website:
STOCKDOC Advanced Stock Management System
Tomslist Boston University Craigslist Ben Duong, Frank Wong, Marc Adam, Henry Huang.
DAT304 Leveraging XML and HTTP with Sql Server Irwin Dolobowsky Program Manager Webdata Group.
Web-based Document Management System By Group 3 Xinyi Dong Matthew Downs Joshua Ferguson Sriram Gopinath Sayan Kole.
Fuddle Baris Tevfik Matt Lee David Cheung Ben Paolillo.
Lecture 3 – Data Storage with XML+AJAX and MySQL+socket.io
JavaScript & jQuery the missing manual Chapter 11
Session 5: Working with MySQL iNET Academy Open Source Web Development.
Create an online booking system (login/registration)
Microsoft Azure Introduction ISYS 512. Microsoft Azure Microsoft Azure is a cloud.
ADO.NET – part II August 2004 [ Marmagna Desai]. CONTENTS ADO vs ADO.NET ADO.NET – Managed providers Connecting to Database SqlConnection Selecting Database.
Lecture 14 – Web Security SFDV3011 – Advanced Web Development 1.
About Dynamic Sites (Front End / Back End Implementations) by Janssen & Associates Affordable Website Solutions for Individuals and Small Businesses.
COMP3121 E-Commerce Technologies Richard Henson University of Worcester November 2012.
Welcome message. The background image would be an image of Electronic Circuit And have a flash action script to animate 0 and 1. This site would be for.
ADO.NET A2 Teacher Up skilling LECTURE 3. What’s to come today? ADO.NET What is ADO.NET? ADO.NET Objects SqlConnection SqlCommand SqlDataReader DataSet.
Web Server Administration Chapter 7 Installing and Testing a Programming Environment.
1 Data Bound Controls II Chapter Objectives You will be able to Use a Data Source control to get data from a SQL database and make it available.
Web Scripting [PHP] CIS166AE Wednesdays 6:00pm – 9:50pm Rob Loy.
MySQL Databases & PHP Integration Using PHP to write data to, and retrieve data from, a MySQL database.
NMED 3850 A Advanced Online Design January 12, 2010 V. Mahadevan.
StockWatch Developers: Nimrod Hagay Hagai Barkan Supervisors: Assaf Solomovitch Viktor Kulikov June 2009.
Sponsors Gold Silver Bronze Custom REST services and jQuery AJAX Building your own custom REST services and consuming them with jQuery AJAX.
Security Scanners Mark Shtern. Popular attack targets Web – Web platform – Web application Windows OS Mac OS Linux OS Smartphone.
ToGoer.com From Group 10 EC 512 DESIGN PRESENTATION Kaituo Huang Shaobo Ma Xiaolei zhang Cheng Yang.
11 Using ADO.NET II Textbook Chapter Getting Started Last class we started a simple example of using ADO.NET operations to access the Addresses.
Copyright ©2004 Virtusa Corporation | CONFIDENTIAL ADO.Net Basics Ruwan Wijesinghe Trainer.
ECE 3553 Final Project by Brian Robl. What is Eventor? A simple, yet effective, website for event planning and searching.  Influence from Facebook Events.
ASP.NET The Clock Project. The ASP.NET Clock Project The ASP.NET Clock Project is the topic of Chapter 23. By completing the clock project, you will learn.
Prof Frankl, Spring 2008CS Polytechnic University 1 Overview of Web database applications with PHP.
Intro to DatabasesClass 4 SQL REVIEW To talk to the database, you have to use SQL SQL is used by many databases, not just MySQL. SQL stands for Structured.
Keywords Searching and Analysis System Member Student ID Role 刘亮 Liu Liang System Analyst 顾子俊 Gu Zijun Developer 杜菡菡 Du Hanhan
Where does PHP code get executed?. Where does JavaScript get executed?
Abelian Kingdom Andrew, Kelvin and Peter. What is it? A web (browser) game MORPG on Google map Login with Facebook Interact with your friends And the.
GOAL User Interactive Web Interface Update Pages by Club Officers Two Level of Authentication.
Table of Contents TopicSlide Administrator Login 2 Administrator Navigations 3 Managing AlternativeDr.com Blogs 4 Managing Dr. Lloyd May Blogs 5 Managing.
Dean Anderson Polk County, Oregon GIS in Action 2014 Modifying Open Source Software (A Case Study)
Mr. Justin “JET” Turner CSCI 3000 – Fall 2015 CRN Section A – TR 9:30-10:45 CRN – Section B – TR 5:30-6:45.
Database Access Control IST2101. Why Implementing User Authentication? Remove a lot of redundancies in duplicate inputs of database information – Your.
CSC 2720 Building Web Applications Basic Frameworks for Building Dynamic Web Sites / Web Applications.
ASSIGNMENT 2 Salim Malakouti. Ticketing Website  User submits tickets  Admins answer tickets or take appropriate actions.
INFO 344 Web Tools And Development CK Wang University of Washington Spring 2014.
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved Address Book Application Introducing Database Programming.
Session 11: Cookies, Sessions ans Security iNET Academy Open Source Web Development.
MADAN MOHAN MALAVIYA ENGINEERING COLLEGE,GORAKHPUR Submitted by: TANUJA SRIVASTAV ( ) Submitted To: Mrs. Meenu Assistant professor CSE Department.
1/7/2016www.infocampus.co.in1. 1/7/2016www.infocampus.co.in2 Web Development training gives you and all-round training in both the design and the development.
ASP.NET Programming with C# and SQL Server First Edition
Introduction to Dynamic Web Programming
Oracle Application Express (APEX)
CIIT-Human Computer Interaction-CSC456-Fall-2015-Mr
Database Driven Websites
ISC440: Web Programming 2 Server-side Scripting PHP 3
Login & administration page
M S COLLEGE OF ART’S, COMM., SCI. & BMS Advance Web Programming
Presentation transcript:

Design Presentation - Mybasketball.com Group 8 Yufei, Yu, Chang, Tangyao

Slides Contents Web function & web structure Database Design Page content & Function design Future improvement & Experience Work Distribution & Acknowledgement

Web Function Account Registration Auto Login Password Visit as Guest Cookies Encrypt Set personal Information View Personal Information

Web Function Upgrade Account Forums and Comments Create/Join/Leave Groups Create/Join/Leave Games Chat Room

Web Page Structure

Web Framework Client side – HTML & CSS (page content) – Javascript & Jquery (API and animation) Server side – SQL Database (data storage) – C# code behind (function implement)

Session State Store Use Cookies – There are two ways to share data in different pages, Session state and Cookies. – We use cookies to store these data. – The cookies in web has been encrypt. It is more secure and easy to use.

Database Design 6 Tables – Users: (users’ information) – Comments: (comment content) – Groups: (groups information) – GnU: (bridge Groups and Users) – Games: (games information) – AnU: (bridge Games and Users)

Database Design Users – UserID: (Primary Key) – UserName: (account name) – Password: (password) – ( address) – FirstName: (first name) – LastName: (last name) – Age: (age) – Sex: (sex) – Upgrade: (account type) – ImgPath: (portrait picture path)

Database Design Comments – Id: (Primary Key) – ForumName: (name of forum) – CMessage: (content of comments ) – Ctime: (time of comments) – CUser: (comment user)

Database Design Groups – GroupID: (Primary Key) – GroupName: (name of group) – GroupIntro: (creator of group)

Database Design GnU (Bridge Table) – GUid: (Primary Key) – UserID: (Foreign Key) – GroupID: (Foreign Key)

Database Design Games – GaID: (Primary Key) – GName: (game name) – GIntro: (game introduction) – GLat: (game location: latitude) – GLng: (game location: longitude) – Gtime: (game time) – GCre: (creator of game) – GTyp: (type of game)

Database Design AnU (Bridge Table) – AUid: (Primary Key) – GaID: (Foreign Key) – UserID: (Foreign Key)

Database Design Continue ADO.net and Query String – ADO.net is more powerful than SQL Query builder – Basic UPDATE/DELETE/INSERT are implemented simply by SQL Query builder – Complicated SELECT are implemented by ADO.net. After select the data we need, we can update, delete or insert the database

Database Design Continue ADO.net implement SqlConnection conn = new SqlConnection(connString); conn.Open(); SqlCommand cmd = new SqlCommand(“SQL", conn); SqlDataReader rdr = cmd.ExecuteReader(); StringBuilder cmts = new StringBuilder(); while (rdr.Read()) { //The operate of selected data } conn.Close();

Database Design Continue Data Interaction – All the data is stored in Database – The data used as condition is put in labels from database, then code behind read data from labels – (Using labels as medium makes debug and test much easier) – ADO.net and SQL Query builder manipulate data directly

Page Content - Registration

Function Design - Registration Write new rows in Users table via INSERT query, include UserName, PassWord and The other columns of Users will be filled with default value Use ADO.net for error checking, include UserName and must be different 5 different Labels will show the different type of errors, 4 Textbox for input

Page Content - Cookies & Login

Function Design - Cookies & Login When users login in the website, HttpCookie will generate a new cookie, which stores Username, generate time, life period and auto-login flag Check username and password which user types in, through ADO.net Cookies will be used in storing session state Use 2 Textbox for input, 1 Label for error check

Page Content - Cookies Encryption

Function Design - Cookies Encryption Encrypt via FormsAuthentication.Encrypt(ticket) when generate new cookies; Decrypt cookies via FormsAuthentication.Decrypt(ticket) when using cookies’ information.

Page Content -

Function Design - Get the address of user via ADO.net Implement sending through MailMessage() and SmtpClient() The content is password retrieved from Users table 1 Label for error check, 1 Textbox for input

Function Design - Guest When login as guest, users can only use forum function. Use 1 Label store the status of visitor: Users or Guests Achieve identity judgment via this label’s content

Page Content - Set Personal Info.

Function Design - Set Personal Info. Modify Users table via UPDATE query builder, include FirstName, LastName, Age, Sex, and imgPath 4 Textbox for input, 1 FileUpLoad for picture upload, 1 Label for error check

Function Design - Upload and compress Picture Upload original pictures in /Picture folder, while storing the corresponding compressed pictures in /Picture/Nailed folder Using original pictures’ path as source of compression Store the compressed pictures’ path in User tables’ imgPath column Compression function are achieved via MakeThumNail(), which processes picture by (height = original height * width / original width)

Page Content - Upgrade Account

Function Design - Upgrade Account Using a flag bit for account type. 1 is primier user, 0 is normal user Store this flag in Users table Upgrade column Select the corresponding row in Users table via ADO.net Set default value as 0, after upgrade click, change value to 1

Page Content - View Personal Info.

Function Design - View Personal Info. 7 Labels for showing information, 1 Image for showing portrait, 1 DropDownList for user selection Select user via ADO.net, then retrieve UserName, FirstName, LastName, Age, Sex, Upgrade, respectively

Page Content - Forum

Function Design - Forum There 3 different forums, each forum has an embeded Youtube video For each Forum, store a new comment in Comments table via INSERT query, include ForumName, Cmessage, CTime and CUser Retrieve comments from Comments table via ADO.net, use StringBuilder data type store them 1 Textbox for input, 1 multiline Label and Panel for showing, JS alert for error checking

Function Design - Chat Transplanting the Chat Demo of Prof. Skinner Using Application State storing chat messages and users online Refresh part of the page content via AJAX Extensions, Timer, ScriptManager and UpdatePanel

Page Content - Group

Function Design - Group 2 DropDownList and 1 Listbox for showing all/user created/user joined groups respectively. JS alert for error checking Configure data source to all groups’ DropDownList and created groups’ Listbox Selecting the groups user joined in from Groups table and bridge table GnU, through ADO.net Achieve the leave group function via DELETE selected rows in bridge table GnU

Page Content - Create Group

Function Design - Create Group 1 Textbox for input, 1 Label for storing username, JS for error check Insert a new row in Groups table via INSERT query, include GroupName and GroupIntro

Page Content - View & Join Group

Function Design - View & Join Group 1 DropDownList for selecting, 2 Label for showing information Retrieve group name from Groups table, by ADO.net Find members in group by nesting ADO.net

Page Content - Game

Function Design - Game The implementation of Game is similar to Group 3 Listbox for showing all/user created/user joined games respectively. JS alert for error checking Configure data source 3 Listbox respectively Find the groups which user joined in by bridge table AnU, through ADO.net Achieve the leave game function by DELETE query of bridge table AnU

Page Content - Create Game

Function Design - Create Game 3 Textbox for input, 1 DropDownList for game type selection, JS for error check Store latitude and longitude of google maps marker in Games table Insert a new row in Games table by INSERT query, include the whole columns

Page Content - View & Join Game

Function Design - View & Join Game 1 DropDownList for selection, 5 Label for showing information Retrieve game name, time, type and creator from Games table, by ADO.net Retrieve game’s latitude and longitude from Games table, show this location in google maps marker Find members in game by nesting ADO.net

Function Design - Google Maps API Implement google maps via Javascript, in create and view/join games pages respectively Store latitude and longitude of marker in Games table via INSERT query when create a new game Retrieve latitude and longitude via ADO.net, then draw a marker in maps Print games information in infoWindow() Achieve 2 new controls, Home and Zoom

Future Improvement UI beautify – CSS template – Jquery and Javascript Effects Expand each table’s content – Provide more information Reduce Database Redundancy – Database 3NF Improve Error Check

Gains & Experiences The best way of manage data is in server side Write Override classes and functions which manipulate the data is important In future development, we should design the framework of website before coding

Work Distribution Register /Cookies /Encrypt DB Design Upload Picture Google Maps API Forum /Group /Games UI Beautify TestPPT Yufei Wang OOOOO Yu Lu OOOO Chang Liu OOO Tangyao Li OOO

Acknowledgement Prof. Skinner – For knowledge we learned and Chat demo Lance – For helping us debug Zhaobo Yu – For Petshop, IIS and.net Framework introduction

Thank you!