BlogStats Component Example Using Flex, ColdFusion, and LCDS

9 Jul
2008
Delicious

This component is similar to the WordPress Blog stats that shows you how many users visit your site a day. View Source is Enabled, only problem with it is it uses Application.cfc thus if I restart my server then all data is lost. If You want you can tie in a database end and have it work. If your download it then make sure to set the Gateway Instances. Gateway ID: BlogStats , Type:DataServicesMessaging and just navigate to the CFC file that is under exhd/cfc/BlogStats.cfc. Here is the example, to see it work in real time open two tabs, go into one tab and refresh say twice then navigate to the other tab and there should be a delay of around 8 seconds before it updates the count. http://sherifabdou.com/cfusion/BlogStatsExample/BlogStats.cfm


Share this story with a friend !
Join SherifAbdou's Rss Feed Stumble This Article! Add this to your Delicious Bookmarks! Digg this story ! Add this story to Reddit ! Tweet This Brush


2 Responses to BlogStats Component Example Using Flex, ColdFusion, and LCDS

Avatar

Simon WJNo Gravatar

July 11th, 2008 at 4:21 am

Having been reading up on the power of the inbuilt Derby database that ships bundled with ColdFusion 8 this could be a great place to store this kind of persistence data.

Avatar

TedNo Gravatar

August 24th, 2011 at 8:25 am

I have been a daily website visitor to your blogs, great work.

Comment Form