Skip to:Content
|
Bottom
Cover image for Programming lanuages for MIS : concepts and practice
Title:
Programming lanuages for MIS : concepts and practice
Personal Author:
Publication Information:
Boca Raton, [Florida] : CRC/Taylor & Francis, 2014
Physical Description:
xvii, 299 p. : ill. ; 25 cm.
ISBN:
9781482222661
General Note:
Includes index
Added Author:

Available:*

Library
Item Barcode
Call Number
Material Type
Item Category 1
Status
Searching...
30000010324828 T58.6 W347 2014 Open Access Book Book
Searching...

On Order

Summary

Summary

Programming Languages for MIS: Concepts and Practice supplies a synopsis of the major computer programming languages, including C++, HTML, JavaScript, CSS, VB.NET, C#.NET, ASP.NET, PHP (with MySQL), XML (with XSLT, DTD, and XML Schema), and SQL. Ideal for undergraduate students in IS and IT programs, this textbook and its previous versions have been used in the authors' classes for the past 15 years.

Focused on web application development, the book considers client-side computing, server-side computing, and database applications. It emphasizes programming techniques, including structured programming, object-oriented programming, client-side programming, server-side programming, and graphical user interface.

Introduces the basics of computer languages along with the key characteristics of all procedural computer languages Covers C++ and the fundamental concepts of the two programming paradigms: function-oriented and object-oriented Considers HTML, JavaScript, and CSS for web page development Presents VB.NET for graphical user interface development Introduces PHP, a popular open source programming language, and explains the use of the MySQL database in PHP Discusses XML and its companion languages, including XSTL, DTD, and XML Schema

With this book, students learn the concepts shared by all computer languages as well as the unique features of each language. This self-contained text includes exercise questions, project requirements, report formats, and operational manuals of programming environments. A test bank and answers to exercise questions are also available upon qualified course adoption.

This book supplies professors with the opportunity to structure a course consisting of two distinct modules: the teaching module and the project module. The teaching module supplies an overview of representative computer languages. The project module provides students with the opportunity to gain hands-on experience with the various computer languages through projects.


Author Notes

Shouhong Wang, PhD, Professor of Management Information Systems, Charlton College of Business, University of Massachusetts Dartmouth, USA

Hai Wang, PhD, Associate Professor of Computing and Information Systems, Sobey School of Business, Saint Mary's University, Canada


Table of Contents

Prefacep. xi
The Authorsp. xv
Acknowledgmentsp. xvii
Chapter 1 Introductionp. 1
1.1 Computersp. 1
1.2 Computer Programming Languagesp. 1
1.2.1 Role of Computer Programming Languagep. 1
1.2.2 Software Systemsp. 2
1.2.3 Taxonomies of Computer Programming Languagesp. 3
1.3 Computing Architecture in the Internet Environmentp. 4
1.4 Key Characteristics Shared by All Procedural Programming Languagesp. 5
1.4.1 Syntax, Sentence, and Wordp. 5
1.4.2 Variablep. 5
1.4.3 Arithmetic Operationp. 6
1.4.4 Execution Sequencep. 6
1.4.5 If-Then-Else Logicp. 6
1.4.6 Loopp. 6
1.4.7 Modulep. 7
Chapter 2 C++p. 9
2.1 Introduction to Function-Oriented and Object-Oriented Programmingp. 9
2.2 A Tour of C Languagep. 9
2.2.1 C and C++ Keyword and User-Defined Wordp. 14
2.2.2 Comment Statementsp. 14
2.2.3 Preprocessorp. 14
2.2.4 Namespacep. 14
2.2.5 Structure of a C Program, Functions, and Argumentsp. 15
2.2.6 Statements and Semicolonp. 16
2.2.7 Data Typep. 16
2.2.8 Arithmetic Operationsp. 16
2.2.9 for-Loopp. 17
2.2.10 printf() Statement with Conversion Specifierp. 18
2.2.11 if-Statementp. 18
2.2.12 String and String Processingp. 20
2.3 Functional Approachp. 20
2.3.1 Functional Decompositionp. 20
2.3.2 A Simple Example of User-Defined Functionp. 21
2.3.3 Declaration of User-Defined Functionp. 22
2.3.4 Calling-Function and Called-Functionp. 22
2.3.5 Structure Diagramp. 23
2.3.6 An Example of Two Functionsp. 23
2.3.7 An Example of Multiple Functionsp. 25
2.4 Object-Oriented Approachp. 29
2.4.1 Object and Classp. 29
2.4.2 Descriptions of Classp. 31
2.4.3 public and private Statementsp. 32
2.4.4 Constructorp. 32
2.4.5 Use of Class-Declare Object and Message Sendingp. 32
2.5 Design of Objected-Oriented Programp. 35
2.6 Connection between Classes-An Example with Two Classesp. 39
2.7 An Example of Inheritancep. 43
2.8 Identify Classp. 48
2.9 Debuggingp. 48
Appendix 2.1 Commonly Used C and C++ Keywordsp. 52
C and C++ Keywordsp. 52
C++ Only Keywordsp. 52
Chapter 3 HTML, JavaScript, and CSSp. 53
3.1 Introduction to the Internetp. 53
3.2 Creating Web Pages Using HTMLp. 54
3.3 Simple Container Tagsp. 55
3.3.1

p. 55

3.3.2 andp. 55
3.3.3

p. 55

3.3.4 Commentsp. 55
3.3.5 Headings ...p. 56
3.3.6

p. 56

3.3.7

p. 56

3.3.8 , , , andp. 56
3.3.9

p. 56

3.3.10

p. 56

3.4 Empty Tagsp. 56
3.4.1

p. 56

3.4.2

p. 56

3.4.3

p. 57

3.5 Complex Container Tagsp. 59
3.5.1

p. 59

3.5.1.1 Attribute ACTIONp. 59
3.5.1.2 Attribute METHODp. 60
3.5.1.3 and Its Attributes TYPE, NAME, SIZE, and VALUEp. 60
3.5.2 FRAME and FRAMESETp. 60
3.6 Publish Web Pagep. 61
3.7 Introduction to JavaScriptp. 61
3.8 Image Manipulationp. 62
3.8.1 Object Classes and Their Methods and Attributesp. 63
3.8.2 Event Handlerp. 64
3.9 FORM Input Data Verificationp. 64
3.9.1 Comparison of JavaScript with C and C++p. 66
3.9.2 Function and Calling a Functionp. 67
3.9.3 String Processingp. 68
3.9.4 if-Statementp. 68
3.9.5 alert-Statementp. 69
3.10 FORM Data Calculationp. 69
3.11 Cookiesp. 71
3.12 Miscellaneous JavaScript Statementsp. 74
3.12.1 new Statementp. 74
3.12.2 Miscellaneous Functions and Methodsp. 74
3.13 Cascading Style Sheetp. 74
3.13.1 Inline CSSp. 75
3.13.2 Internal CSSp. 76
3.13.3 External CSSp. 79
3.14 Debugging Source Code of Web Pagesp. 80
Appendix 3.1 List of HTML Commonly Used Tagsp. 85
Appendix 3.2 JavaScript Reserved Words and Other Keywordsp. 86
JavaScript Reserved Wordsp. 86
Chapter 4 VB.NETp. 87
4.1 Graphical User Interfacep. 87
4.2 Microsoft Visual Studio and VB.NET Environmentp. 87
4.3 Event Drivenp. 90
4.4 Example of a Single Formp. 93
4.5 Multiple Formsp. 96
4.5.1 Design Formsp. 96
4.5.2 Modulep. 98
4.5.3 Classp. 99
4.5.4 Codingp. 100
4.6 Programming with VB.NETp. 106
4.6.1 General Format of Code, Comments, and Keywordsp. 106
4.6.2 Class and Objectp. 108
4.6.3 Methodsp. 108
4.6.4 Constant Variablesp. 109
4.6.5 Data Typesp. 109
4.6.6 Arithmetic Operationsp. 109
4.6.7 If-Then-Else Statementp. 110
4.6.8 For-loopp. 110
4.6.9 String Processing and Format Statementp. 110
4.6.10 Print Documentp. 110
4.6.11 Message Boxp. 111
4.7 Debuggingp. 111
Chapter 5 C#.NETp. 115
5.1 Microsoft Visual Studio and C# Programming Environmentp. 115
5.2 C# Program Structurep. 117
5.3 Run a C# Console Application Programp. 117
5.4 C# Syntaxp. 118
5.4.1 Arrays and foreach loopp. 119
5.4.2 Command Line Argumentsp. 120
5.4.3 Functionsp. 121
5.5 Examples of Console Applicationp. 123
5.6 Windows Forms Applicationp. 127
5.7 Examples of Windows Forms Applicationp. 130
5.8 Debuggingp. 138
Chapter 6 ASP.NETp. 145
6.1 Introduction to ASP.NETp. 145
6.2 ASP.NET with VB.NETp. 146
6.2.1 Structure of ASP.NET Programp. 147
6.2.2 HTML Controls Versus ASP.NET Web Controlsp. 149
6.2.3 HTML Controlsp. 149
6.2.3.1 Submit Buttonp. 150
6.2.3.2 Textboxp. 150
6.2.3.3 Checkboxp. 151
6.2.3.4 Radio Buttonp. 152
6.2.3.5 Selectp. 153
6.2.4 Web Controlsp. 154
6.2.5 Validation Controlsp. 156
6.2.6 The Code-Behind Programming Frameworkp. 157
6.2.7 Server-Side File Processingp. 159
6.2.8 Accessory Featuresp. 162
6.2.8.1 Sending E-mail Messagep. 162
6.2.8.2 Calendarp. 163
6.2.8.3 Redirect: Methodp. 164
6.2.8.4 Securityp. 166
6.2.9 Web Application Designp. 168
6.2.10 ADO.NET-Server-Side Database Processingp. 172
6.2.10.1 Database Connection and SQL in ASP.NETp. 173
6.2.10.2 Search Databasep. 175
6.2.10.3 Update Databasep. 177
6.2.10.4 Use Data of Database for Decisionp. 177
6.3 ASP.NET with C#.NETp. 179
6.3.1 C# Programming with ASP.NET Web Controlsp. 179
6.3.2 Code-Behind Programmingp. 184
6.3.3 Server-Side File Processingp. 185
6.3.4 Control for Database Processingp. 192
6.4 Debuggingp. 195
Chapter 7 PHPp. 201
7.1 Introduction to PHP and PHP Development Environmentp. 201
7.2 Format of PHP Programp. 202
7.3 Structure of PHP Programp. 205
7.4 Activate PHP in Web Page and Process Form Data on Serverp. 206
7.5 Programming in PHPp. 207
7.5.1 PHP Functionsp. 207
7.5.2 if-Statementp. 209
7.5.3 Read Data File from Serverp. 209
7.5.4 fopen() and fcloae()p. 210
7.5.5 feof() and fgets()p. 211
75.6 while-loopp. 211
75.7 Write Data File to Server and f puts ()p. 211
7.6 Relay Data through Multiple Dynamic Web Pages Using Hidden Fieldsp. 212
7.7 Example of Web Application Designp. 215
7.8 PHP and MySQL Databasep. 219
7.8.1 Set MySQL Databasep. 219
7.8.2 Create and Delete Table in PHP Using SQLp. 221
7.8.3 Insert Data to Tablep. 222
7.8.4 Access Databasep. 222
7.8.5 Search Databasep. 224
7.8.6 Use ODBC Connectionp. 225
7.9 Debuggingp. 225
Chapter 8 XMLp. 229
8.1 Introduction to XMLp. 229
8.1.1 HTML Documents Arc Difficult to Processp. 229
8.1.2 Databases Need Common Data Format to Exchange Datap. 230
8.2 XML Documents Are Data Sheetsp. 231
8.2.1 XML Instance Documentsp. 231
8.2.2 Declarationp. 232
8.2.3 Tags and Elementp. 232
8.2.4 Attributep. 232
8.2.5 Comment Line and Editorial Stylep. 233
8.3 Cascading Style Sheetsp. 233
8.4 Extensible Style Languagep. 234
8.4.1

p. 235

8.4.2

p. 235

8.4.3 HTML Presentationp. 235
8.4.4

p. 235

8.4.5 Empty Tagp. 236
8.4.6

p. 236

8.5 XML Data Treep. 236
8.6 CSS Versus XSLTp. 237
8.7 Document Type Definition and Validationp. 239
8.7.1 Simple Example of Internal DTDp. 240
8.7.2 Simple Example of External DTDp. 240
8.7.3

p. 241

8.7.4

p. 241

8.7.5

p. 242

8.7.6

p. 242

8.8 XML Schemap. 242
8.8.1 Schema Elementp. 243
8.8.2 Data Element, Attribute, and Data Typep. 244
8.8.3 complexTypep. 244
8.8.4 sequencep. 244
8.8.5 Cardinalityp. 244
8.8.6 Attributep. 244
8.8.7 XML Validationp. 244
8.9 Summary of Application of XMLp. 245
8.10 An Example of XML Applicationp. 246
8.11 Advanced Subjects of XMLp. 251
8.11.1 Conversion of Relational Database into XML Treep. 251
8.11.2 xlink and xsl:ifp. 254
8.11.2.1 xlinkp. 259
8.11.2.2

p. 260

8.12 XHTMLp. 260
8.13 XBRLp. 262
8.13.1 Comparison of XBRL with XMLp. 262
8.13.2 Taxonomyp. 263
8.13.3 Prepare XBRL-Based Reportsp. 263
Chapter 9 SQLp. 267
9.1 Introduction to SQLp. 267
9.2 CREATE and DROPp. 267
9.3 INSERT, UPDATE, DELETEp. 268
9.4 Query-SELECTp. 269
9.5 WHERE Clause and Comparisonp. 271
9.6 ORDER BY Clausep. 272
9.7 Aggregate Functionsp. 273
9.8 GROUP BY Clause and HAVING Clausep. 273
9.9 Joining Tablesp. 274
9.10 Subqueryp. 275
9.10.1 Subquery-Reducing Computational Workload of Join Operationp. 275
9.10.2 Subquery as an Alternative to GROUP BYp. 277
9.10.3 Subquery-Determining an Uncertain Criterionp. 277
9.11 Tactics for Writing Queriesp. 278
9.12 SQL Embedded in Host Computer Programming Languagesp. 278
Indexp. 281
Go to:Top of Page