[FX.php List] Using PHP script to create other PHP Scripts

Gjermund Gusland Thorsen ggt667 at gmail.com
Thu Sep 25 16:36:28 MDT 2008


Are you guys reinventing LISP?

ggt667

2008/9/25 John Funk <criticalsolution at comcast.net>:
> I think I do, How about this for an idea at a very high level:
> "Write" the php code that generates the html to another php file as a
> function. Then call the php file as an include using a variable for a
> filename and parameters. I am I close?
> John Funk
>
>
>
>
> On 9/25/08 3:37 PM, "Jonathan Schwartz" <jschwartz at exit445.com> wrote:
>
>> This a continuation of the evolution of my master search/display
>> script that serves multiple clients.
>>
>> In short, the master script queries a filemaker database to get
>> parameters on the file, layout, fields, etc...and then inserts these
>> parameters to the master script.  Then, the master script performs
>> whatever data queries the end user has entered. The end result, a
>> single script that can be re-purposed for unlimited uses.
>>
>> The downside is, the system goes through this process of redefining
>> the structural part of the page each time the user queries the data.
>>
>> What I would like to do is to *not* dynamically generate the
>> structure of the page each time. Intstead, I'd like to do that just
>> once and have the PHP script saved ahead of time.
>>
>> So, the php script that now echos HTML to screen, must now save php
>> code to a php file instead. That file will be executed later, until
>> the structure has been re-generated.
>>
>> Now...I KNOW that I probably didn't explain this properly, but I'm
>> hoping that the idea of what I am trying to do will be evident.
>>
>> Anyone understand what I'm trying to do?
>>
>> Jonathan
>
>
> _______________________________________________
> 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