Hi Folks, I have a question regarding the best way to handle loading an API for the CMS side of our application. In this case, the API I am talking about not meant for remote calls but instead is meant to be for web developers creating themes and features for a web site who need to be able to make calls to the database (for example). So, it's meant to be like similar functionality in WordPress (http://codex.wordpress.org/WordPress_API's), Drupal, etc. We have these functions in a cfc and what I want to know is the best way to provide them to the user and developer. Loading them on every request seems like it would create unnecessary overhead although for all I know, that is the way other CMS' do it. Would it be better to use the onApplicationStart in Application.cfc to load this file into memory so that the functions can be called that way? If so, what would that look like? Or is there a better way? I expect that Mura, Coldbox, etc. have done this well but I haven't tracked that down. Thanks in advance, Nick
............................................................................ ..... Nick Gleason | CitySoft, Inc. | http://www.citysoft.com . ............................................................................ ..... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352909 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm