Advanced ASP. Software Engineering Group. Departamento de Lenguajes y Sistemas Informáticos. escuela técnica superior de ingeniería informática

Size: px
Start display at page:

Download "Advanced ASP. Software Engineering Group. Departamento de Lenguajes y Sistemas Informáticos. escuela técnica superior de ingeniería informática"

Transcription

1 Tiempo: 2h [Ángel US V7] Diseño: Amador Durán Toro ( Departamen de Lenguajes y Sistemas Ináticos escuela técnica superior de ingeniería inática Versión original: Amador Durán Toro (diciembre 2004 Última revisión: Amador Durán y David Benavides (diciembre 2006 revisión y buenas prácticas. Advanced Software Engineering Group November 2007

2 y Sistemas Ináticos Basic Concepts Advanced ADO MS ActiveX Data Objects ActiveX objects allow access Data Sres using code. Connection and Recordset are the most relevant objects. Connection Connection Command Recordset Error Field Parameter Grupo de Ingeniería del Software 1

3 y Sistemas Ináticos Acrs Advanced Data Provider (OLEDB, ODBC Connection Data Base (MySQL, MS Access, SQL Server execution Connection Data Provider BD ADO OLEDB BD ADO OLEDB ODBC BD Grupo de Ingeniería del Software 2

4 y Sistemas Ináticos Connection definition: Advanced This object represents a connection a Data Sre (usually a data base. Ussually the usage of this object is: try try connecion connecion Server.CreateObject( Server.CreateObject( "ADODB.Connection" "ADODB.Connection" connection.open( connection.open( "ProviderMicrosoft.Jet.OLEDB.4.0;" "ProviderMicrosoft.Jet.OLEDB.4.0;" + "Data "Data Source" Source" + Server.MapPath( Server.MapPath( "bd/bd.mdb" "bd/bd.mdb" catch( catch( e e error error handling handling Response.End( Response.End( DB DB access access (conexion.execute( (conexion.execute( conexion.close( conexion.close( conexion conexion null; null; free free resources resources (memory (memory Grupo de Ingeniería del Software 3

5 y Sistemas Ináticos Methods of Connection Advanced BeginTrans( (: begin a transaction. CommitTrans( (: end a transacction and commit changes. RollbackTrans( (: abort a transaction. Open( connectionstring,, [user[ user], [pwd[ pwd] ] : open a connection on the BD specified by connectionstring. Specific syntax of connectionstring depends on the BD use. User and password are optional. In order specify the path the BD file Server.MapPath is usually used.(usually specify a MS Access file. Close( (: close this connection and all recordsets it open through. Execute( ( SQL : execute a SQL command. If the commad is a query, it returns a Recordset. Grupo de Ingeniería del Software 4

6 y Sistemas Ináticos Recordset definition: Advanced Allows add, delete and uptade rows of tables on the DB, but we will use it only retrieve the result of queries. Ussually the usage of this object is: try try rs rs connection.execute( connection.execute( "SELECT "SELECT " " or or rs rs Server.CreateObject("ADODB.Recordset" Server.CreateObject("ADODB.Recordset" rs.open( rs.open( "SELECT "SELECT ", ", connection connection catch( catch( e e Error Error handling while handling while (!rs.eof (!rs.eof Response.End( Response.Write( Response.End( Response.Write( rs( column1" rs( column1".value.value Iterate Iterate on on the the recordset Response.Write( recordset Response.Write( rs( columnn" rs( columnn".value.value rs rs null; null; free free resources rs.movenext( resources rs.movenext( Grupo de Ingeniería del Software 5

7 y Sistemas Ináticos Recordset properties: Can be used as a map: Advanced rs( "column i ".Value value of column i EOF: boolean attribute that allows test if we had reached the end of this recordset. Recordset methods: Open( ( "SQL", conexión n : execute a query on the DB and retrieves the result. Close( (: close this recordset and free resources. MoveFirst(, MoveLast(, MoveNext(, Move( ( n : displacement of the internal pointer the first, last, next or n records forward or back (if n < 0. If If we we use use Access Access and and execute execute MoveLast(, MoveLast(, MoveFirst( MoveFirst( no no effect. effect. Grupo de Ingeniería del Software 6

8 y Sistemas Ináticos Advanced try/catch blocks using and ADO Each operation using ADO objects could raise exceptions that should be catched. The object raised by the exceptions type Error and their attributes are: name : name of this error, usually "Error". number: number (code of this error. description: brief descripction of what caused this error. message: ussually equal description. Error handling using a catch block Usually the code of catch blocks provides ination about the error users, frees resources and sps page processing using Response.End( (. Grupo de Ingeniería del Software 7

9 y Sistemas Ináticos Advanced Code modularization implement data treatment: validation Data sred on Data sred on Session Session yes?? no Grupo de Ingeniería del Software 8

10 y Sistemas Ináticos Grupo de Ingeniería del var Session("" var Session("" var Session("" var Session("" Create a object sre data. Create a object sre data. if (! if (! new Object( new Object(.name Default Name";.name Default Name";.address "Default address";.address "Default address"; Sre data in session Sre data in session Session("" ; Session("" ; Create an array sre Create an array sre if (! if (! new Array( new Array( Sre in session Sre in session Session("" ; Session("" ; id"div_"> id"div_"> for ( e in for ( e in Response.Write( " class'error'>" Response.Write( " class'error'>" Response.Write( [ e ] Response.Write( [ e ] Response.Write( "" Response.Write( "".. id"div_name"> id"div_name"> <label for"name">name:</label> <label for"name">name:</label> <input id"name" name"name" <input id"name" name"name" value".name " /> value".name " /> We We are are declaring declaring attributes attributes in in a a implicit implicit and and dynamic dynamic way. way. Create Create two two objects objects in in session: session: Sre Sre data data Sre Sre found found We We show show found found 9

11 y Sistemas Ináticos validation Verifythe Verifythe value of data value of data and. If and. If there are no there are no values, values, redirect the redirect the.. Assign Assign values sent values sent Validate Validate data at server data at server Redifect Redifect if if were found were found Else redirect Else redirect processing processing page <script <script language"javascript" language"javascript" src"validation.js" src"validation.js" runat"server"></script> runat"server"></script> Our Session("" Our proposal proposal is is reuse reuse Session("" validation Session("" validation logic logic across across Session("" client client and and server. server. (runat server if if ( ( && && (runat server.name.name Request.Form("name".Item; Request.Form("name".Item;.direccion.direccion Request.Form( address".item; Request.Form( address".item; validate( validate( if if ( (.length.length > > 0 0 Session( Session( "" "" ; ; Session( Session( "" "" ; ; Response.Redirect( Response.Redirect( ".asp" ".asp" else else Response.Redirect( Response.Redirect( "execution.asp" "execution.asp" There There are are certain certain implications implications if if we we reuse reuse validation validation logic logic (validation (validation function function should should be be independent independent from from DOM DOM code code obtain obtain data data from from our our.. So, So, all all params params should should be be passed passed reuse reuse those those functions. functions. else else Response.Redirect( Response.Redirect( ".asp" ".asp" Grupo de Ingeniería del Software 10

12 y Sistemas Ináticos Validation Steps 1.Get the object 2.Get the value 3.Check value 4.Show error Example: function process( function process( var ctrlname document.getelementbyid( name var ctrlname document.getelementbyid( name var ctrl document.getelementbyid( var ctrl document.getelementbyid( var name ctrlname.value; var name ctrlname.value; var ctrl .value; var ctrl .value; var ; var ; if(name if(name + Name field can not be empty ; + Name field can not be empty ; if( if( + <br/> field can not be empty ; + <br/> field can not be empty ; else else reg. exp. validation reg. exp. validation var diverrors document.getelementbyid( var diverrors document.getelementbyid( diverror.innerthtml; diverror.innerthtml; return ( return ( Advanced Code Code that that can can be be used used on on client client and and server server side side CLIENT SIDE CODE CLIENT SIDE CODE function process( function process( var ctrlname document.getelementbyid( name var ctrlname document.getelementbyid( name var ctrl document.getelementbyid( var ctrl document.getelementbyid( var name ctrlname.value; var name ctrlname.value; var ctrl .value; var ctrl .value; var validate(name, var validate(name, var diverrors document.getelementbyid( var diverrors document.getelementbyid( diverror.innerthtml; diverror.innerthtml; return ( return ( REUSABLE (PURE VALIDATION LOGIC CODE REUSABLE (PURE VALIDATION LOGIC CODE function validate(name, function validate(name, var ; var ; if(name if(name + Name field can not be empty ; + Name field can not be empty ; if( if( + <br/> field can not be empty ; + <br/> field can not be empty ; else else reg. exp. validation reg. exp. validation return ; return ;

13 y Sistemas Ináticos Advanced Code modularization when we use ADO: validation Data Data sred sred on on Session Session yes?? no Data Access Logic Data Data Base Base A Management func inserta(p1,p2 var SQL. B Management func insertb(p1,p2 var SQL.... X Management func insertx(p1,p2 var SQL. Grupo de Ingeniería del Software 12

14 y Sistemas Ináticos Retriveve Retriveve data data Make null Make null session session values values Implement Implement features (e.g. features (e.g. user creation user <!-- <!-- #include #include file file UserMgmnt.inc" UserMgmnt.inc" --> --> Session("" Session("" Session("" Session("" null; null; Session("" Session("" null; null; <html> <html> <head> <head> <title>registration <title>registration result</title> result</title> </head> </head> <body> <body> if(createuser(.name,.address if(createuser(.name,.address id"div_ok"> id"div_ok"> <h1>hello <h1>hello.name.name,, thankyouforregistering</h1> thankyouforregistering</h1> else else else % id div_registration_error > id div_registration_error > Sorry, Sorry, there there is is a a user user that that your your address, address, so so your your registration registration failed. failed. id"div_back"> id"div_back"> Press Press <a <a href"ulario.asp">here</a> href"ulario.asp">here</a> return return the the </body> </body> </html> </html> Grupo de Ingeniería del Software 13

15 y Sistemas Ináticos Management of X func insertx(p1,p2 var SQL. % > Implement data Implement data access logic: access logic: Create Create Retrieve(Select Retrieve(Select Update Update Delete Delete Advanced /* /* Users Users Management Management */ */ Creation: Creation: function function createuser(user,address createuser(user,address resulttrue; resulttrue; usesusersbyaddress(address usesusersbyaddress(address if(users.eof if(users.eof SQL SQL INSERT INSERT INTO INTO Users Users ; ; conserver.createobject( conserver.createobject( "ADODB.Connection" "ADODB.Connection" con.open( con.open( "ProviderMicrosoft.Jet.OLEDB.4.0;" "ProviderMicrosoft.Jet.OLEDB.4.0;" + + "Data "Data Source" Source" + + Server.MapPath( Server.MapPath( "bd/bd.mdb" "bd/bd.mdb" con.execute(sql con.execute(sql This This code code implements implements not not else else data data access access logic logic but but resultfalse resultfalse; false; bussiness bussiness logic. logic. usersnull usersnull; null; return return result; result; Select Select users users : : Duplication function function usersbyaddress(address Duplication of of connection connection usersbyaddress(address data SQL SELECT SQL SELECT * * FROM FROM Users Users ; data / / code code ; SQL+ WHERE SQL+ WHERE Adress` +address+ ; Adress` +address+ ; con ; con ; recordset recordset Server.CreateObject("ADODB.Recordset" Server.CreateObject("ADODB.Recordset" rs.open( rs.open( "SELECT "SELECT ", ", con con return return recordset; recordset; Grupo de Ingeniería del Software 14

16 y Sistemas Ináticos Advanced Usually for each function in the data access & management layer we should: Build SQL command [Optional] Treatment and atting of parameters. Get a connection. Options: Creation and opening directly on the function Get it from Application or Session contexts Connection as parameter of each function SQL command execution If we opened a connection we must close it. [Optional] Error treatment (It could be delegated on the calling code for a more specific handling. return of results.

17 y Sistemas Ináticos Connection Creat./Open. var connection ; var connstr ; connection.open Management of X % > func insertx(p1,p2 var SQL. % > Connection Closing connection.close; connectionnull; % <!-- <!-- #include #include file file OpenDB.inc" OpenDB.inc" --> --> <!-- <!-- #include #include file file UserMgmnt.inc" UserMgmnt.inc" --> --> Session("" Session("" Session("" Session("" null; null; Session("" Session("" null; null; <html> <html> <head> <head> <title>registration <title>registration result</title> result</title> </head> </head> <body> <body> if(createuser(.name,.address,connection if(createuser(.name,.address,connection id"div_ok"> id"div_ok"> <h1>hello <h1>hello.name.name,, thankyouforregistering</h1> thankyouforregistering</h1> else else else % id div_registration_error > id div_registration_error > Sorry, Sorry, there there is is a a user user that that your your address, address, so so your your registration registration failed. failed. id"div_back"> id"div_back"> Press Press <a <a href"ulario.asp">here</a> href"ulario.asp">here</a> return return the the </body> </body> <!-- <!-- #include #include file file CloseDB.inc" CloseDB.inc" --> --> </html> </html>

escuela técnica superior de ingeniería informática

escuela técnica superior de ingeniería informática Tiempo: 2h escuela técnica superior de ingeniería informática Versión original: José Antonio Parejo y Manuel Resinas (diciembre 2008) Última revisión: Amador Durán y David Benavides (diciembre 2006); revisión

More information

The ADO Connection Object is used to create an open connection to a data source. Through this connection, you can access and manipulate a database.

The ADO Connection Object is used to create an open connection to a data source. Through this connection, you can access and manipulate a database. Unit 5: Accessing Databases with ASP and ADO Active Database Object(ADO) ADO represents a collection of objects that, via ASP, you can easily manipulate to gain incredible control over the information

More information

Introduction to PHP (PHP: Hypertext Preprocessor)

Introduction to PHP (PHP: Hypertext Preprocessor) Versión original: Amador Durán Toro y David Benavides (diciembre 2006) Última revisión: José An tonio Parejo, adaptación a PHP y traducción. Tiempo: 2h escuela técnica superior de ingeniería informática

More information

Integrating Web & DBMS. Open Database Connectivity (ODBC) Open Database Connectivity (ODBC) A.Lioy, G.Ramunno - Politecnico di Torino (2010) K-1

Integrating Web & DBMS. Open Database Connectivity (ODBC) Open Database Connectivity (ODBC) A.Lioy, G.Ramunno - Politecnico di Torino (2010) K-1 Integrating Web & DBMS Gianluca Ramunno < ramunno@polito.it > english version created by Marco D. Aime < m.aime@polito.it > Politecnico di Torino Dip. Automatica e Informatica Open Database Connectivity

More information

Password Protect an Access Database

Password Protect an Access Database Access a Password Protected Microsoft Access Database from within Visual Basic 6 Have you ever wanted to password protect an Access Database that is a Data Store (a repository of Data) used in one of your

More information

Design and Implementation of Archives Query System Based on B/S Structure Lianfeng Zhao

Design and Implementation of Archives Query System Based on B/S Structure Lianfeng Zhao Applied Mechanics and Materials Online: 2012-12-13 ISSN: 1662-7482, Vols. 241-244, pp 3098-3102 doi:10.4028/www.scientific.net/amm.241-244.3098 2013 Trans Tech Publications, Switzerland Design and Implementation

More information

4. กก ( Web-based Technology ) (System Development Life Cycle : SDLC) ก ก ก

4. กก ( Web-based Technology ) (System Development Life Cycle : SDLC) ก ก ก 2 ก ก ก ก ก ก ก 1. ก ก ก ก 1.1 ก ก 1.2 ก ก 2. ก ก.NET 3. ก ก ก 4. กก ( Web-based Technology ) 5. ก ก 6. ก ก ก ก ก 1. ก ก ก (System Development Life Cycle: SDLC) ก (System Development Life Cycle : SDLC)

More information

Web-based Apps in.net

Web-based Apps in.net Web-based Apps in.net Objectives Real-world applications are typically multi-tier, distributed designs involving many components the web server being perhaps the most important component in today's applications...

More information

CONTENT S.No Topics Page no

CONTENT S.No Topics Page no CONTENT S.No Topics Page no 1 ASP 2 2 The benefits of ASP 4 3 Basic syntax rule of ASP 5 4 Working with scripting language 5 AD-Rotator 12 6 Explain some HTML forms 15 7 Cookies 22 8 Using Cookies in ASP

More information

22. VB Programming Fundamentals Data Access with Data Objects

22. VB Programming Fundamentals Data Access with Data Objects 22. VB Programming Fundamentals Data Access with Data Objects 22.1 Data Access Object MS Data Access Object (DAO) enables you to use a programming language to access and manipulate data in local or remote

More information

ASP: Active Server Pages

ASP: Active Server Pages & - String Concatenation... 4:9 Block - Location of... 1:4 Tag... 1:3 A Abandon... 11:10 AbsolutePage... 16:7 AbsolutePosition... 16:7 Accessing Array Elements... 3:4 AddHeader... 8:13

More information

Bruce Moore Fall 99 Internship September 23, 1999 Supervised by Dr. John P.

Bruce Moore Fall 99 Internship September 23, 1999 Supervised by Dr. John P. Bruce Moore Fall 99 Internship September 23, 1999 Supervised by Dr. John P. Russo Active Server Pages Active Server Pages are Microsoft s newest server-based technology for building dynamic and interactive

More information

PHP: Hypertext Preprocessor. A tutorial Introduction

PHP: Hypertext Preprocessor. A tutorial Introduction PHP: Hypertext Preprocessor A tutorial Introduction Introduction PHP is a server side scripting language Primarily used for generating dynamic web pages and providing rich web services PHP5 is also evolving

More information

BIS4430 Web-based Information Systems Management. Unit 11 [BIS4430, LU11 version1.0, E.M, 09/07)]

BIS4430 Web-based Information Systems Management. Unit 11 [BIS4430, LU11 version1.0, E.M, 09/07)] SCOPE Context BIS4430 Web-based Information Systems Management Unit 11 [BIS4430, LU11 version1.0, E.M, 09/07)] A fully dynamic e-commerce site must be able to send and retrieve data from the user and some

More information

SQL INJECTION IN WEB APPLICATIONS By Roshmi Choudhury,Officer (IT) Numaligarh Refinery Limited

SQL INJECTION IN WEB APPLICATIONS By Roshmi Choudhury,Officer (IT) Numaligarh Refinery Limited SQL INJECTION IN WEB APPLICATIONS By Roshmi Choudhury,Officer (IT) Numaligarh Refinery Limited Abstract It may be too late to shut the stable door after the horse has been stolen. Most companies in the

More information

ASPFileSaver - File Upload Component

ASPFileSaver - File Upload Component Website: www.aspphotoresizer.com Email: info@aspphotoresizer.com ASPFileSaver - File Upload Component This is an ASP component for saving files that have been uploaded through a browser using the

More information

Active Server Pages Architecture

Active Server Pages Architecture Active Server Pages Architecture Li Yi South Bank University Contents 1. Introduction... 2 1.1 Host-based databases... 2 1.2 Client/server databases... 2 1.3 Web databases... 3 2. Active Server Pages...

More information

Overview of Professional Quest Technologies

Overview of Professional Quest Technologies Overview of Professional Quest Technologies Professional Quest Web Architecture Professional Quest's utilizes a number of industry standard components in its web architecture. Server Web Pages For the

More information

Software Code Performance Review Saple

Software Code Performance Review Saple Software Code Performance Review Saple Table of Contents Executive Summary 2 Scope of Review 2 Recommendations for Short Term Fixes 2 Page/Scripting Issues 2 Missing Response Buffering 2 Not Using Option

More information

Cascade Stylesheets (CSS)

Cascade Stylesheets (CSS) Previous versions: David Benavides and Amador Durán Toro (noviembre 2006) Last revision: Manuel Resinas (october 2007) Tiempo: 2h escuela técnica superior de ingeniería informática Departamento de Lenguajes

More information

Internet Server Application Programming Interface. Objects Model. Application. Objects. Directives. Events. Collections. Methods

Internet Server Application Programming Interface. Objects Model. Application. Objects. Directives. Events. Collections. Methods Active Server Pages (ASP) 1 Content Internet Server Application Programming Interface ASP Objects Model Properties, Collections, Methods, Events ActiveX Data Objects Examples 2 Sources Weissinger A. Keyton.

More information

ODBC Client Driver PTC Inc. All Rights Reserved.

ODBC Client Driver PTC Inc. All Rights Reserved. 2017 PTC Inc. All Rights Reserved. 2 Table of Contents 1 Table of Contents 2 4 Overview 4 External Dependencies 4 Setup 5 Channel Properties General 5 Channel Properties Write Optimizations 6 Channel Properties

More information

Creating Data Driven Websites with Dreamweaver MX 2004: Using ColdFusion MX, ASP 3.0 or ASP.NET

Creating Data Driven Websites with Dreamweaver MX 2004: Using ColdFusion MX, ASP 3.0 or ASP.NET Creating Data Driven Websites with Dreamweaver MX 2004: Using ColdFusion MX, ASP 3.0 or ASP.NET Published by Scott Antall Consulting and Internet Training http://www.scottantall.com/ 2.0.0 Copyright 2004

More information

INTRODUCTION TO JDBC - Revised spring

INTRODUCTION TO JDBC - Revised spring INTRODUCTION TO JDBC - Revised spring 2004 - 1 What is JDBC? Java Database Connectivity (JDBC) is a package in the Java programming language and consists of several Java classes that deal with database

More information

CERTIFICATE IN WEB PROGRAMMING

CERTIFICATE IN WEB PROGRAMMING COURSE DURATION: 6 MONTHS CONTENTS : CERTIFICATE IN WEB PROGRAMMING 1. PROGRAMMING IN C and C++ Language 2. HTML/CSS and JavaScript 3. PHP and MySQL 4. Project on Development of Web Application 1. PROGRAMMING

More information

Creating Data Driven Websites with Dreamweaver CS4: Using ColdFusion, PHP or ASP

Creating Data Driven Websites with Dreamweaver CS4: Using ColdFusion, PHP or ASP Creating Data Driven Websites with Dreamweaver CS4: Using ColdFusion, PHP or ASP published by Antall Training http://www.scottantall.com info@scottantall.com 440/623-3738 1.0.0 Copyright 2003-2009 Antall

More information

151 Mixed bag of HOTS questions from VB 15 A VB program accepts a number in a text box and rounds the number to 0 decimal places. Write the VB code under the button cmdround to achieve this feature. Do

More information

Dynamically build connection objects for Microsoft Access databases in SQL Server Integration Services SSIS

Dynamically build connection objects for Microsoft Access databases in SQL Server Integration Services SSIS Dynamically build connection objects for Microsoft Access databases in SQL Server Integration Services SSIS Problem As a portion of our daily data upload process, we receive data in the form of Microsoft

More information

INTRODUCTION TO JDBC - Revised Spring

INTRODUCTION TO JDBC - Revised Spring INTRODUCTION TO JDBC - Revised Spring 2006 - 1 What is JDBC? Java Database Connectivity (JDBC) is an Application Programmers Interface (API) that defines how a Java program can connect and exchange data

More information

Course 20461C: Querying Microsoft SQL Server

Course 20461C: Querying Microsoft SQL Server Course 20461C: Querying Microsoft SQL Server Audience Profile About this Course This course is the foundation for all SQL Serverrelated disciplines; namely, Database Administration, Database Development

More information

Querying Data with Transact-SQL

Querying Data with Transact-SQL Querying Data with Transact-SQL Código del curso: 20761 Duración: 5 días Acerca de este curso This course is designed to introduce students to Transact-SQL. It is designed in such a way that the first

More information

EXPERT TRAINING PROGRAM [QTP/ALM]

EXPERT TRAINING PROGRAM [QTP/ALM] EXPERT TRAINING PROGRAM [QTP/ALM] COURSE OVERVIEW Automation and Automation Concepts Introduction to Test Automation Test Automation Truths or Myths Where to use Test Automation and Where Not Test Automation

More information

Web Application Development (WAD) V th Sem BBAITM (Unit 4) By: Binit Patel

Web Application Development (WAD) V th Sem BBAITM (Unit 4) By: Binit Patel Web Application Development (WAD) V th Sem BBAITM (Unit 4) By: Binit Patel Working with Forms: A very popular way to make a web site interactive is using HTML based forms by the site. Using HTML forms,

More information

Guide to Database Interaction from InstallShield for MySQL

Guide to Database Interaction from InstallShield for MySQL A SankalpLabs White Paper October 5, 2010 Guide to Database Interaction from InstallShield for MySQL Author- Ashish Agarwal Page 1 of 7 Introduction InstallShield is the packaging software which helps

More information

Web Database Programming

Web Database Programming Web Database Programming Web Database Programming 2011 Created: 2011-01-21 Last update: 2014-01-14 Contents Introduction... 2 Use EasyDataSet as Data Source... 2 Add EasyDataSet to web page... 3 Make Database

More information

CISC 1600 Lecture 2.4 Introduction to JavaScript

CISC 1600 Lecture 2.4 Introduction to JavaScript CISC 1600 Lecture 2.4 Introduction to JavaScript Topics: Javascript overview The DOM Variables and objects Selection and Repetition Functions A simple animation What is JavaScript? JavaScript is not Java

More information

Contents. Chapter 1 Introducing ADO.NET...1. Acknowledgments...xiii. About the Authors...xv. Introduction...xix

Contents. Chapter 1 Introducing ADO.NET...1. Acknowledgments...xiii. About the Authors...xv. Introduction...xix Acknowledgments...xiii About the Authors...xv Introduction...xix Chapter 1 Introducing ADO.NET...1 How We Got Here...2 What Do These Changes Mean?...5 ADO.NET A New Beginning...7 Comparing ADOc and ADO.NET...8

More information

CSC Web Programming. Introduction to JavaScript

CSC Web Programming. Introduction to JavaScript CSC 242 - Web Programming Introduction to JavaScript JavaScript JavaScript is a client-side scripting language the code is executed by the web browser JavaScript is an embedded language it relies on its

More information

Tema 5 JavaScript JavaScriptand and

Tema 5 JavaScript JavaScriptand and Versión original: Amador Durán, David Benavides y Pablo Fernandez (noviembre 2006) Última revisión: Manuel Resinas (noviembre 2007); Reestructuración de contenido. Tiempo: 4h [Ángel US V7] Diseño: Amador

More information

After completing this course, participants will be able to:

After completing this course, participants will be able to: Querying SQL Server T h i s f i v e - d a y i n s t r u c t o r - l e d c o u r s e p r o v i d e s p a r t i c i p a n t s w i t h t h e t e c h n i c a l s k i l l s r e q u i r e d t o w r i t e b a

More information

ASP/COM+ Web Development Using Team Developer

ASP/COM+ Web Development Using Team Developer ASP/COM+ Web Development Using Team Developer Unify Corporation 2 Table of Contents Abstract...3 General Overview of ASP...4 ASP and COM...7 COM+ Debugging and ASP...14 Requirements...14 3 Abstract ASP

More information

Infotek Solutions Inc.

Infotek Solutions Inc. Infotek Solutions Inc. Read Data from Database and input in Flight Reservation login logout and add Check point in QTP: In this tutorial we will read data from mysql database and give the input to login

More information

Flask Web Development Course Catalog

Flask Web Development Course Catalog Flask Web Development Course Catalog Enhance Your Contribution to the Business, Earn Industry-recognized Accreditations, and Develop Skills that Help You Advance in Your Career March 2018 www.iotintercon.com

More information

Web Application & Web Server Vulnerabilities Assessment Pankaj Sharma

Web Application & Web Server Vulnerabilities Assessment Pankaj Sharma Web Application & Web Server Vulnerabilities Assessment Pankaj Sharma Indian Computer Emergency Response Team ( CERT - IN ) Department Of Information Technology 1 Agenda Introduction What are Web Applications?

More information

Querying Microsoft SQL Server

Querying Microsoft SQL Server Querying Microsoft SQL Server 20461D; 5 days, Instructor-led Course Description This 5-day instructor led course provides students with the technical skills required to write basic Transact SQL queries

More information

Querying Microsoft SQL Server 2008/2012

Querying Microsoft SQL Server 2008/2012 Querying Microsoft SQL Server 2008/2012 Course 10774A 5 Days Instructor-led, Hands-on Introduction This 5-day instructor led course provides students with the technical skills required to write basic Transact-SQL

More information

COURSE OUTLINE: Querying Microsoft SQL Server

COURSE OUTLINE: Querying Microsoft SQL Server Course Name 20461 Querying Microsoft SQL Server Course Duration 5 Days Course Structure Instructor-Led (Classroom) Course Overview This 5-day instructor led course provides students with the technical

More information

6.1 Understand Relational Database Management Systems

6.1 Understand Relational Database Management Systems L E S S O N 6 6.1 Understand Relational Database Management Systems 6.2 Understand Database Query Methods 6.3 Understand Database Connection Methods MTA Software Fundamentals 6 Test L E S S O N 6. 1 Understand

More information

Querying Microsoft SQL Server

Querying Microsoft SQL Server Course Code: M20461 Vendor: Microsoft Course Overview Duration: 5 RRP: POA Querying Microsoft SQL Server Overview This 5-day instructor led course provides delegates with the technical skills required

More information

C# Programming: From Problem Analysis to Program Design 2nd Edition. David McDonald, Ph.D. Director of Emerging Technologies. Objectives (1 of 2)

C# Programming: From Problem Analysis to Program Design 2nd Edition. David McDonald, Ph.D. Director of Emerging Technologies. Objectives (1 of 2) 13 Database Using Access ADO.NET C# Programming: From Problem Analysis to Program Design 2nd Edition David McDonald, Ph.D. Director of Emerging Technologies Objectives (1 of 2) Retrieve and display data

More information

Account & Resource Management in the Enterprise - Needs and Solutions.

Account & Resource Management in the Enterprise - Needs and Solutions. Account & Resource Management in the Enterprise - Needs and Solutions rene.altorfer@algacom.ch raphael.carruzzo@algacom.ch Agenda User Management Group Management Helpdesk Solution Framework aaps - an

More information

"Charting the Course... MOC C: Querying Data with Transact-SQL. Course Summary

Charting the Course... MOC C: Querying Data with Transact-SQL. Course Summary Course Summary Description This course is designed to introduce students to Transact-SQL. It is designed in such a way that the first three days can be taught as a course to students requiring the knowledge

More information

PHP CURRICULUM 6 WEEKS

PHP CURRICULUM 6 WEEKS PHP CURRICULUM 6 WEEKS Hands-On Training In this course, you develop PHP scripts to perform a variety to takes, culminating in the development of a full database-driven Web page. Exercises include: Accessing

More information

Tips and Tricks for Spotfire DecisionSite Tool Developers 2004 Spotfire User Conference 12-oct Herwig Van Marck, PhD Principal Scientist

Tips and Tricks for Spotfire DecisionSite Tool Developers 2004 Spotfire User Conference 12-oct Herwig Van Marck, PhD Principal Scientist Tips and Tricks for Spotfire DecisionSite Tool Developers 2004 Spotfire User Conference 12-oct-2004 Herwig Van Marck, PhD Principal Scientist Overview Self-modifying HTML scripting code Using the import

More information

20761 Querying Data with Transact SQL

20761 Querying Data with Transact SQL Course Overview The main purpose of this course is to give students a good understanding of the Transact-SQL language which is used by all SQL Server-related disciplines; namely, Database Administration,

More information

QUERYING MICROSOFT SQL SERVER COURSE OUTLINE. Course: 20461C; Duration: 5 Days; Instructor-led

QUERYING MICROSOFT SQL SERVER COURSE OUTLINE. Course: 20461C; Duration: 5 Days; Instructor-led CENTER OF KNOWLEDGE, PATH TO SUCCESS Website: QUERYING MICROSOFT SQL SERVER Course: 20461C; Duration: 5 Days; Instructor-led WHAT YOU WILL LEARN This 5-day instructor led course provides students with

More information

Microsoft Querying Data with Transact-SQL - Performance Course

Microsoft Querying Data with Transact-SQL - Performance Course 1800 ULEARN (853 276) www.ddls.com.au Microsoft 20761 - Querying Data with Transact-SQL - Performance Course Length 4 days Price $4290.00 (inc GST) Version C Overview This course is designed to introduce

More information

1) Identify the recording mode, by which you can record the non-standard object in QTP

1) Identify the recording mode, by which you can record the non-standard object in QTP 1) Identify the recording mode, by which you can record the non-standard object in QTP A) Standard recording B) Analog recording C) Low level recording D) None 2) By default, how many no of tables would

More information

Active Server Pages: Technology for Creating Dynamic Web Pages and Webenabled

Active Server Pages: Technology for Creating Dynamic Web Pages and Webenabled Workshop on Multimedia and Internet Technologies 26 th -28 th February, 2001 DRTC, Bangalore Active Server Pages: Technology for Creating Dynamic Web Pages and Webenabled Databases Documentation Research

More information

Querying Microsoft SQL Server 2012/2014

Querying Microsoft SQL Server 2012/2014 Page 1 of 14 Overview This 5-day instructor led course provides students with the technical skills required to write basic Transact-SQL queries for Microsoft SQL Server 2014. This course is the foundation

More information

Connecting BioNumerics to MySQL

Connecting BioNumerics to MySQL Connecting BioNumerics to MySQL A brief overview Applied Maths NV - KJ February 2010 MySQL server side MySQL settings file MySQL is a very flexible DBMS and has quite a number of settings that allows one

More information

Development Technologies. Agenda: phpmyadmin 2/20/2016. phpmyadmin MySQLi. Before you can put your data into a table, that table should exist.

Development Technologies. Agenda: phpmyadmin 2/20/2016. phpmyadmin MySQLi. Before you can put your data into a table, that table should exist. CIT 736: Internet and Web Development Technologies Lecture 10 Dr. Lupiana, DM FCIM, Institute of Finance Management Semester 1, 2016 Agenda: phpmyadmin MySQLi phpmyadmin Before you can put your data into

More information

Dot Net Online Training

Dot Net Online Training chakraitsolutions.com http://chakraitsolutions.com/dotnet-online-training/ Dot Net Online Training DOT NET Online Training CHAKRA IT SOLUTIONS TO LEARN ABOUT OUR UNIQUE TRAINING PROCESS: Title : Dot Net

More information

Visual Programming 1. What is Visual Basic? 2. What are different Editions available in VB? 3. List the various features of VB

Visual Programming 1. What is Visual Basic? 2. What are different Editions available in VB? 3. List the various features of VB Visual Programming 1. What is Visual Basic? Visual Basic is a powerful application development toolkit developed by John Kemeny and Thomas Kurtz. It is a Microsoft Windows Programming language. Visual

More information

<body> <form id="myform" name="myform"> <!-- form child elements go in here --> </form> </body>

<body> <form id=myform name=myform> <!-- form child elements go in here --> </form> </body> ITEC 136 Business Programming Concepts Week 08, Part 01 Overview 1 Week 7 Review Sentinel controlled loops Results controlled loops Flag controlled loops break and continue keywords Nested loops Loop variable

More information

DR B.R.AMBEDKAR UNIVERSITY B.Sc.(Computer Science): III Year THEORY PAPER IV (Elective 4) PHP, MySQL and Apache

DR B.R.AMBEDKAR UNIVERSITY B.Sc.(Computer Science): III Year THEORY PAPER IV (Elective 4) PHP, MySQL and Apache DR B.R.AMBEDKAR UNIVERSITY B.Sc.(Computer Science): III Year THEORY PAPER IV (Elective 4) PHP, MySQL and Apache 90 hrs (3 hrs/ week) Unit-1 : Installing and Configuring MySQL, Apache and PHP 20 hrs Installing

More information

C++ (Non for C Programmer) (BT307) 40 Hours

C++ (Non for C Programmer) (BT307) 40 Hours C++ (Non for C Programmer) (BT307) 40 Hours Overview C++ is undoubtedly one of the most widely used programming language for implementing object-oriented systems. The C++ language is based on the popular

More information

How do you access an SQL database in WinCC Runtime Advanced using a script?

How do you access an SQL database in WinCC Runtime Advanced using a script? FAQ 03/2017 How do you access an SQL database in WinCC Runtime Advanced using a script? SIMATIC WinCC Advanced, SIMATIC WinCC Runtime Advanced https://support.industry.siemens.com/cs/ww/en/view/61883659

More information

Model Exam (Marking Scheme) Class XII Subject: Multimedia & Web Technology

Model Exam (Marking Scheme) Class XII Subject: Multimedia & Web Technology Model Exam-1-2016(Marking Scheme) Class XII Subject: Multimedia & Web Technology SET-A Max. Marks : 70 Duration : 3 hrs. 1. Question based On Database Concept a) Differentiate between : (0.5x2) Design

More information

Discuss setting up JDBC connectivity. Demonstrate a JDBC program Discuss and demonstrate methods associated with JDBC connectivity

Discuss setting up JDBC connectivity. Demonstrate a JDBC program Discuss and demonstrate methods associated with JDBC connectivity Objectives Discuss setting up JDBC connectivity. Demonstrate a JDBC program Discuss and demonstrate methods associated with JDBC connectivity Setting Up JDBC Before you can begin to utilize JDBC, you must

More information

Design and Implement of Laboratory Management System based Web Zheng-Bo LI School of Economic Management, Beihua University, Jilin , China.

Design and Implement of Laboratory Management System based Web Zheng-Bo LI School of Economic Management, Beihua University, Jilin , China. Advances in Engineering Research (AER), volume 82 2016 International Conference on Engineering and Advanced Technology (ICEAT-16) Design and Implement of Laboratory Management System based Web Zheng-Bo

More information

Database Technology. Topic 6: Triggers and Stored Procedures

Database Technology. Topic 6: Triggers and Stored Procedures Topic 6: Triggers and Stored Procedures Olaf Hartig olaf.hartig@liu.se Triggers What are Triggers? Specify actions to be performed by the DBMS when certain events and conditions occur Used to monitor the

More information

NEOGRID USER MANUAL (VERSION )

NEOGRID USER MANUAL (VERSION ) USER MANUAL (VERSION 1.0.2.5) NEOGRID Contents I. What is NeoGrid?... 2 II. How to Obtain the CRM Solution... 2 III. How to Install the CRM Solution... 3 IV. How to Create a New Editable Grid... 3 Quickly

More information

STORED PROCEDURE AND TRIGGERS

STORED PROCEDURE AND TRIGGERS STORED PROCEDURE AND TRIGGERS EGCO321 DATABASE SYSTEMS KANAT POOLSAWASD DEPARTMENT OF COMPUTER ENGINEERING MAHIDOL UNIVERSITY STORED PROCEDURES MySQL is known as the most popular open source RDBMS which

More information

Course Outline. Querying Data with Transact-SQL Course 20761B: 5 days Instructor Led

Course Outline. Querying Data with Transact-SQL Course 20761B: 5 days Instructor Led Querying Data with Transact-SQL Course 20761B: 5 days Instructor Led About this course This course is designed to introduce students to Transact-SQL. It is designed in such a way that the first three days

More information

INTRODUCTION TO.NET. Domain of.net D.N.A. Architecture One Tier Two Tier Three Tier N-Tier THE COMMON LANGUAGE RUNTIME (C.L.R.)

INTRODUCTION TO.NET. Domain of.net D.N.A. Architecture One Tier Two Tier Three Tier N-Tier THE COMMON LANGUAGE RUNTIME (C.L.R.) INTRODUCTION TO.NET Domain of.net D.N.A. Architecture One Tier Two Tier Three Tier N-Tier THE COMMON LANGUAGE RUNTIME (C.L.R.) CLR Architecture and Services The.Net Intermediate Language (IL) Just- In-

More information

20461: Querying Microsoft SQL Server 2014 Databases

20461: Querying Microsoft SQL Server 2014 Databases Course Outline 20461: Querying Microsoft SQL Server 2014 Databases Module 1: Introduction to Microsoft SQL Server 2014 This module introduces the SQL Server platform and major tools. It discusses editions,

More information

STEP 1: CREATING THE DATABASE

STEP 1: CREATING THE DATABASE Date: 18/02/2013 Procedure: Creating a simple registration form in ASP.NET (Programming) Source: LINK Permalink: LINK Created by: HeelpBook Staff Document Version: 1.0 CREATING A SIMPLE REGISTRATION FORM

More information

ADF Mobile Code Corner

ADF Mobile Code Corner ADF Mobile Code Corner m05. Caching WS queried data local for create, read, update with refresh from DB and offline capabilities Abstract: The current version of ADF Mobile supports three ADF data controls:

More information

PHÁT TRIỂN ỨNG DỤNG WEB

PHÁT TRIỂN ỨNG DỤNG WEB Bài giảng PHÁT TRIỂN ỨNG DỤNG WEB Lê Đình Thanh Bộ môn Mạng và Truyền thông Máy tính Khoa Công nghệ Thông tin Trường Đại học Công nghệ, ĐHQGHN E-mail: thanhld@vnu.edu.vn, thanhld.vnuh@gmail.com Mobile:

More information

Querying Data with Transact-SQL

Querying Data with Transact-SQL Querying Data with Transact-SQL 20761B; 5 Days; Instructor-led Course Description This course is designed to introduce students to Transact-SQL. It is designed in such a way that the first three days can

More information

Current trends: Scripting (I) A bid part of interface design centers around dialogs

Current trends: Scripting (I) A bid part of interface design centers around dialogs Current trends: Scripting (I) A bid part of interface design centers around dialogs that a system has with a user of the system These dialogs follow what is usually called a "script", i.e. a sequence of

More information

2017 Politecnico di Torino 1

2017 Politecnico di Torino 1 SQL for the applications Call Level Interface Requests are sent to the DBMS through functions of the host language solution based on predefined interfaces API, Application Programming Interface SQL instructions

More information

2017 Politecnico di Torino 1

2017 Politecnico di Torino 1 SQL for the applications Call Level Interface Requests are sent to the DBMS through functions of the host language solution based on predefined interfaces API, Application Programming Interface SQL instructions

More information

20761B: QUERYING DATA WITH TRANSACT-SQL

20761B: QUERYING DATA WITH TRANSACT-SQL ABOUT THIS COURSE This 5 day course is designed to introduce students to Transact-SQL. It is designed in such a way that the first three days can be taught as a course to students requiring the knowledge

More information

Mobile MOUSe ADO.NET FOR DEVELOPERS PART 1 ONLINE COURSE OUTLINE

Mobile MOUSe ADO.NET FOR DEVELOPERS PART 1 ONLINE COURSE OUTLINE Mobile MOUSe ADO.NET FOR DEVELOPERS PART 1 ONLINE COURSE OUTLINE COURSE TITLE ADO.NET FOR DEVELOPERS PART 1 COURSE DURATION 14 Hour(s) of Interactive Training COURSE OVERVIEW ADO.NET is Microsoft's latest

More information

DOT NET Syllabus (6 Months)

DOT NET Syllabus (6 Months) DOT NET Syllabus (6 Months) THE COMMON LANGUAGE RUNTIME (C.L.R.) CLR Architecture and Services The.Net Intermediate Language (IL) Just- In- Time Compilation and CLS Disassembling.Net Application to IL

More information

Manual Vba Access 2010 Recordset Findfirst

Manual Vba Access 2010 Recordset Findfirst Manual Vba Access 2010 Recordset Findfirst The Recordset property returns the recordset object that provides the data being browsed in a form, report, list box control, or combo box control. If a form.

More information

Connect Databases to AutoCAD with dbconnect Nate Bartley Test Development Engineer autodesk, inc.

Connect Databases to AutoCAD with dbconnect Nate Bartley Test Development Engineer autodesk, inc. Connect Databases to AutoCAD with dbconnect Nate Bartley Test Development Engineer autodesk, inc. GD22-4 1 2 Agenda Introduction Overview of dbconnect Configure a data source Connect database to AutoCAD

More information

Introduction to Computer Science and Business

Introduction to Computer Science and Business Introduction to Computer Science and Business The Database Programming with PL/SQL course introduces students to the procedural language used to extend SQL in a programatic manner. This course outline

More information

Embarcadero Rapid SQL

Embarcadero Rapid SQL Product Documentation Embarcadero Rapid SQL New Features Guide Version 8.7.2/XE6 Published Dec., 2014 2014 Embarcadero Technologies, Inc. Embarcadero, the Embarcadero Technologies logos, and all other

More information

Meet MariaDB Vicențiu Ciorbaru Software MariaDB Foundation * * 2017 MariaDB Foundation

Meet MariaDB Vicențiu Ciorbaru Software MariaDB Foundation * * 2017 MariaDB Foundation Meet MariaDB 10.3 Vicențiu Ciorbaru Software Engineer @ MariaDB Foundation vicentiu@mariadb.org * * What is MariaDB? MariaDB 5.1 (Feb 2010) - Making builds free MariaDB 5.2 (Nov 2010) - Community features

More information

Lesson 13 Transcript: User-Defined Functions

Lesson 13 Transcript: User-Defined Functions Lesson 13 Transcript: User-Defined Functions Slide 1: Cover Welcome to Lesson 13 of DB2 ON CAMPUS LECTURE SERIES. Today, we are going to talk about User-defined Functions. My name is Raul Chong, and I'm

More information

GUI Innovations Limited, 2004

GUI Innovations Limited, 2004 GUI Innovations Limited SqlLinkCE GUI Innovations Limited, 2004 p1 Table of Contents Contents 3 Introduction 3 Command Line Parameters 5 Running SqlLinkCEServer as a service 6 Sample GUIInnovationsService.ini

More information

Table of Contents. PDF created with FinePrint pdffactory Pro trial version

Table of Contents. PDF created with FinePrint pdffactory Pro trial version Table of Contents Course Description The SQL Course covers relational database principles and Oracle concepts, writing basic SQL statements, restricting and sorting data, and using single-row functions.

More information

PHP + ANGULAR4 CURRICULUM 6 WEEKS

PHP + ANGULAR4 CURRICULUM 6 WEEKS PHP + ANGULAR4 CURRICULUM 6 WEEKS Hands-On Training In this course, you develop PHP scripts to perform a variety to takes, culminating in the development of a full database-driven Web page. Exercises include:

More information

An Introduction to Stored Procedures in MySQL 5 by Federico Leven6 Apr 2011

An Introduction to Stored Procedures in MySQL 5 by Federico Leven6 Apr 2011 An Introduction to Stored Procedures in MySQL 5 by Federico Leven6 Apr 21 MySQL 5 introduced a plethora of new features - stored procedures being one of the most significant. In this tutorial, we will

More information

PROCEDURAL DATABASE PROGRAMMING ( PL/SQL AND T-SQL)

PROCEDURAL DATABASE PROGRAMMING ( PL/SQL AND T-SQL) Technology & Information Management Instructor: Michael Kremer, Ph.D. Class 4 Database Programming PROCEDURAL DATABASE PROGRAMMING ( PL/SQL AND T-SQL) AGENDA 6. Stored Functions Procedural Database Programming

More information

Transbase R PHP Module

Transbase R PHP Module Transbase R PHP Module Transaction Software GmbH Willy-Brandt-Allee 2 D-81829 München Germany Phone: +49-89-62709-0 Fax: +49-89-62709-11 Email: info@transaction.de http://www.transaction.de Version 7.1.2.30

More information

Tutorial: Using Java/JSP to Write a Web API

Tutorial: Using Java/JSP to Write a Web API Tutorial: Using Java/JSP to Write a Web API Contents 1. Overview... 1 2. Download and Install the Sample Code... 2 3. Study Code From the First JSP Page (where most of the code is in the JSP Page)... 3

More information