Just to make sure I understand your situation:
1) Users write out their page logic using a simplified sort of pseudo-code
2) The pseudo-code is then submited to a parser or "compiler" which generates actual CFML
3) That CFML is saved to a file which is then included during a page visit
Is that correct? Are you looking to replace step 2 or step 3 (or both) with an OOP approach?
On 1/19/06, Peter Bell <[EMAIL PROTECTED]> wrote:
End user uses a web based admin to generate business rules (Simple "if
variable operator variable/static then action else action endif" with
support for nesting and precedence). They also get a "rebuild" button which
takes the individual elements (variable, operator, action, etc.) and
concatenates well formed Cold Fusion which it then saved to a CFM that gets
included at design time. That was how the CF5 app worked. Now the string
would be saved as a method of a cfc (I'm writing my cfc generator as we
speak) so semi-technical end users can effectively change simple business
logic (if this user group show that template, etc.) without breaking the app
or affecting the runtime performance.
I'm fanatical about letting end users change just about anything. That way I
can charge them a monthly fee for the use of my software rather than having
to actually work for a living and manually make the changes they require :->
-----Original Message-----
From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED]] On Behalf
Of Phillip Senn
Sent: Thursday, January 19, 2006 9:14 AM
To: [email protected]
Subject: RE: [CFCDev] Generic Business Rules - Where?!
> implementing the rules was easy - I just needed a global list of
> variables
and to generate the logic at design time
Are you saying you have somehow opened up your program to the end user?
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to
[email protected] with the words 'unsubscribe cfcdev' as the subject of the
email.
CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting
(www.cfxhosting.com).
An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email.
CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting ( www.cfxhosting.com).
An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email.
CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com).
An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
