ISYS 573 Special Topic – VB.Net

Download Report

Transcript ISYS 573 Special Topic – VB.Net

ISYS 812
Business Software Development
David Chao
Major Types of Software
• System software:
– System management software
• Operating systems, network management, etc.
– System development software
• Programming languages, computer-aided software engineering
(CASE), etc.
• Application software
– General purpose software
• Word processing, spreadsheets, database mangement, etc.
– Application-specific software
• Business: Transaction processing, business functions –
operational, decision, strategic.
Characteristics of Today’s
Business Software
• Bigger and more complex
• Cross-functional
– Enterprise Resource Planning
• Inter-Organizational
– E-Collaboration
• Global
• Client/Server structure
– N-tier
Characteristics of Today’s
System Development Software
•
•
•
•
Graphical, event-driven programming
Object-oriented
Component programming
Support database/internet application
development
• Intelligent development environment
Software Development Process
• It includes all the activities required to translate a
user’s needs into a software product.
–
–
–
–
–
Requirements
Analysis and design
Implementation
Test
Project management
• The software process defines who is doing what,
when, and how.
– Analyst, designer, programmer, tester, manager, etc.
Major Objectives of ISYS812
• Learn the current software development
technologies:
– Graphical user interface, event-driven, object-oriented,
component, database processing, internet and web
services, etc.
– .Net framework with VB.Net
• Understand the software development process and
management.
– UPEDU
Introduction to UPEDU
• Website: www.yoopeedoo.org
• Username & password: students, students
• Links:
– The Book: slides and readings
– UPEDU
•
•
•
•
Overview: Case study
Disciplines
Roles
Artifacts
Introduction to VB and .Net
The History of VB
• Early 1960s:BASIC-Beginner’s All-Purpose
Symbolic Instruction Code
– Teaching
– Simple syntax, easy-to-use
– Interpreted language – slow
• Microsoft’s long history of commitment to BASIC
– In the 1980s: QuickBasic, QBasic (shipped with DOS)
– In the early 1990s, VB 1.0
• Visual interface design and creation
• Even-driven programming
• Easy database access
– 2002: VB .Net
• Challenges: Java, Internet application development
Portability
Java: Write Once Run Anywhere
Java Byte Code
Java Source Code
Java Virtual Machine
(JVM)
Java Byte Code
(Intermediate Code)
Executable Code
Microsoft’s .Net
• Language must compliance with Common
Language Specification, CLS.
• Compile the language into Microsoft Intermediate
Language (MSIL) code.
• The MSIL code is then executed in the
Common Language Runtime (CLR), which
conceptually is same as the JVM, where it is
translated into machine code by a compiler.
.Net Architecture
VB.Net
C#
C++
Common Language Specification
ASP.Net
Windows Forms
Data and XML
Base Class Library
Common Language Runtime
• Common Language Runtime:
– Manages execution of compiled .NET program.
– Provides .Net basic services, such as memory
management, garbage collection, etc.
• Base Class library: define all the basic data types
such as system.object, numeric, date, etc.
• Data and XML: Classes work with database
(ADO.NET) and XML document.
• ASP.Net and Forms: Classes that generate user
interface.
• CLS: CLS dictates the minimum group of features
that a .Net language must have.
.Net Advantages
• It is independence from a specific language.
Developers can create a .Net application in any
.Net compatible language.
– .Net moves most of the functionality from the language
to the .Net Framework. All .Net language can use these
classes.
• It can exist on multiple platforms, further
extending the portability of .Net programs.
• Facilitate internet application development:
– ASP.Net: Web Forms and XML Web services.
• Universal data access: Data can be accessed by
any Internet-connected device.
Programming in the .Net
Framework
• Programming in the .Net Framework means
making use of the classes, objects, and
members exposed by the Framework,
building your own classes on top of these
and manipulating the resulting objects using
a .Net language.
• Ex. VB form is derived from
System.Windows.Forms.Form class.
XML and .NET
• .NET Framework uses XML for:
–
–
–
–
–
Configuration
Cache dataset
Web services
Web form layouts
Etc.
• XML data combined with schema are
becoming increasingly important.
XML Example
<?xml version="1.0" ?>
<Books>
<Book>
<ISBN>1-34567-04-01</ISBN>
<Authors>
<AuthorName>John Smith</AuthorName>
<AuthorName>Peter Chen</AuthorName>
<AuthorName>David Chao</AuthorName>
</Authors>
<Price> $45.00</Price>
<Description>This is a great book</Description>
</Book>
<Book>
<ISBN>1-34567-04-02</ISBN>
<Authors>Adam Smith</Authors>
<Price> $25.00</Price>
<Description>This is a second great book</Description>
</Book>
</Books>