On 10/28/05, Hugo Ahlenius <[EMAIL PROTECTED]> wrote:

> Mach-II exposes an API so that you can specify the programme flow in an
> XML file.
I'm looking for something one level below the XML file. I want to be
able to write code against an API (in CFML).

I think that type of API would be easier to use. If not, the XML file
is still an option. I could write a script that reads the XML file and
pass the information on to the API. For that matter, I could have the
script read an .ini file or <gasp!> a database.


> Note that one of the advantages of xml (in comparison to
> others, such as windows ini) is that you can verify it against a dtd.
Yes, you can do that at the expense of less readability. (Okay,
sometimes you get /more/ readabilty with XML.)

Of course, we're not limited to the "standard" file formats that can
be read with existing APIs. Sometimes "inventing" a format and writing
a parser for it makes sense. CSS is a good example.

> Mach-II exposes loads of meaty api:s for plugins and filters that needs
> to be implemented in cfml.
Like I said, what I'm looking for may already be there. Tell me, can I
build a Mach-II/MG/FB4 file without using XML at all?


> For me personally it took as training to supress the mental need to put
> in logic in the mach-ii controller/xml ("I need a cfif here!"), now that
> is all gone... !
One thing I've never understood about FB4 is why there's an <if/> tag.


Patrick


--
Patrick McElhaney
704.560.9117
http://pmcelhaney.weblogs.us


----------------------------------------------------------
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).

CFCDev is supported by New Atlanta, makers of BlueDragon
http://www.newatlanta.com/products/bluedragon/index.cfm

An archive of the CFCDev list is available at 
www.mail-archive.com/[email protected]


Reply via email to