Sometimes it is faster and cleaner to just attempt to do something, then catch the error, rather than go through all the possibilities of figuring out whether a certain thing should be done or not.
ColdSpring uses this technique a lot and probably a fair bit of the exceptions you see are a result of that. We do it to a degree, when it makes sense. As for why your application is slow, I'd recommend reading up on this article: http://docs.model-glue.com/wiki/FAQs/WhyIsMyModelGlueApplicationSlow DW On Wed, Feb 10, 2010 at 7:55 AM, Bob Silverberg <[email protected]>wrote: > > On Wed, Feb 10, 2010 at 7:21 AM, Bud <[email protected]> wrote: > >> Hi all. I'm still having terribly slow startup times on my CF 7 box. >> I'm using the new MG maintenance release. I just now noticed something >> in the ColdFusion debugging exceptions. >> >> ...\ModelGlue\gesture\factory\TypeDefaultingMapBasedFactory.cfc(53) >> type Application >> message Could not find the ColdFusion Component general. >> >> > I was wondering about that message too, but have been too lazy to post > about it. I'm guessing it has something to do with the fact that event > types can be defined as cfcs as well as in the xml. It is kind of annoying > to have those exceptions appear in the debugging info on startup - is there > anything that can be done about that? > > Cheers, > Bob > > > -- > Bob Silverberg > www.silverwareconsulting.com > > Hands-on ColdFusion ORM Training @ cf.Objective() 2010 > www.ColdFusionOrmTraining.com > > > > -- > Model-Glue Sites: > Home Page: http://www.model-glue.com > Documentation: http://docs.model-glue.com > Bug Tracker: http://bugs.model-glue.com > Blog: http://www.model-glue.com/blog > > You received this message because you are subscribed to the Google > Groups "model-glue" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<model-glue%[email protected]> > For more options, visit this group at > http://groups.google.com/group/model-glue?hl=en > -- “Come to the edge, he said. They said: We are afraid. Come to the edge, he said. They came. He pushed them and they flew.” Guillaume Apollinaire quotes -- Model-Glue Sites: Home Page: http://www.model-glue.com Documentation: http://docs.model-glue.com Bug Tracker: http://bugs.model-glue.com Blog: http://www.model-glue.com/blog You received this message because you are subscribed to the Google Groups "model-glue" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/model-glue?hl=en
