VFP & Ajax
Upcoming SlideShare
Loading in...5

VFP & Ajax



AJAX session from back in the day when it was AJAX

AJAX session from back in the day when it was AJAX



Total Views
Views on SlideShare
Embed Views



1 Embed 1

http://www.slashdocs.com 1



Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
Post Comment
Edit your comment

VFP & Ajax VFP & Ajax Presentation Transcript

  • VFP & AJAX Mike FeltmanF1 Technologies
  • Agenda• What is AJAX • AJAX in 5 Minutes• AJAX Technologies • Talking AJAX to VFP• Putting it Altogether • AJAX Resources• AJAX vs. Classic Web Apps
  • What is AJAX• AJAX is not a technology, it’s an acronym for a collection of technologies.• AJAX is a development technique that allows web apps to provide a desktop app like user experience• AJAX = Asynchronous JavaScript + XML• Also Referred to as Web 2.0 and RIA (Rich Internet Applications)
  • AJAX Technologies• HTML & XHTML• CSS• DOM• XML & XSLT• XMLHTTP• JavaScript
  • HTML• lingua franca of the web• HyperText Markup Language• The “Content Layer” of a well designed website
  • XHTML• eXtensible HyperText Markup Language• HTML coded as well-formed XML• Emerging, modernized HTML standard supported by most browsers
  • CSS• Cascading Style Sheets• Mechanism for adding style (fonts, colors, formatting, etc.) to web documents.
  • DOM• Document Object Model• Object model for documents, not specific to HTML, but rarely used outside of that context• Supported by modern browsers
  • XML• eXtensible Markup Language• “Standard” data transport format for the web
  • XSLT• Extensible Stylesheet Language Transformations• Stylesheet Language for XML• Formatting Language for XML data/documents
  • XMLHTTP• Object that allows (asynchronous) communication with the server• Native Object in Mozzila Browsers• COM Object in Internet Exploder
  • JavaScript• Client Side Scripting Language• Supported by modern browsers• Dynamically Typed• Case Sensitive
  • Putting it altogether• HTML/XHTML – Content• CSS – Formatting• DOM & JavaScript – Client Side Code• XML – Data
  • The Missing Links• Server Programming • XML Enabled DBMS Language (SPL) – VFP – AFP, WebConnection, etc. – SQL Server – PHP – MySQL – XUL – Oracle – RUBY – DB2 – Java – Classic ASP – ASP.NET
  • AJAX Technologies Redux• HTML & XHTML • Server Programming• CSS Language• DOM • DBMS• XML & XSTL• XMLHTTP• JavaScript
  • Classic Web Application Model
  • Synchronous Web Application Model
  • AJAX Web Application Model
  • Asynchronous Web Application Model
  • Talking AJAX to VFP• AFP (Active FoxPro Pages), Web Connection or any other VFP server-side scripting technology will suffice• Can use classic ASP or ASP.NET but both go through COM with no benefit
  • VFP is the Ideal AJAX Server Language• Fast• Great Text Handling• Native DBMS• Great Connectivity• Royalty Free Deployment
  • AJAX in 5 Minutes1. Attach a JavaScript function call to an event on an HTML object2. Get XMLHttp Request Object3. Start an AJAX request4. Respond to the request on completion5. Update the web page
  • Talking AJAX to VFP1. Retrieving Data & Updating the page a. From a command button b. From a textbox c. Using XML2. Putting it all together with VFP business objects
  • Real World Ajax• Glfc.net• Airset.com• http://script.aculo.us/• http://openrico.org/• http://dojotoolkit.org/• http://prototype.conio.net/
  • Conclusion• AJAX can be used to provide desktop like user experiences• AJAX is actually old technology, but its uses and usability are evolving rapidly• VFP is well-suited for use in AJAX development
  • Resources• Blogs/Websites • Frameworks & Toolkits – adaptivepath.com – maxkiesler.com – blogs.pathf.com/agileajax – dojotoolkit.org – ajax.phpmagazine.net – prototype.conio.net – ajaxpatterns.com – script.aculo.us• Books – zk1.sourceforge.net – The JavaScript Anthology – rubyonrails.org – Pragmatic AJAX
  • Thank You• Please remember to fill out your evals