[FX.php List] FM / FX / PHP Library system
Steve Winter
steve at bluecrocodile.co.nz
Wed Jul 30 14:23:17 MDT 2008
Hi John,
I'll just chime in here and support everything that Derrick said 100%...! Do
things exactly as he suggests, and you'll be all good...!
If there's server-side processing that needs to be done, which requires FMP
scripts to be run, then use FX (or the FMP API) to set flags, and use a
server side script-scheduling plugin to poll for that flag, run the required
script, then clear the flag...
I've built a number of large, complex, technology integrated solutions on
this basis... prior to recent versions of FMP, where server side scripting
is possible, I used to use a 'robot' machine (or in fact machines) which sat
in a corner, connected to FMS, with oAzium events (or the like) regularly
triggering scripts which checked for 'flags, then processed data from
there...
Cheers
Steve
-----Original Message-----
From: fx.php_list-bounces at mail.iviking.org
[mailto:fx.php_list-bounces at mail.iviking.org] On Behalf Of Derrick Fogle
Sent: 30 July 2008 20:57
To: FX.php Discussion List
Subject: Re: [FX.php List] FM / FX / PHP Library system
My recommendation: Handle all file uploading and downloading directly
in PHP, saving to appropriate places on the fileserver. Once the
upload has been handled by PHP, use FX.php to save the file into
(path, etc.) to FileMaker. Handle the downloading in the reverse
order: Use FX.php to provide browsing of the file info from the FM
database, then when a specific file is selected, use the data from FMP
in PHP to actually handle the download. Don't try to upload files to
container fields in FM. I don't recommend running FM scripts from web
applications if you don't absolutely have to, either.
On Jul 30, 2008, at 2:38 PM, CSInfo wrote:
> Hello all,
> I have a customer that is asking for a Library system for his
> existing FM9 database. He wants to have a login system that
> determines a "user group", gives that user a set of features on a
> web page, one of those features is an uploadable library system to
> store resumes (PDF, word, text) and retrieve them. The files will be
> store on their internal W2003 file server and paths stored in
> FileMaker.
> I have many ideas on how to accomplish this including IWP with
> plugins but I would like it to be pure HTML / PHP / FileMaker for
> speed.
> What are some more ideas out there on a solid way to accomplish this
> upload / download process? I am not looking for coding examples but
> rather a 10,000 foot view from experience. What elements work well
> together.
> For example, is it a good idea to run FM scripts from PHP to do
> background FM work? What FM file plugins work well on the web?
>
>
> Thank you,
> John Funk
> FileMaker Developer and web Dabbler
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
Derrick
_______________________________________________
FX.php_List mailing list
FX.php_List at mail.iviking.org
http://www.iviking.org/mailman/listinfo/fx.php_list
More information about the FX.php_List
mailing list