Developing Web-Enabled Decision Support Systems

Slides:



Advertisements
Similar presentations
Data Base. Objective Become familiar with database terminology. Create a project to display data for a single database table. Use a DataGrid control.
Advertisements

Introduction to Visual Basic.NET Uploaded By: M.Sheraz anjum.
CS0004: Introduction to Programming Visual Studio 2010 and Controls.
Chapter 10 Database Applications Copyright © 2011 by The McGraw-Hill Companies, Inc. All Rights Reserved. McGraw-Hill.
Integrating Access with the Web and with Other Programs.
The Microsoft View: Module 1: Getting Started. Copyright Course 2559B, Introduction to Visual Basic®.NET Programming with Microsoft®.NET. Lecture 1 Microsoft.
Chapter 12: ADO.NET and ASP.NET Programming with Microsoft Visual Basic.NET, Second Edition.
A Guide to Oracle9i1 Introduction To Forms Builder Chapter 5.
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
1 Introduction to the Visual Studio.NET IDE Powerpoint slides modified from Deitel & Deitel.
Copyright 2003 The McGraw-Hill Companies, Inc CHAPTER Application Software computing ESSENTIALS    
Chapter 14: Advanced Topics: DBMS, SQL, and ASP.NET
1 An Introduction to Visual Basic Objectives Explain the history of programming languages Define the terminology used in object-oriented programming.
Computer Science 101 Web Access to Databases Overview of Web Access to Databases.
1 Chapter 20 — Creating Web Projects Microsoft Visual Basic.NET, Introduction to Programming.
XP New Perspectives on Microsoft Access 2002 Tutorial 71 Microsoft Access 2002 Tutorial 7 – Integrating Access With the Web and With Other Programs.
Oracle Developer Tools for Visual Studio.NET Curtis Rempe.
2. Introduction to the Visual Studio.NET IDE 2. Introduction to the Visual Studio.NET IDE Ch2 – Deitel’s Book.
Chapter 1 Introduction Outstanding Features About This Book 1. A novel writing style is adopted to try to attract students’ or beginning programmers’ interesting.
Some Basic Database Terminology
1 Programming Concepts Module Code : CMV6107 Class Contact Hours: 45 hours (Lecture 15 hours) (Laboratory/Tutorial 30 hours) Module Value: 1 Textbook:
Visual Basic Chapter 1 Mr. Wangler.
Tutorial: Introduction to ASP.NET Internet Technologies and Web Application 4 th February 2010.
CHAPTER 9 DATABASE MANAGEMENT © Prepared By: Razif Razali.
1 Introduction to.NET Framework. 2.NETFramework Internet COM+ Orchestration Orchestration Windows.NET Enterprise ServersBuildingBlockServices Visual Studio.NET.
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. WEB.
Microsoft Visual Basic 2005: Reloaded Second Edition
Spreadsheet-Based Decision Support Systems Chapter 22:
COMPUTER PROGRAMMING Source: Computing Concepts (the I-series) by Haag, Cummings, and Rhea, McGraw-Hill/Irwin, 2002.
Prof. Name Position (123) University Name Chapter 1: Introduction Spreadsheet-Based Decision Support Systems.
10-1 aslkjdhfalskhjfgalsdkfhalskdhjfglaskdhjflaskdhjfglaksjdhflakshflaksdhjfglaksjhflaksjhf.
Introduction to Visual Basic. Quick Links Windows Application Programming Event-Driven Application Becoming familiar with VB Control Objects Saving and.
IE 411/511: Visual Programming for Industrial Applications
2. Introduction to the Visual Studio.NET IDE. Chapter Outline Overview of the Visual Studio.NET IDE Overview of the Visual Studio.NET IDE Menu Bar and.
Tutorial 111 The Visual Studio.NET Environment The major differences between Visual Basic 6.0 and Visual Basic.NET are the latter’s support for true object-oriented.
Integrated Development Environment (IDE)
Prof. Name Position (123) University Name Chapter 1: Introduction Spreadsheet-Based Decision Support Systems.
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. WEB.
Introduction to the Visual Studio.NET IDE (LAB 1 )
Chapter One An Introduction to Visual Basic 2010 Programming with Microsoft Visual Basic th Edition.
1 Chapter 12 – Web Applications 12.1 Programming for the Web, Part I 12.2 Programming for the Web, Part II 12.3 Using Databases in Web Programs.
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.
CHAPTER TWO INTRODUCTION TO VISUAL BASIC © Prepared By: Razif Razali 1.
Chapter 2 – Introduction to the Visual Studio .NET IDE
C OMPUTING E SSENTIALS Timothy J. O’Leary Linda I. O’Leary Presentations by: Fred Bounds.
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
Sistem Informasi Berbasis Web Membangun Sistem Informasi Berbasis Web Priyo SS.
BlackBerry Applications using Microsoft Visual Studio and Database Handling.
Visual Basic for Application - Microsoft Access 2003 Programming applications using Objects.
Presented by Vishy Grandhi.  Architecture (Week 1) ◦ Development Environments ◦ Model driven architecture ◦ Licensing and configuration  AOT (Week 2)
Gold – Crystal Reports Introductory Course Cortex User Group Meeting New Orleans – 2011.
 2002 Prentice Hall. All rights reserved. 1 Chapter 2 – Introduction to the Visual Studio.NET IDE Outline 2.1Introduction 2.2Visual Studio.NET Integrated.
Chapter 5 Introduction To Form Builder. Lesson A Objectives  Display Forms Builder forms in a Web browser  Use a data block form to view, insert, update,
1 Database Programming with ADO.NET Kashef Mughal.
Copyright (c) 2003 by Prentice Hall Provided By: Qasim Al-ajmi Chapter 2 Introduction to Visual Basic Programming Visual Basic.NET.
Object-Oriented Application Development Using VB.NET 1 Chapter 2 The Visual Studio.NET Development Environment.
COMPUTER III. Fundamental Concepts of Programming Control Structures Sequence Selection Iteration Flowchart Construction Introduction to Visual Basic.
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved Address Book Application Introducing Database Programming.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 8 1 Microsoft Office Access 2003 Tutorial 8 – Integrating Access with the.
 2002 Prentice Hall. All rights reserved. 1 Introduction to the Visual Studio.NET IDE Outline Introduction Visual Studio.NET Integrated Development Environment.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 11 Creating Web Applications and Writing Data to a Database.
Visual Basic.NET Windows Programming
Working in the Forms Developer Environment
Chapter 2 – Introduction to the Visual Studio .NET IDE
1. Introduction to Visual Basic
3.01 Apply Controls Associated With Visual Studio Form
Chapter 2 – Introduction to the Visual Studio .NET IDE
CIS16 Application Development – Programming with Visual Basic
Database Applications
Accessing Databases with ADO.NET, Handling Exceptions, and Printing
Presentation transcript:

Developing Web-Enabled Decision Support Systems Ravindra K. Ahuja Industrial & Systems Engineering, University of Florida, Gainesville ahuja@ufl.edu

INFORMS TEACHING MS WORKSHOP 2004 Overview Introduction to Decision Support Systems Building a Web-Enabled Decision Support System Integrating DSS in Business Curriculum JULY 9, 2004 INFORMS TEACHING MS WORKSHOP 2004

Decision Support Systems (DSS) A decision support system is an information system that assists the user in decision-making. Database Model Base GUI User Knowledge Base JULY 9, 2004 INFORMS TEACHING MS WORKSHOP 2004

Developing Interactive Systems Practical decision making requires developing man-machine interactive systems. Input Data The Model Output, Reports User Interface, Re-optimization JULY 9, 2004 INFORMS TEACHING MS WORKSHOP 2004

Importance of DSS Development Skills Help us package models and algorithms. Combine modeling with human experience Highly desirable for consulting jobs for students Useful for academics to get industry grants New consulting opportunities for faculty members JULY 9, 2004 INFORMS TEACHING MS WORKSHOP 2004

DSS Development Process Data Storage Mechanism MS Excel, Lotus 123 MS Access, Oracle, MS SQL Server, Dbase Data Manipulation Visual Basic for Applications (VBA) Visual Basic .NET (VB .NET) Java, C/C++ Data Presentation VBA, VB .NET, MS Access, ASP .NET Java Applets JULY 9, 2004 INFORMS TEACHING MS WORKSHOP 2004

Two Common Ways to Develop DSS Spreadsheet-Based Decision Support Systems Spreadsheets Excel features VBA for Excel Web-Enabled Decision Support Systems Databases Microsoft Access VB .NET ASP .NET JULY 9, 2004 INFORMS TEACHING MS WORKSHOP 2004

INFORMS TEACHING MS WORKSHOP 2004 Overview Introduction to Decision Support Systems Building a Web-Enabled DSS Integrating DSS in the Business Curriculum JULY 9, 2004 INFORMS TEACHING MS WORKSHOP 2004

Components of a Web-Enabled DSS Users Database Application DBMS Databases Database Management System (Access DBMS) Developing GUI Web-Enabling the Application JULY 9, 2004 INFORMS TEACHING MS WORKSHOP 2004

INFORMS TEACHING MS WORKSHOP 2004 Data Modeling Systematically converts E-R Diagram into Relations Portfolio PID Name DateAdded Stock Company Symbol PORTFOLIO STOCK Type Has Quantity Details Object Data Model Relational Data Model JULY 9, 2004 INFORMS TEACHING MS WORKSHOP 2004

Access DBMS: Developing Environment Access Environment: Facilitates development process. Main Menu Toolbar Database Window View Object Bar Table Objects JULY 9, 2004 INFORMS TEACHING MS WORKSHOP 2004

Tables and Relationships Tables: Stores data Relationships Window: Relates data Database Tables Attributes JULY 9, 2004 INFORMS TEACHING MS WORKSHOP 2004

INFORMS TEACHING MS WORKSHOP 2004 Queries Queries: Processes data Table Pane Design Grid Query Output JULY 9, 2004 INFORMS TEACHING MS WORKSHOP 2004

Data Manipulation using SQL Structured Query Language (SQL) is the most powerful and commonly used query language. Sample SQL Command: SELECT PorfolioID, Name, Type FROM tblPortfolio WHERE Type Like “Auto*” OR Like “Insurance*” JULY 9, 2004 INFORMS TEACHING MS WORKSHOP 2004

Components of a Web-Enabled DSS Users Database Application DBMS Databases Database Management System (DBMS) Developing GUI (VB .NET) Web-Enabling the Application (ASP .NET) JULY 9, 2004 INFORMS TEACHING MS WORKSHOP 2004

INFORMS TEACHING MS WORKSHOP 2004 What is .NET ? .NET is a set of Microsoft software technologies for connecting information, people, systems, and devices. .NET Framework is a common layer between .NET applications and Windows OS. .NET Applications are VB / VC++ / C# programs written on .NET Framework. Windows Operating System Common Language Runtime (CLR) Class Library Other Components VC++ VB C# Other . Net Applications .NET Framework JULY 9, 2004 INFORMS TEACHING MS WORKSHOP 2004

VB .NET Developing Environment Visual Studio .NET is the Interactive Development Environment (IDE) for .NET applications. Design Window Projectile Simple forms with basic Excel manipulation Birthday Simulation Simple simulation with statistical analysis The Simplex Method Advanced forms and navigation Portfolio Management and Optimization Using the Solver Queuing Simulation Animation and advanced analysis University Student Information System Dynamic queries and forms JULY 9, 2004 INFORMS TEACHING MS WORKSHOP 2004

Exploring VS .NET IDE Features … Create new/open existing projects. (Open the existing portfolio application.) Solution explorer lists all the files for the current solution. (Double click ‘Welcome.vb’ file to view its design.) JULY 9, 2004 INFORMS TEACHING MS WORKSHOP 2004

Exploring VS .NET ID Features (Contd…) Design Window is the actual work place; displays form design and VB .NET code. (Double click anywhere on this form to open its code window.) ToolBox is a gazette of controls: forms building blocks. (Add a button and label controls to the form.) JULY 9, 2004 INFORMS TEACHING MS WORKSHOP 2004

Exploring VS .NET ID Features (Contd…) Properties Window sets properties for controls and in a way their appearance and behavior. (Set Name, Text, Font, Back Color properties on these controls.) Menu bar and Toolbars are handy for supporting operations like save, run, add items. (Save the project and run the application.) JULY 9, 2004 INFORMS TEACHING MS WORKSHOP 2004

VB .NET Programming Language Like other programming languages VB .NET supports: Interaction with user (user input / output) Arithmetic, logical, and string operations Control structures Modules, Classes, Procedures, Methods Data structures like arrays A Condition B True False Loop Else If JULY 9, 2004 INFORMS TEACHING MS WORKSHOP 2004

Programming…Interactive Process Event List VB .NET is event driven programming. (Double click the button control and add following code for its OnClick event.) Code window lists all the controls and their events for us. (Browse the combo boxes on top of the code window.) JULY 9, 2004 INFORMS TEACHING MS WORKSHOP 2004

Programming...Interactive Process (Contd) Programming is even more fun now. Get all the help online as you code. Online tip IntelliSense Organize your code in nice and neat format using region feature of IDE. (Browse through to play with these features.) JULY 9, 2004 INFORMS TEACHING MS WORKSHOP 2004

ADO .NET: Database Connectivity ADO .NET structure makes is easy to: Connect to a database Run SQL queries against it Store and further process query results Add/Update/Delete records from database Databases Connection VB .NET Forms & Controls Data Adaptor (SQL Query) Datasets (Stores query output) JULY 9, 2004 INFORMS TEACHING MS WORKSHOP 2004

ADO .NET: Database Connectivity (Contd..) Steps for querying a database and showing results on VB .NET form: Connect to a database (once for a project) Create a data adaptor with desired SQL statement Create a dataset to store query results Bind the control to the dataset Run the query by writing VB .NET code JULY 9, 2004 INFORMS TEACHING MS WORKSHOP 2004

Connection, Adaptor, and Dataset Server Explorer makes it easy to connect to a database. (Connect to the Portfolio database.) Drag & Drop Toolbox assists in the creation of data adaptors, and data sets. (Portal form: Add an adaptor and a dataset to get the list of portfolios.) JULY 9, 2004 INFORMS TEACHING MS WORKSHOP 2004

Binding Controls to Dataset We then bind controls to datasets to show query results on forms using property window for a control. (Bind the dataset created to the list box on Portal form.) JULY 9, 2004 INFORMS TEACHING MS WORKSHOP 2004

Writing Code to Execute a Query? Next we run the query and display the data. It is done by writing 2 lines of VB .NET code. (Write this code for list box control on page load event.) JULY 9, 2004 INFORMS TEACHING MS WORKSHOP 2004

VB .NET Events and Data Retrieval Data retrieval (using adaptor and datasets) and VB .NET events can be combined together for interesting functionalities. (On selection of portfolio from list display its details in the data grid control.) JULY 9, 2004 INFORMS TEACHING MS WORKSHOP 2004

INFORMS TEACHING MS WORKSHOP 2004 VB .NET Events & Data Retrieval (Contd..) Steps: Create adaptors and datasets and bind them to respective controls. (Bind to list box and data grid.) Execute a parameter query for second control on some event of first control. (Here we execute parameter query for data grid on selection change event of list box.) JULY 9, 2004 INFORMS TEACHING MS WORKSHOP 2004

Add/Update/Delete Records from DB Data adaptor, dataset and their methods makes altering database very easy. (Add these one liners to OnClick event of respective buttons.) Me.BindingContext(DsInvPort, "tblPortfolio") .RemoveAt (lstPort.SelectedIndex) Me.BindingContext(DsInvInfo,"tblInvestor") .CancelCurrentEdit() OleDbInvInfo.Update(DsInvInfo) JULY 9, 2004 INFORMS TEACHING MS WORKSHOP 2004

Using VB .NET’s Advance Controls We can use advance controls like Check List Box, Trees controls for nice functionalities. (Use check list box to display list of stocks allowing multiple selections, then display data for all selected stocks in the data grid.) JULY 9, 2004 INFORMS TEACHING MS WORKSHOP 2004

Using VB .NET’s Advance Controls (Contd..) We can use advance controls line Date Time Picker for professional looks. (Use this control to allow user choose year for performance graph.) JULY 9, 2004 INFORMS TEACHING MS WORKSHOP 2004

INFORMS TEACHING MS WORKSHOP 2004 VB .NET and OOPS VB .NET is a complete Object Oriented Programming Language (OOPL). VB .NET with its Class structure now supports all three basic OOP principles: Encapsulation Inheritance Polymorphism What it is good for? Data hiding and data encapsulation Code reusability Split the development task into independent modules JULY 9, 2004 INFORMS TEACHING MS WORKSHOP 2004

Other Supported Features Exception Handling: Preparing for worse!! (Browse through the code for portfolio form for Try... Catch ... End Try blocks.) Code Debugging: Towards perfection! (Press F5 and click for optimization, debugging window pops up, press F8 to step through.) JULY 9, 2004 INFORMS TEACHING MS WORKSHOP 2004

Plug-in Optimization/Simulation Packages Some of the available options are: Optimization code using VB .NET language. (Illustrated next.) Use VB .NET to connect to C/C++ code. (Using DLL files or through flat text files.) Use MS Excel functionalities. For example, we can use Excel Solver functionality to solve small to medium size optimization problems through VB .NET. JULY 9, 2004 INFORMS TEACHING MS WORKSHOP 2004

Portfolio Optimization Problem Optimization Code Results On Click User Input Dataset has Data From Database JULY 9, 2004 INFORMS TEACHING MS WORKSHOP 2004

Working with Crystal Reports Crystal reports are used to produce professional quality reports/graphs to summarize information. (Plot the pie chart for the output of the portfolio optimization result.) JULY 9, 2004 INFORMS TEACHING MS WORKSHOP 2004

Working with Crystal Reports (Contd..) Steps for displaying crystal report on VB .NET form: Have the data to plot in a dataset. (This might be from database or result of some operation like optimization.) Create the crystal report layout using “Report Expert Wizard” (Select type, fields, format etc. for graph.) Associate the crystal report and the dataset in VB .NET code. (This requires only 3 lines of code.) JULY 9, 2004 INFORMS TEACHING MS WORKSHOP 2004

Working with Crystal Reports (Contd..) Dataset with data to plot VB .NET Code Chart Expert Wizard Final Graph JULY 9, 2004 INFORMS TEACHING MS WORKSHOP 2004

ASP .NET – Web Connectivity ASP .NET = Internet + HTML + VB .NET Knowledge of Web Terms and Internet Hypertext Manipulation Language (HTML) - for data presentation Visual Basic .NET (VB .NET) - code behind web pages, for data manipulation JULY 9, 2004 INFORMS TEACHING MS WORKSHOP 2004

INFORMS TEACHING MS WORKSHOP 2004 How This Works? JULY 9, 2004 INFORMS TEACHING MS WORKSHOP 2004

Developing ASP .NET Application Developing ASP .NET Application is very similar to VB .NET Application development. (Make Portal form of VB .NET application web-enabled using ASP .NET.) We use Web Controls and HTML controls for Windows controls used in VB .NET application. VB .NET code with minor additions can be used as ‘code behind’ for ASP .NET pages. HTML code is automatically generated by the Visual Studio .NET IDE. JULY 9, 2004 INFORMS TEACHING MS WORKSHOP 2004

INFORMS TEACHING MS WORKSHOP 2004 Overview Introduction to Decision Support Systems Building a Web-Enabled DSS Integrating DSS in Business Curriculums JULY 9, 2004 INFORMS TEACHING MS WORKSHOP 2004

Teaching DSS Development Courses The University of Florida is currently offering two separate courses on DSS Development: Developing Spreadsheet-Based DSS Developing Web-Enabled DSS 3-credit courses Project-oriented courses JULY 9, 2004 INFORMS TEACHING MS WORKSHOP 2004

INFORMS TEACHING MS WORKSHOP 2004 Course Delivery Hands-on course Students bring laptops Instructor uses LCD Projector After basic topics from PowerPoint presentations are taught, we do in-class assignments. Weekly homework assignments. Students do semester-long team projects in which they develop full DSS applications. JULY 9, 2004 INFORMS TEACHING MS WORKSHOP 2004

Outline of Web-Enabled DSS Course Part 1: (3 weeks) Database design principles Microsoft Access, Tables, Queries, SQL Part 2: (6 weeks) .Net Platform, VB .Net programming Language Windows forms and controls, Database connectivity Crystal reports Part 3: (3 weeks) HTML, ASP .Net, Database connectivity in Web forms Part 4: (2 weeks) Project work Developing and presenting DSS applications JULY 9, 2004 INFORMS TEACHING MS WORKSHOP 2004

Web-Enabled DSS Textbook Abhijit Pol Ravindra K. Ahuja JULY 9, 2004 INFORMS TEACHING MS WORKSHOP 2004

INFORMS TEACHING MS WORKSHOP 2004 The Book Outline Part I: Principles of Database Design Part II: MS Access: A DBMS Part III: DB Programming using VB .NET Part IV: Web-Connectivity using ASP .NET Part V: Case Studies JULY 9, 2004 INFORMS TEACHING MS WORKSHOP 2004

INFORMS TEACHING MS WORKSHOP 2004 Case Studies NASA’s Rocket Science University Student Information System TV Channel Project Airline Scheduling Portfolio Management Online Shopping JULY 9, 2004 INFORMS TEACHING MS WORKSHOP 2004

Additional Course Material PowerPoint Presentations Review Questions and Hands-On Exercises Solution Manual for Instructors Student Team Projects Web Resources JULY 9, 2004 INFORMS TEACHING MS WORKSHOP 2004

INFORMS TEACHING MS WORKSHOP 2004 Another DSS Textbook Michelle M. Hanna Ravindra K. Ahuja Wayne L. Winston JULY 9, 2004 INFORMS TEACHING MS WORKSHOP 2004

DSS Development Workshop JULY 9, 2004 INFORMS TEACHING MS WORKSHOP 2004

Additional Information Course material website: www.ise.ufl.edu/IT Workshop website: www.ise.ufl.edu/DSS Interested in course material? Please give us your card or email address. JULY 9, 2004 INFORMS TEACHING MS WORKSHOP 2004