I've been banging my head against this for several hours now...
I have a CFC with an init method that looks like this:
cffunction name=init access=public output=false
cfargument name=datasource type=any required=true /
cfargument name=settings type=any required=true /
I've got a bit of an issue with the site code (more or less a content
management system) that I've been adding to over the past several years.
The core of my code is a CFC that contains all of my SQL operations in
separate functions. I went with this approach for a number of reasons: it
pulls
It's worked very well, but
there's a problem -- when the site initially loads, it takes forever (well,
about 30 seconds). I'm assuming that this is because the SQL CFC has grown
to almost 4,000 lines of code.
But that's only when the app first loads. And I think your application
variables
Right now, I'm giving serious thought to breaking the SQL CFC up into
multiple separate CFC's (one for each primary area of functionality);
i.e. one CFC for the content management section, one for logging, one
for user management/login/etc., etc. which would leave me with about
10 separate
So I want to set up multiple web site subdirectories that all use the same code.
www.somedomain.com/site01/
www.somedomain.com/site02/
www.somedomain.com/site03/
www.somedomain.com/site04/
when accessing these sites, the URL should never really change, and
coldfusion should see #cgi.script_name#
I start thinking Apache when I see complex rewrite needs. Apache's
mod_rewrite is amazing :)
On Sun, Oct 26, 2008 at 1:43 PM, Rick Root [EMAIL PROTECTED]wrote:
So I want to set up multiple web site subdirectories that all use the same
code.
www.somedomain.com/site01/
Can you just have the index.cfm in each one include the main, 'real' index.cfm?
So, www.somedomain.com/site01/index.cfm:
cfinclude template=../site/index.cfm
That would work if you're using a framework like Model-Glue, for instance. No
redirect necessary.
Rick,
We did the same sort of thing. Except we ended up using subdomains...
site1.mysite.com site2.mysite.com and bypassed rewrite issue entirely.
G
On Sun, Oct 26, 2008 at 2:43 PM, Rick Root [EMAIL PROTECTED]wrote:
So I want to set up multiple web site subdirectories that all use the same
Nevermind guys... this was a dumb recursion thing on my part. Easily
fixed, just one of those things that you bang your head against for
hours only to discover it's something simple. ;)
--
s. isaac dealey ^ new epoch
isn't it time for a change?
ph: 781.769.0723
just one of those things that you bang your head against for
hours only to discover it's something simple.
I call it code blind. Like being snow blind except it comes from staring
at a monitor for too long.
G
On Sun, Oct 26, 2008 at 6:00 PM, s. isaac dealey [EMAIL PROTECTED] wrote:
I can't get the intellisense to work within cfeclipse..
I had eclipse3.2 installed, I dumped that and downloaded eclispe europa..
I downloaded and installed CFEclipse (1.3.2 beta)
but when I type in a CF function, for example cfswitch I expect it
to suggest expression but it does nothing..
Any
Try right-click the project folder and select Add/Remove CFE Nature
On Mon, Oct 27, 2008 at 7:05 AM, Greg Morphis [EMAIL PROTECTED] wrote:
I can't get the intellisense to work within cfeclipse..
I had eclipse3.2 installed, I dumped that and downloaded eclispe europa..
I downloaded and
That was it, thanks! I wonder why that isnt enabled by default..
Anywho, thanks again!
On Sun, Oct 26, 2008 at 6:14 PM, AJ Mercer [EMAIL PROTECTED] wrote:
Try right-click the project folder and select Add/Remove CFE Nature
On Mon, Oct 27, 2008 at 7:05 AM, Greg Morphis [EMAIL PROTECTED] wrote:
I am hosting a Birds of a Feather session at MAX on the future development and
evolution of CFML.
I am looking for suggestions on topics to cover and speakers you'd like to hear
from.
http://www.vertabase.com/blog/your-ideas-for-the-future-of-cfml-adobe-max-bof-session
With OpenBD, Railo and
Instead of messing with rewrite, you could use ADSI to script the IIS metabase
to create all of the vdirs.
http://msdn.microsoft.com/en-us/library/ms525389.aspx
So I want to set up multiple web site subdirectories that all use the same
code.
www.somedomain.com/site01/
JB Roth wrote:
Perhaps this is more of a negotiation, and this is their first offer? Have
you considered a counter-offer?
As for layoffs, as an independent consultant, I understand you can be
layed-off at a moments notice, no questions asked.
I believe it really depends on the contract
16 matches
Mail list logo