Server.cfc support and more

53 views
Skip to first unread message

Charles Heizer

unread,
Feb 3, 2015, 11:50:51 AM2/3/15
to lu...@googlegroups.com
Hello,
I've been using OpenBD for some time and it's worked well for my needs. I really like the ORM support in Lucee so I'm looking to see if switching is a option/possibility.

What I need to know is does Lucee support Server.cfc out of the box. What I do at this time with my app is setup and configure OpenBD environment using the server.cfc. This way one does not need to open the administrator and add datasources etc. In fact I would like to remove the administration all together.

Thanks,
Charlie

Andrew Dixon

unread,
Feb 3, 2015, 12:11:59 PM2/3/15
to lu...@googlegroups.com
Hi Charles,

I don't think Lucee has server.cfc support as I'm pretty sure that Railo didn't and that appears to be backed up by these two pages:


However you can script pretty much all configuration options and you could do this via the Application.cfc, maybe onApplicationStart. 

If you look in the Lucee admin you will see question marks next to pretty much all options and clicking them gives you a code example for how to do this in script.

Kind regards,

Andrew

--
You received this message because you are subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/acf1a9e7-1fae-4d22-a40e-f03600630907%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

denstar

unread,
Feb 3, 2015, 12:28:59 PM2/3/15
to lu...@googlegroups.com
On 02/03/2015 09:50 AM, Charles Heizer wrote:
...
> What I need to know is does Lucee support Server.cfc out of the box. What I
> do at this time with my app is setup and configure OpenBD environment using
> the server.cfc. This way one does not need to open the administrator and
> add datasources etc. In fact I would like to remove the administration all
> together.

While it's not Server.cfc support, there are some scripts that allow one
to pre-configure a Lucee instance (datasources, mappings, caches,
passwords, error pages, etc.).

I use this for the CI testing, which sets things up so one doesn't need
a "pet" server to test against (for about 98% of the tests-- some stuff
does need external services, that's just the nature of our beast ;]).

There will be some stuff in the wiki, as well as the examples in the
test script.

:Den

Charles Heizer

unread,
Feb 3, 2015, 12:32:23 PM2/3/15
to lu...@googlegroups.com
Cool, thank you I will give it a go. Both on trying the server.cfc and Application.cfc

Charlie
Reply all
Reply to author
Forward
0 new messages