Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: claude fox
  Where is claude fox?
 Centreville
 Virginia - United States
 claude fox
 To: Don Higgins
  Where is Don Higgins?
 Peoria
 Illinois - United States
 Don Higgins
 Tags
Subject: RE: ActiveVFP Example
Thread ID: 331107 Message ID: 331206 # Views: 150 # Ratings: 1
Version: Visual FoxPro 9 Category: Web, FTP and other Internet Protocols
Date: Tuesday, December 27, 2011 7:14:08 PM         
   


Nice work Don!
I think the learning curve for most people is for web programming in general and not necessarily AVFP.
There are a few concepts I wish I could crystallize for everyone who tries ActiveVFP:

1.) There are really only 3 main new objects to learn in AVFP (if you're new to web programming): Request, Response, Session. That's it!!

2.) If the VFP code in the Demo application is examined, the use of Request, Response, Session is demonstrated pretty thoroughly. (If these objects look familiar, it's because they're the exact same objects used in Classic ASP!)

3.) Web applications are stateless meaning everything starts with a blank slate on each web hit. Use the Request Object to get submitted form values or values passed on the URL. Use the Session Object to maintain state between web hits for anything involving more than a couple of pages.

4.) AVFP doesn't convert existing FoxPro GUI Forms, you have to use HTML for the interface. Use CSS/JavaScript/jQuery to make the web interface more interactive if you want to get fancier.

5.) AVFP doesn't use Controls on Forms like desktop VFP to create web interfaces. Preferably you would use an HTML WYSIWYG editor like DreamWeaver or MS-Expression to create HTML forms and style your interface. These editors can automate a lot of the interface building and are generally better at web design then even Visual Studio imo.

Added to ActiveVFP FAQ. Let me know if there's something else you think I should add...




> If anyone is thinking of going to ActiveVFP to use with Web development I thought I would pass on a recent project I completed.
>
> It takes a while to get an understanding of the basics but once you do the ability to create some impressive applications is very apparent.
>
> Here is a demo version of what I did, with the help of Claude.
>
>
> http://www.consumerleasingmadeeasy.com/default.aspx?action=lease&dlrcode=BLH1
>
>
> Everything you see is completely controlled by VFP code. Data controlled pictures, text, links, and calculations are 100% VFP. I can change anything on the fly and it is multiuser right out of the box.
>
> The reason I bring this up is all of the challenges I faced. After overcoming them I feel much better about the work Claude put into this. I talked to several programmers who gave up on this because they couldn't wrap their heads around the concepts. Thought if anyone had questions I may be able to answer some of the basics.
>
>
> Don Higgins
>
>
>
> http://www.youtube.com/watch?v=dcuFx85o8XU
>



ActiveVFP - http://activevfp.codeplex.com - Open Source VFP web development
MtmyVFP - http://mtmyvfp.codeplex.com - Easily multi-thread VFP desktop code!

ENTIRE THREAD

ActiveVFP Example Posted by Don Higgins @ 12/27/2011 3:26:33 AM
RE: ActiveVFP Example Posted by michael johnson @ 12/27/2011 4:10:29 AM
RE: ActiveVFP Example Posted by Don Higgins @ 12/27/2011 5:20:17 AM
RE: ActiveVFP Example Posted by claude fox @ 12/27/2011 7:14:08 PM
RE: ActiveVFP Example Posted by Don Higgins @ 12/28/2011 5:04:22 AM
RE: ActiveVFP Example Posted by Jijo Pappachan @ 12/28/2011 8:31:38 AM
RE: ActiveVFP Example Posted by claude fox @ 12/28/2011 2:41:50 PM
RE: ActiveVFP Example Posted by Dilip Kumar @ 12/29/2011 6:17:14 AM
RE: ActiveVFP Example Posted by Don Higgins @ 12/29/2011 4:20:45 AM
RE: ActiveVFP Example Posted by Don Higgins @ 12/29/2011 4:52:12 AM
RE: ActiveVFP Example Posted by Jijo Pappachan @ 12/29/2011 1:03:11 PM
RE: ActiveVFP Example Posted by tushar @ 12/29/2011 1:22:52 PM
RE: ActiveVFP Example Posted by Jijo Pappachan @ 1/2/2012 6:36:36 AM
RE: ActiveVFP Example Posted by Don Higgins @ 1/2/2012 6:47:48 AM
RE: ActiveVFP Example Posted by Jijo Pappachan @ 1/2/2012 8:17:01 AM
RE: ActiveVFP Example Posted by claude fox @ 1/2/2012 6:22:37 PM
RE: ActiveVFP Example Posted by Don Higgins @ 1/2/2012 6:28:11 PM
RE: ActiveVFP Example Posted by Boudewijn Lutgerink @ 1/8/2012 10:41:15 PM
RE: ActiveVFP Example Posted by claude fox @ 1/8/2012 10:57:13 PM
RE: ActiveVFP Example Posted by Don Higgins @ 1/9/2012 2:48:42 AM
RE: ActiveVFP Example Posted by claude fox @ 1/9/2012 7:09:36 AM
RE: ActiveVFP Example Posted by Don Higgins @ 1/9/2012 6:17:54 PM
RE: ActiveVFP Example Posted by claude fox @ 1/9/2012 6:46:25 PM
RE: ActiveVFP Example Posted by JLW Smith @ 1/10/2012 5:38:41 PM
RE: ActiveVFP Example Posted by claude fox @ 1/10/2012 8:10:28 PM
RE: ActiveVFP Example Posted by Neeraj Charne @ 1/3/2012 10:03:12 AM
RE: ActiveVFP Example Posted by claude fox @ 1/3/2012 3:36:33 PM
RE: ActiveVFP Example Posted by Zaheer Ahmed @ 12/28/2011 6:23:01 AM
RE: ActiveVFP Example Posted by Don Higgins @ 12/28/2011 6:50:22 AM
RE: ActiveVFP Example Posted by JLW Smith @ 12/31/2011 11:11:18 AM
RE: ActiveVFP Example Posted by claude fox @ 12/31/2011 12:38:02 PM
RE: ActiveVFP Example Posted by JLW Smith @ 12/31/2011 12:44:13 PM
RE: ActiveVFP Example Posted by claude fox @ 1/1/2012 1:53:03 PM
RE: ActiveVFP Example Posted by Don Higgins @ 1/2/2012 1:24:25 AM
RE: ActiveVFP Example Posted by claude fox @ 12/29/2011 5:38:26 PM
RE: ActiveVFP Example Posted by Noker Lodia @ 12/29/2011 9:32:04 PM
RE: ActiveVFP Example Posted by claude fox @ 12/29/2011 10:35:43 PM
RE: ActiveVFP Example Posted by Don Higgins @ 1/2/2012 1:30:47 AM
RE: ActiveVFP Example Posted by claude fox @ 1/2/2012 2:47:21 AM