Entries Tagged as "model-glue"
A few people have asked me to post my presentations, and I should have done so anyway straight after the conferences, but of course, since I did three presentations + a Mystery Theatre at cfobjective and four presentations at Scotch on the Road I have been falling behind normal work and blog postings.
So, here for your delectation are all the presentations for you to download... (apart from the Mystery Theatre 3000 since that has a naughty picture in it)
So I was getting my head round Andrew Powell's CF_EHCache so that I can write an interface for it that Model-Glue can use, which should be simple enough since it already uses a SimpleTimedCache, when I come across a very odd thing, with the code out of the box I got the following error:
The system has attempted to use an undefined value, which usually indicates a programming error, either in your code or some system code.
Null Pointers are another name for undefined values.
So I started dumping my way through it, so to speak, but it would work...
var mBeanServer = createObject('java','java.lang.management.ManagementFactory').getPlatformMBeanServer();
variables.manager = createObject('java','net.sf.ehcache.CacheManager');
variables.cacheName = arguments.cacheName;
This morning, writing this post, I realised that in the third line I had forgotten to add the .init() to the CacheManager. Go figure! Seems that cfdump does the init for you eh?
- 2 years minimum ColdFusion (obviously)
- Experience of Frameworks especially Model-Glue and ColdSpring are a massive plus
- SQL Server knowledge
- XML (generating and parsing)
- Subversion and Trac knowledge is also a plus
Posted by Mark Drew in model-glue on August 17, 2007
My EventBut what happens if you change the event key to something else (you can do that in the ModelGlue configuration section in the ColdSpring.xml file, see the property for "eventValue") such as "go" or "action"? You would have to change every view. A simple way round this is to put at the top of each view the following:
And then change your links to:
My EventWhat do you think?