Speaking of fp html commands
Jose Lerebours
fp at fpgroups.com
Fri May 30 15:48:05 PDT 2008
Tyler posted:
> One trick I was quite fond of is to simply create a page in a regular
> editor and put in special tags. Whenever a page is requested via
> fpcgi, I read the file in and parse it for those tags, calling various
> subroutines to replace the tags (for instance, <CONTACT INFO> gets
> replaced with a DIV containing our company's contact info)
>
That is the same approach I use but I use what I refer to as filePro
macros. I use something like &fp001; to place fixed field 1 and &fpaa;
to place dummy variable aa. Since &fp___; are resolved by browser, it
makes it easy to visualize where things will fall once parsed and
replaced with actual content.
> IMHO trying to do HTML (much less DHTML) via filepro is a nightmare.
> You're better off trying to find some other solution. Over here I
> migrated all the relevant data to mysql and use PHP for our web pages
> now; I only use fpcgi to sync data between the two. As time goes on
> and webtools replace the filepro ones, less syncing will happen, until
> we're finally migrated (hopefully about 6-8months from now)
>
You know you can go directly to filePro from PHP and back to your browser
at incredible speed? Let me know if you would like to know more about it!
As far as your fpcgi failing, you can always set an execution time and if
failed, then take action (this is a PHP function - I have never used fpcgi).
Regards,
--
Jose Lerebours
http://www.fpgroups.com
954-559-7186
filePro + PHP Solution Developer
More information about the Filepro-list
mailing list