20
DataFlow Diagram – Level DataFlow Diagram – Level 0 0

DataFlow Diagram – Level 0. DDF – Level 1 ► Breaks down each process ► Shows exactly what each data is and where it flows ► Six Processes, Six Different

Embed Size (px)

Citation preview

Page 1: DataFlow Diagram – Level 0. DDF – Level 1 ► Breaks down each process ► Shows exactly what each data is and where it flows ► Six Processes, Six Different

DataFlow Diagram – Level 0DataFlow Diagram – Level 0

Page 2: DataFlow Diagram – Level 0. DDF – Level 1 ► Breaks down each process ► Shows exactly what each data is and where it flows ► Six Processes, Six Different

DDF – Level 1DDF – Level 1

►Breaks down each process Breaks down each process

►Shows exactly what each data is and Shows exactly what each data is and where it flowswhere it flows

►Six Processes, Six Different Six Processes, Six Different BreakdownsBreakdowns

Page 3: DataFlow Diagram – Level 0. DDF – Level 1 ► Breaks down each process ► Shows exactly what each data is and where it flows ► Six Processes, Six Different

DDF – Level 1, User Login & DDF – Level 1, User Login & Display FavoritesDisplay Favorites

Page 4: DataFlow Diagram – Level 0. DDF – Level 1 ► Breaks down each process ► Shows exactly what each data is and where it flows ► Six Processes, Six Different

DDF – Level 1, Produce DDF – Level 1, Produce Favorite Stocks & Display Favorite Stocks & Display

Stock QuotesStock Quotes

Page 5: DataFlow Diagram – Level 0. DDF – Level 1 ► Breaks down each process ► Shows exactly what each data is and where it flows ► Six Processes, Six Different

DDF – Level 1, Registration & DDF – Level 1, Registration & Administrator LoginAdministrator Login

Page 6: DataFlow Diagram – Level 0. DDF – Level 1 ► Breaks down each process ► Shows exactly what each data is and where it flows ► Six Processes, Six Different

ModulesModules

►These Level 1 Processes, data flows, These Level 1 Processes, data flows, external entities, and data stores are external entities, and data stores are the basis for what determines the the basis for what determines the major modules.major modules.

►The objects for the modules can be The objects for the modules can be viewed viewed herehere

Page 7: DataFlow Diagram – Level 0. DDF – Level 1 ► Breaks down each process ► Shows exactly what each data is and where it flows ► Six Processes, Six Different

Web Site Modules – UsersWeb Site Modules – Users

►New User (register.php)New User (register.php) Add a new user to databaseAdd a new user to database

►Existing User (logon.php)Existing User (logon.php) Query database, if user and password is Query database, if user and password is

valid connect to user home page valid connect to user home page (my_stocks.php)(my_stocks.php)

Page 8: DataFlow Diagram – Level 0. DDF – Level 1 ► Breaks down each process ► Shows exactly what each data is and where it flows ► Six Processes, Six Different

Web Site Modules – UsersWeb Site Modules – Userscont.cont.

►User Home PageUser Home Page Add StockAdd Stock Remove StockRemove Stock Search for a Stock Search for a Stock Log outLog out

►Log OutLog Out Logs a user out of the websiteLogs a user out of the website

Page 9: DataFlow Diagram – Level 0. DDF – Level 1 ► Breaks down each process ► Shows exactly what each data is and where it flows ► Six Processes, Six Different

Web Site Modules - Web Site Modules - AdministratorsAdministrators

►Log On (admin.php)Log On (admin.php) Verify administrator Id and passwordVerify administrator Id and password

►Delete Users (delete.php)Delete Users (delete.php) A query of users to be deleted will show A query of users to be deleted will show

up once an administrator has successfully up once an administrator has successfully logged onlogged on

Once a user has been deleted the Once a user has been deleted the database will get updated database will get updated

Page 10: DataFlow Diagram – Level 0. DDF – Level 1 ► Breaks down each process ► Shows exactly what each data is and where it flows ► Six Processes, Six Different

Phone Application Phone Application ModulesModules

►Access given only to existing usersAccess given only to existing users►Log On (login.wml)Log On (login.wml)

Queries database, if user and password is Queries database, if user and password is valid, connect to user homepage valid, connect to user homepage (home.wml)(home.wml)

►Home PageHome Page Provides the user to check stored stocks Provides the user to check stored stocks

(mystocks.wml), view market info (mystocks.wml), view market info (market.wml), search the internet for a stock (market.wml), search the internet for a stock by using the stock symbol (search.wml)by using the stock symbol (search.wml)

Page 11: DataFlow Diagram – Level 0. DDF – Level 1 ► Breaks down each process ► Shows exactly what each data is and where it flows ► Six Processes, Six Different

Phone Application Phone Application Modules – Modules – cont.cont.

►Searching application allows:Searching application allows: Gives an error message if stock symbol Gives an error message if stock symbol

entered is invalidentered is invalid Allows the user to view current market infoAllows the user to view current market info Allows the user to add that stock to their Allows the user to add that stock to their

favoritesfavorites

►Log outLog out Provide user to exit out of phone applicationProvide user to exit out of phone application

Page 12: DataFlow Diagram – Level 0. DDF – Level 1 ► Breaks down each process ► Shows exactly what each data is and where it flows ► Six Processes, Six Different

Database StructureDatabase Structure

► Data Dictionaries can be found Data Dictionaries can be found herehere

Page 13: DataFlow Diagram – Level 0. DDF – Level 1 ► Breaks down each process ► Shows exactly what each data is and where it flows ► Six Processes, Six Different

Technical OverviewTechnical Overview

►Developing an application to obtain real-Developing an application to obtain real-time stock information from your mobile time stock information from your mobile phonephone

►Using PHP, MySQL, HTML, WML, Using PHP, MySQL, HTML, WML, WMLScript and SQLWMLScript and SQL

►We will be obtaining the real-time stock We will be obtaining the real-time stock information from Yahoo! Finance CSV information from Yahoo! Finance CSV files.files.

Page 14: DataFlow Diagram – Level 0. DDF – Level 1 ► Breaks down each process ► Shows exactly what each data is and where it flows ► Six Processes, Six Different

Technical Issues : HTML vs. Technical Issues : HTML vs. WMLWML

►Modules will use one set of data to Modules will use one set of data to produce either HTML or WML produce either HTML or WML depending on device initiating the depending on device initiating the requestrequest

Page 15: DataFlow Diagram – Level 0. DDF – Level 1 ► Breaks down each process ► Shows exactly what each data is and where it flows ► Six Processes, Six Different

Technical Issues : NetworkTechnical Issues : Network

► If the network goes down or the Yahoo! If the network goes down or the Yahoo! server crashes, we must present the server crashes, we must present the user with an error message, but will not user with an error message, but will not crash Fast Stockscrash Fast Stocks

►We could store old stock quotes, but We could store old stock quotes, but storing out of date information is storing out of date information is counter-productivecounter-productive

Page 16: DataFlow Diagram – Level 0. DDF – Level 1 ► Breaks down each process ► Shows exactly what each data is and where it flows ► Six Processes, Six Different

Technical Issues : NetworkTechnical Issues : Network

►PHP provides built in functionality for PHP provides built in functionality for connecting and reading Internet files, connecting and reading Internet files, so no additional protocol software so no additional protocol software needs to be writtenneeds to be written

►Sessions will be initiated each time a Sessions will be initiated each time a user registers and logs into the system user registers and logs into the system from either the mobile phone or a web from either the mobile phone or a web browserbrowser

Page 17: DataFlow Diagram – Level 0. DDF – Level 1 ► Breaks down each process ► Shows exactly what each data is and where it flows ► Six Processes, Six Different

Technical Issues : DatabaseTechnical Issues : Database

►MySQL has no set limit to the number MySQL has no set limit to the number of concurrent database connections, it of concurrent database connections, it depends on the server configurationdepends on the server configuration

►MySQL handles record locking nativelyMySQL handles record locking natively

►MySQL handles security by using a MySQL handles security by using a configurable Privilege Systemconfigurable Privilege System

Page 18: DataFlow Diagram – Level 0. DDF – Level 1 ► Breaks down each process ► Shows exactly what each data is and where it flows ► Six Processes, Six Different

Technical Issues : DatabaseTechnical Issues : Database

►PHP has functionality to work with PHP has functionality to work with MySQL databasesMySQL databases

►Administrative functions will be include Administrative functions will be include to manage the databaseto manage the database

►phpMyAdmin is installed and will allow phpMyAdmin is installed and will allow powerful remote database managementpowerful remote database management

Page 19: DataFlow Diagram – Level 0. DDF – Level 1 ► Breaks down each process ► Shows exactly what each data is and where it flows ► Six Processes, Six Different

Software UsedSoftware Used

►ExcelExcel►Microsoft WordMicrosoft Word►Ulead PhotoEditorUlead PhotoEditor►Microsoft Access (for now)Microsoft Access (for now)

Page 20: DataFlow Diagram – Level 0. DDF – Level 1 ► Breaks down each process ► Shows exactly what each data is and where it flows ► Six Processes, Six Different

PlanningPlanning