Re: [NF] Web sites

Author: William Sanders

Posted: 2006-10-24 at 09:12:09

Heya Virgil -

You can also install a WAMP instance on a wintel box,

then install AFP and configure it for Apache

then go forth with VFP code in your webpages.

Non-visual VFP Classes as well.

Get a slick WAMP installer here -

http://www.foxserv.net/

Get AFP here -

http://www.afpages.com/?refid=efgroup

Now - you don't have to have a fast machine to run apache and WAMP and AFP

together . You can 'get by' with a 450 Mhz PII/III, 512 Meg o Ram, 10-20

gig HD.

Personally I like this approach cause it allows you to utilize VFP in many

ways:

1. generate html output as html pages, statically, dynamically and in

real time - I've always liked the concept of doing a scan..endscan loop

contruct and outputting html pages from vfp data. The way I do it is a

bit non-standard though.

2. got business rules written in non-visual classes ? You can RE-USE them

on a web site with this configuration.

3. The ability to write silly stuff in the html page like -

use tablename

scan for col_name = (lc_custID)

lc_ord_details = alltrim(tn_order)

endscan

4. You can have a subdomain at GoDaddy that points back to your server

instance at your house. For example -

http://www.bierschwalesolutions.com is your main domain

http://data.bierschwalesolutions.com points back to your server at your

place.

Then you can set up links back at your main server that makes calls to the

[data] subdomain and DO STUFF.

None of this is trivial, by any means, but it IS straightforward.

In another note, I'm sad to hear you do not have VFP any longer.

AFP works with VFP V6 to V9 - I've never tested it with V5. I'll assume

you didn't go the MS Empower for ISV route and pick up all that stuff for

375/year. You still can. See http://www.empowerforisv.com/ for what you

get and how to sign up. I *THINK* you qualify. If you don't think you

qualify - email me offlist and I'll outline a few things you can do.

The cool thing about AFP is that it works with Apache Web Server on a

Wintel Box.

Linux servers are cool, but if you've not done this before, ever, you're

in for quite a learning curve. IMO, the learning curve would be less for a

WAMP instance (Windows-Apache-mySql-php) and you can always load up any

extra tools you need (Perl, PEAR libraries, php libraries) and they work

the same as on a linux box, there on a WAMP box.

Good luck, either way you go.

Mondo Regards [Bill]

--

William Sanders / efGroup {rmv the DOT BOB to reply}

VFP Webhosting? You BET! -> http://efgroup.net/vfpwebhosting

Failing dotNet Project? -> http://www.dotnetconversions.com

©2006 William Sanders