Kevin Roche
Fri, 01 Dec 2006 02:32:44 -0800
Thanks Tom, I got there about an hour before you - Found my own post. How embaressing! That's the trouble, at my age can't remember the names for wotsits!
I have since looked in more detail at what the plugins can do and have
decided that they probably won't be any good for what I want to do.
Unfortunately the only reasons they won't work for me are, there are always
3 of them, they must be cfcs (not cfm templates or xml) and they are created
in the wrong directories.
The way I have it configured means that Reactor puts code generated by the
plugins into the directories as follows:
AppName/model/mDatabaseName/plugins/pluginname/tablenamepluginname.cfc
AppName/model/mDatabaseName/plugins/pluginname/tablenamepluginnamesql.cfc
Reactor/project/appName/plugins/pluginname/tablenamepluginname.cfc
What I actually want to generate the following 6 files in directories in
addition to the usual reactor files:
AppName/model/mDatabaseName/tablename/circuit.xml.cfm
AppName/controller/cDatabaseName/tablename/circuit.xml.cfm
AppName/view/vDatabaseName/tablename/circuit.xml.cfm
AppName/view/vDatabaseName/tablename/dsp_form_tablename.cfm
AppName/view/vDatabaseName/tablename/dsp_list_tablename.cfm
AppName/view/vDatabaseName/tablename/dsp_view_tablename.cfm
This would allow me to build my scaffolding for fusebox5.
I made a small change to reactor that allowed me to change the directory
that the files get put in on the fly but it always adds
"/plugins/pluginname/" to anything I set it to. I could generate:
AppName/view/vDatabaseName/plugins/pluginname/tablenamepluginname.cfc
But that isn't really what I want to do and there seems to be no way to
make:
AppName/model/mDatabaseName/tablename/circuit.xml.cfm
I guess I could be really nasty and create them all in
AppName/model/mDatabaseName/plugins/...
then copy them to where I really want them but I just don't feel comfortable
with that.
Kevin
-----Original Message-----
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
Behalf Of Tom Chiverton
Sent: 01 December 2006 09:19
To: reactor@doughughes.net
Subject: Re: [Reactor for CF] How do I make my own templates in reactor
On Thursday 30 November 2006 19:56, Kevin Roche wrote:
> Some time last summer I started playing with the idea and found a blog
> entry on how to do this. Then work got busy and I have lost my notes. Can
> anyone point me to the blog again?
You mean reactor plugins ?
http://www.mail-archive.com/reactor@doughughes.net/msg02088.html
--
Tom Chiverton
Helping to revolutionarily scale front-end portals
****************************************************
This email is sent for and on behalf of Halliwells LLP.
Halliwells LLP is a limited liability partnership registered in England and
Wales under registered number OC307980 whose registered office address is at
St James's Court Brown Street Manchester M2 2JF. A list of members is
available for inspection at the registered office. Any reference to a
partner in relation to Halliwells LLP means a member of Halliwells LLP.
Regulated by the Law Society.
CONFIDENTIALITY
This email is intended only for the use of the addressee named above and may
be confidential or legally privileged. If you are not the addressee you
must not read it and must not use any information contained in nor copy it
nor inform any person other than Halliwells LLP or the addressee of its
existence or contents. If you have received this email in error please
delete it and notify Halliwells LLP IT Department on 0870 365 8008.
For more information about Halliwells LLP visit www.halliwells.com.
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
- --
Reactor for ColdFusion Mailing List
reactor@doughughes.net
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
- --
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
reactor@doughughes.net
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --