Course XXX-07 - Whil Hentzen · Visual FoxPro DevCon 98 Course XXX-07 Using Visual InterDev and VFP...

22
Visual FoxPro DevCon 98 Course XXX-07 Using Visual InterDev and VFP Whil Hentzen Whil Hentzen Hentzenwerke Corporation Hentzenwerke Corporation

Transcript of Course XXX-07 - Whil Hentzen · Visual FoxPro DevCon 98 Course XXX-07 Using Visual InterDev and VFP...

Page 1: Course XXX-07 - Whil Hentzen · Visual FoxPro DevCon 98 Course XXX-07 Using Visual InterDev and VFP ... You send changes to master ... Slide Title Author: Suzanne Wieser

Visual FoxPro DevCon 98

Course XXX-07

Using Visual InterDev and VFP

Whil HentzenWhil Hentzen

Hentzenwerke CorporationHentzenwerke Corporation

Page 2: Course XXX-07 - Whil Hentzen · Visual FoxPro DevCon 98 Course XXX-07 Using Visual InterDev and VFP ... You send changes to master ... Slide Title Author: Suzanne Wieser

Visual FoxPro DevCon 98

About Me

Hentzenwerke Corp. (15 yrs)Hentzenwerke Corp. (15 yrs) Editor, FoxTalkEditor, FoxTalk Author (6 books), including VFP Author (6 books), including VFP

6 Fundamentals & 1999 6 Fundamentals & 1999 DevGuideDevGuide

Publisher, The Essentials for VFP Publisher, The Essentials for VFP 66

Awesome wife & 3 (so far) kidsAwesome wife & 3 (so far) kids

Page 3: Course XXX-07 - Whil Hentzen · Visual FoxPro DevCon 98 Course XXX-07 Using Visual InterDev and VFP ... You send changes to master ... Slide Title Author: Suzanne Wieser

Visual FoxPro DevCon 98

Session Goals Provide a framework and Provide a framework and

structure to create web-based structure to create web-based database applicationsdatabase applications

Provide a quick start through the Provide a quick start through the laborious installation and setup laborious installation and setup processprocess

Provide a straight-line path to Provide a straight-line path to follow for your first appsfollow for your first apps

Page 4: Course XXX-07 - Whil Hentzen · Visual FoxPro DevCon 98 Course XXX-07 Using Visual InterDev and VFP ... You send changes to master ... Slide Title Author: Suzanne Wieser

Visual FoxPro DevCon 98

Session Requirements Rudimentary knowledge of VFP Rudimentary knowledge of VFP

programmingprogramming No prior knowledge of Visual No prior knowledge of Visual

InterdevInterdev End-user experience with the End-user experience with the

WebWeb

Page 5: Course XXX-07 - Whil Hentzen · Visual FoxPro DevCon 98 Course XXX-07 Using Visual InterDev and VFP ... You send changes to master ... Slide Title Author: Suzanne Wieser

Visual FoxPro DevCon 98

Session Roadmap ASP demoASP demo Server side access to dataServer side access to data Production and development site Production and development site

plumbingplumbing Up close and personal with VIUp close and personal with VI Connecting to data through VIConnecting to data through VI Advanced capabilitiesAdvanced capabilities Where to go nextWhere to go next

Page 6: Course XXX-07 - Whil Hentzen · Visual FoxPro DevCon 98 Course XXX-07 Using Visual InterDev and VFP ... You send changes to master ... Slide Title Author: Suzanne Wieser

Visual FoxPro DevCon 98

Where Are We Going?

Web site demoWeb site demo QueryQuery Edit and manipulateEdit and manipulate Add/deleteAdd/delete

Page 7: Course XXX-07 - Whil Hentzen · Visual FoxPro DevCon 98 Course XXX-07 Using Visual InterDev and VFP ... You send changes to master ... Slide Title Author: Suzanne Wieser

Visual FoxPro DevCon 98

Server Access to Data Browser (client) sends request to Browser (client) sends request to

webserverwebserver Webserver sends request to Webserver sends request to

database serverdatabase server Database server dishes up data Database server dishes up data

to webserverto webserver Webserver returns results to Webserver returns results to

clientclient What’s wrong with this picture?What’s wrong with this picture?

Page 8: Course XXX-07 - Whil Hentzen · Visual FoxPro DevCon 98 Course XXX-07 Using Visual InterDev and VFP ... You send changes to master ... Slide Title Author: Suzanne Wieser

Visual FoxPro DevCon 98

Plumbing Data access architectureData access architecture Production site requirementsProduction site requirements Development softwareDevelopment software HintsHints

Page 9: Course XXX-07 - Whil Hentzen · Visual FoxPro DevCon 98 Course XXX-07 Using Visual InterDev and VFP ... You send changes to master ... Slide Title Author: Suzanne Wieser

Visual FoxPro DevCon 98

Plumbing Data access architectureData access architecture

Can access any data with ADOCan access any data with ADO Separate database server optionalSeparate database server optional

Client requirementsClient requirements BrowserBrowser

Page 10: Course XXX-07 - Whil Hentzen · Visual FoxPro DevCon 98 Course XXX-07 Using Visual InterDev and VFP ... You send changes to master ... Slide Title Author: Suzanne Wieser

Visual FoxPro DevCon 98

Plumbing Production siteProduction site

NT4, SP3, OPNT4, SP3, OP IE4IE4 VS6VS6 FP extensionsFP extensions Where to get this stuff?Where to get this stuff?

Page 11: Course XXX-07 - Whil Hentzen · Visual FoxPro DevCon 98 Course XXX-07 Using Visual InterDev and VFP ... You send changes to master ... Slide Title Author: Suzanne Wieser

Visual FoxPro DevCon 98

Plumbing Development site - ServerDevelopment site - Server

NT4, SP3, OPNT4, SP3, OP IE4IE4 VS6VS6 FP extensionsFP extensions

Development site - WorkstationDevelopment site - Workstation SameSame VI - VFP - FP - MSDNVI - VFP - FP - MSDN

Where to get this stuff?Where to get this stuff?

Page 12: Course XXX-07 - Whil Hentzen · Visual FoxPro DevCon 98 Course XXX-07 Using Visual InterDev and VFP ... You send changes to master ... Slide Title Author: Suzanne Wieser

Visual FoxPro DevCon 98

Plumbing Hints…Hints…

Start with a clean installStart with a clean install Mentally prepare for multiple Mentally prepare for multiple

installsinstalls Document what you do and what Document what you do and what

you have doneyou have done

Page 13: Course XXX-07 - Whil Hentzen · Visual FoxPro DevCon 98 Course XXX-07 Using Visual InterDev and VFP ... You send changes to master ... Slide Title Author: Suzanne Wieser

Visual FoxPro DevCon 98

What is Visual InterDev, Anyway?

IDE and tools to build database IDE and tools to build database applications for the Webapplications for the Web

Data environmentData environment Database project toolsDatabase project tools Inherently multi-developer!Inherently multi-developer!

Page 14: Course XXX-07 - Whil Hentzen · Visual FoxPro DevCon 98 Course XXX-07 Using Visual InterDev and VFP ... You send changes to master ... Slide Title Author: Suzanne Wieser

Visual FoxPro DevCon 98

The VI Interface and Tools

ToolboxToolbox Multiple tabsMultiple tabs

Project explorerProject explorer Property windowProperty window HTML editorHTML editor

Multiple viewsMultiple views

Page 15: Course XXX-07 - Whil Hentzen · Visual FoxPro DevCon 98 Course XXX-07 Using Visual InterDev and VFP ... You send changes to master ... Slide Title Author: Suzanne Wieser

Visual FoxPro DevCon 98

Visual InterDev Structure

PlumbingPlumbing Server and WS have mirrored sitesServer and WS have mirrored sites You work on localYou work on local You send changes to masterYou send changes to master Development tools on localDevelopment tools on local VI handles updating and conflictsVI handles updating and conflicts

Page 16: Course XXX-07 - Whil Hentzen · Visual FoxPro DevCon 98 Course XXX-07 Using Visual InterDev and VFP ... You send changes to master ... Slide Title Author: Suzanne Wieser

Visual FoxPro DevCon 98

Visual InterDev Structure

Application HierarchyApplication Hierarchy SolutionSolution Project(s)Project(s) Start pageStart page GLOBAL.ASAGLOBAL.ASA ComponentsComponents DataData

Page 17: Course XXX-07 - Whil Hentzen · Visual FoxPro DevCon 98 Course XXX-07 Using Visual InterDev and VFP ... You send changes to master ... Slide Title Author: Suzanne Wieser

Visual FoxPro DevCon 98

Creating a Project

File, New ProjectFile, New Project WizardWizard Where is that server?Where is that server? Master vs. localMaster vs. local Copying filesCopying files Create and identify start pageCreate and identify start page

Page 18: Course XXX-07 - Whil Hentzen · Visual FoxPro DevCon 98 Course XXX-07 Using Visual InterDev and VFP ... You send changes to master ... Slide Title Author: Suzanne Wieser

Visual FoxPro DevCon 98

Connecting to Data

Add a data connection to projectAdd a data connection to project Add a data command to projectAdd a data command to project Drag command to pageDrag command to page Drag fields to pageDrag fields to page PropertiesProperties RunRun

Page 19: Course XXX-07 - Whil Hentzen · Visual FoxPro DevCon 98 Course XXX-07 Using Visual InterDev and VFP ... You send changes to master ... Slide Title Author: Suzanne Wieser

Visual FoxPro DevCon 98

Manipulating Data Manipulating existing dataManipulating existing data EditingEditing Adding/deletingAdding/deleting ScriptScript

Page 20: Course XXX-07 - Whil Hentzen · Visual FoxPro DevCon 98 Course XXX-07 Using Visual InterDev and VFP ... You send changes to master ... Slide Title Author: Suzanne Wieser

Visual FoxPro DevCon 98

More Capabilities Stored procedures and triggersStored procedures and triggers GridsGrids Data object model and Data object model and

recordsetsrecordsets

Page 21: Course XXX-07 - Whil Hentzen · Visual FoxPro DevCon 98 Course XXX-07 Using Visual InterDev and VFP ... You send changes to master ... Slide Title Author: Suzanne Wieser

Visual FoxPro DevCon 98

Where next? IIS and VFP sessionIIS and VFP session MSDNMSDN Knowledge BaseKnowledge Base www.microsoft.comwww.microsoft.com 280 Internet-related periodicals280 Internet-related periodicals 4000 Internet books 4000 Internet books

Page 22: Course XXX-07 - Whil Hentzen · Visual FoxPro DevCon 98 Course XXX-07 Using Visual InterDev and VFP ... You send changes to master ... Slide Title Author: Suzanne Wieser

Visual FoxPro DevCon 98

thank-you-good-night