cfwheels/cachebox example

22 views
Skip to first unread message

Mike Henke

unread,
Jan 13, 2010, 2:54:02 PM1/13/10
to CacheBox Framework
Has anyone looked at the cfwheels/cachebox example lately? I think
something changed and it isn't fully working.

When viewing content of something in wheels_sql agent, there is array
with the sql statement. I thought originally it shown a query object.

Mike Henke

unread,
Jan 13, 2010, 4:00:34 PM1/13/10
to CacheBox Framework
I also noticed the same array is being stored as different content.

Mike Henke

unread,
Jan 13, 2010, 5:55:52 PM1/13/10
to CacheBox Framework
I am testing on another machine with different code and getting the
same results.

Mike Henke

unread,
Jan 13, 2010, 6:27:46 PM1/13/10
to CacheBox Framework
Looks like the \wheels\global\internal.cfm you modified for your
wheels example has changed some in the current release of wheels. To
create the wheels plugin, we only need the functions you change.

Mike Henke

unread,
Jan 13, 2010, 6:41:07 PM1/13/10
to CacheBox Framework
Looks like the \wheels\global\internal.cfm you modified for your
wheels example has changed some in the current release of wheels. To
create the wheels plugin, we only need the functions you change.

Mike Henke

unread,
Jan 13, 2010, 6:56:44 PM1/13/10
to CacheBox Framework
Here are the Wheels functions changed for CacheBox: $addToCache,
$cacheCount, $clearCache, $getFromCache, and $removeFromCache.

Mike Henke

unread,
Jan 13, 2010, 8:32:11 PM1/13/10
to CacheBox Framework
I found an issue with how wheels is doing the hash to create the id
for the caching time and updated some code for the wheels/cachebox
plugin. Everything seems to be fine now once the hashing is fixed in
wheels.

Jeff S.

unread,
Jan 14, 2010, 11:44:35 AM1/14/10
to CacheBox Framework
Nice find! I saw your fix for this on the cfwheels list. I haven't
actually checked out any of the CacheBox examples in the /samples
folder (so didn't reply to this yesterday).

I'll be doing some testing on our CacheBox implementation next week.
I'll let the list know if I run into any problems...

Mike Henke

unread,
Jan 14, 2010, 5:42:17 PM1/14/10
to CacheBox Framework
Cool, thanks.

ike

unread,
Jan 14, 2010, 7:59:12 PM1/14/10
to CacheBox Framework
Hey Mike, sorry it's taken me a while to respond to this. Things have
been unusually hectic around here the past week and I've not really
been able to get to my software work the way I like to. Hopefully I'll
get a look at your patch and update the cachebox repo in the next few
days. :)

Mike Henke

unread,
Jan 15, 2010, 8:55:46 AM1/15/10
to CacheBox Framework
no problem. maybe for the wheels example point them toward the plugin
so they aren't altering the framework code.

http://cfwheels.org/plugins/listing/13

And if you need to make any updates you can fork the code here
http://github.com/mhenke/cacheboxCFWheels
or I could add you as a contributor to my repo.

Reply all
Reply to author
Forward
0 new messages