On this note, would it make sense to have a component registry file in the
config directory that allows you to specify the component that Farcry should
load instead of the core component?

Then you could extend any core component to add your own custom
functionality and have it used instead of the core one by adding an entry to
the registry file.

Format of registry file could be something like this:

<registry>
        <extension>
        
<corecomponent>farcry.farcry_core.packages.farcry.tree</corecomponent>
                <replacment>farcry.mysite.packages.custom.tree</replacement>
        </extension>
</registry>

Spike

--------------------------------------------
Stephen Milligan
Code poet for hire
http://www.spike.org.uk

Do you cfeclipse? http://cfeclipse.tigris.org 


 

>-----Original Message-----
>From: [EMAIL PROTECTED] 
>[mailto:[EMAIL PROTECTED] On Behalf 
>Of Nathan Mische
>Sent: Thursday, July 01, 2004 7:23 AM
>To: FarCry Developers
>Subject: [farcry-dev] Re: Custom Friendly URLs
>
>Hi Tim,
>
>I will say I would like custom FUs. I would also like the ability to
>extend some of the other core components such as verity and tree. While
>they do a great job as they are, often I find I would like to change or
>add some functionallity to these components. 
>
>In fact I've been "bad" on occasion and changed these core 
>components to
>get the functionality I desired. I have the farcry core on a CVS vendor
>branch, so managing the changes when a new release rolls out 
>is not that
>big of a deal, but being able to extend these core components 
>would make
>updates much easier.
>
>--Nathan 
>
>>-----Original Message-----
>>From: [EMAIL PROTECTED] 
>>[mailto:[EMAIL PROTECTED] On Behalf 
>>Of Tim Lucas
>>Sent: Thursday, July 01, 2004 9:18 AM
>>To: FarCry Developers
>>Subject: [farcry-dev] Re: Custom Friendly URLs
>>
>>> Also now that the core FU functionality seems fairly stable, would 
>>> people want the ability to to extend the FriendlyURL CFC to allow 
>>> custom FU generation?
>>
>>Actually, on second thought, this can be accomplished by 
>>replacing the application.factory.oFU CFC instance with your 
>>own extended fu.cfc instance within project's _applicationInit.
>>
>>The question to everybody of the need for the extra property 
>>in the core types for alternative FU titles still remains though.
>>
>>-- tim lucas
>>
>>http://www.toolmantim.com
>>
>>
>>---
>>You are currently subscribed to farcry-dev as: [EMAIL PROTECTED] 
>>To unsubscribe send a blank email to 
>>[EMAIL PROTECTED]
>>Aussie Macromedia Developers: http://lists.daemon.com.au/
>>
>>
>
>---
>You are currently subscribed to farcry-dev as: [EMAIL PROTECTED]
>To unsubscribe send a blank email to 
>[EMAIL PROTECTED]
>Aussie Macromedia Developers: http://lists.daemon.com.au/


---
You are currently subscribed to farcry-dev as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to