New Wheels Site

24 views
Skip to first unread message

Russ Johnson

unread,
Sep 15, 2011, 11:09:18 AM9/15/11
to ColdFusion on Wheels
Had a few spare hours to spend playing with some new stuff, primarily the Twitter Bootstrap and a jQuery plugin for accessing Twitter. I was going to be needing these for a new upcoming project and thought I would take them for a spin. In the process I built this little site using Wheels. Its pretty simple actually, just a one pager that pulls tweets that have "coldfusion" in them. The site updates every 60 seconds and automatically adds new tweets to the top of the timeline.

I had to add a catch for now that will stop the auto refresh after 10 API hits due to the rate limiting on Twitter. But I have already thought about taking this one step further and "caching" all the tweets in the db so the server can ping the API periodically vs each client doing it using the jQuery plugin.

Anyways, I will be opening up the GitHub repo for this site as soon as I scrub all the passwords if anyone is interested in the code.



Russ Johnson
@russ_johnson
ru...@angry-fly.com
www.angry-fly.com


 

Troy Murray

unread,
Sep 15, 2011, 11:14:22 AM9/15/11
to cfwh...@googlegroups.com
Cool Russ.  I think this would be a cool example of using something like MongoDB to store the tweets, just to learn how it works.


--
You received this message because you are subscribed to the Google Groups "ColdFusion on Wheels" group.
To post to this group, send email to cfwh...@googlegroups.com.
To unsubscribe from this group, send email to cfwheels+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cfwheels?hl=en.



--
Troy Murray
image001.gif

John C Bland II

unread,
Sep 15, 2011, 11:32:01 AM9/15/11
to cfwh...@googlegroups.com
Throw Railo in there Russ [and in the footer] since it is about ColdFusion as a whole [not just ADBE CF]. Just a thought.

Good work.

On Sep 15, 2011, at 10:14 AM, Troy Murray wrote:

Cool Russ.  I think this would be a cool example of using something like MongoDB to store the tweets, just to learn how it works.
On Thu, Sep 15, 2011 at 11:09 AM, Russ Johnson <russ.c...@gmail.com> wrote:
Had a few spare hours to spend playing with some new stuff, primarily the Twitter Bootstrap and a jQuery plugin for accessing Twitter. I was going to be needing these for a new upcoming project and thought I would take them for a spin. In the process I built this little site using Wheels. Its pretty simple actually, just a one pager that pulls tweets that have "coldfusion" in them. The site updates every 60 seconds and automatically adds new tweets to the top of the timeline.

I had to add a catch for now that will stop the auto refresh after 10 API hits due to the rate limiting on Twitter. But I have already thought about taking this one step further and "caching" all the tweets in the db so the server can ping the API periodically vs each client doing it using the jQuery plugin.

Anyways, I will be opening up the GitHub repo for this site as soon as I scrub all the passwords if anyone is interested in the code.



Russ Johnson
@russ_johnson
ru...@angry-fly.com
www.angry-fly.com

<image001.gif>
 


--
You received this message because you are subscribed to the Google Groups "ColdFusion on Wheels" group.
To post to this group, send email to cfwh...@googlegroups.com.
To unsubscribe from this group, send email to cfwheels+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cfwheels?hl=en.



--
Troy Murray

Russ Johnson

unread,
Sep 15, 2011, 11:35:49 AM9/15/11
to cfwh...@googlegroups.com
I was thinking about using a noSQL solution for storing the tweets since I haven't had a chance to play with them yet. Not sure if Wheels supports any of them or not though.

- Russ

On Sep 15, 2011, at 11:14 AM, Troy Murray wrote:

Cool Russ.  I think this would be a cool example of using something like MongoDB to store the tweets, just to learn how it works.
On Thu, Sep 15, 2011 at 11:09 AM, Russ Johnson <russ.c...@gmail.com> wrote:
Had a few spare hours to spend playing with some new stuff, primarily the Twitter Bootstrap and a jQuery plugin for accessing Twitter. I was going to be needing these for a new upcoming project and thought I would take them for a spin. In the process I built this little site using Wheels. Its pretty simple actually, just a one pager that pulls tweets that have "coldfusion" in them. The site updates every 60 seconds and automatically adds new tweets to the top of the timeline.

I had to add a catch for now that will stop the auto refresh after 10 API hits due to the rate limiting on Twitter. But I have already thought about taking this one step further and "caching" all the tweets in the db so the server can ping the API periodically vs each client doing it using the jQuery plugin.

Anyways, I will be opening up the GitHub repo for this site as soon as I scrub all the passwords if anyone is interested in the code.



Russ Johnson
@russ_johnson
ru...@angry-fly.com
www.angry-fly.com

<image001.gif>
 


--
You received this message because you are subscribed to the Google Groups "ColdFusion on Wheels" group.
To post to this group, send email to cfwh...@googlegroups.com.
To unsubscribe from this group, send email to cfwheels+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cfwheels?hl=en.



--
Troy Murray

Russ Johnson

unread,
Sep 15, 2011, 11:40:47 AM9/15/11
to cfwh...@googlegroups.com
John,

I knew this would come up at some point. Honestly, Im not a big Railo fan to start with. Has nothing to do with the politics behind all of it. It has everything to do with my experience playing with Railo in the past. I know its a great engine,  but my experiences weren't that great.

That aside, the site is running on Adobe CF 9 which happened to be donated to me by Adobe for the other Wheels site I wrote called workingwithcfml.com. That being said, Im not sure using software they gave me to help promote Railo would be "ethical".

Anyways, it was just meant to be a fun little learning project. Im hoping to have the GitHub repo opened up later today.

- Russ

Chris Peters

unread,
Sep 15, 2011, 11:45:49 AM9/15/11
to cfwh...@googlegroups.com
Very nice work, Russ. I dig the design!

John C Bland II

unread,
Sep 15, 2011, 11:49:18 AM9/15/11
to cfwh...@googlegroups.com
Ah...understood. :-D

Cathy Shapiro

unread,
Sep 15, 2011, 12:57:06 PM9/15/11
to cfwh...@googlegroups.com
Russ, this is great!
Love some positive hype about CF
Flash Pro Design
4646 Poplar, Suite 517
Memphis, TN 38117

Phone: (901) 767-8767
Fax: (901) 685-9054

http://www.flashprodesign.com

Per Djurner

unread,
Sep 15, 2011, 3:54:27 PM9/15/11
to cfwh...@googlegroups.com
Nice site, I tweeted something just so that I would show up on it! :)

Alex You

unread,
Sep 15, 2011, 7:14:56 PM9/15/11
to cfwh...@googlegroups.com
What a great stuff. 

Brandon

unread,
Sep 15, 2011, 11:35:17 PM9/15/11
to cfwh...@googlegroups.com

Very nice, great work!

squa...@gmail.com

unread,
Sep 16, 2011, 4:25:43 AM9/16/11
to cfwh...@googlegroups.com, "Brandon"

Nice job!! I learnt that for no sql, couchdb would need no cfwheels Driver as it uses http calls for data access. Once again, great job.


Troy Murray

unread,
Sep 16, 2011, 9:46:22 AM9/16/11
to cfwh...@googlegroups.com
Brandon,

You bring up an interesting point. I haven't had a chance to fire-up
CouchDB/MongoDB yet, but do these work with CFWheels?

-t

--
Troy Murray

Chris Peters

unread,
Sep 16, 2011, 9:49:41 AM9/16/11
to cfwh...@googlegroups.com
No. New adapters would need to be created, and the ORM would need to be modified to work with HTTP calls instead of database queries (or whatever some of the NoSQL engines need).

Chris Peters

unread,
Sep 16, 2011, 9:51:00 AM9/16/11
to cfwh...@googlegroups.com
That is if you want for stuff like validation and the standard create/find/update/delete/etc. methods to work out of the box.

Russ Johnson

unread,
Sep 16, 2011, 10:22:43 AM9/16/11
to cfwh...@googlegroups.com
Sounds like a good idea for a plugin.

Someone should write that ;)

- Russ

Brandon Moser

unread,
Sep 16, 2011, 12:39:58 PM9/16/11
to cfwh...@googlegroups.com
For our webservice calls (yes, we need to update the team with our architecture) we just emulate the model, but make calls to a webservice instead of a query. ORM is not possible (at this point), but with NoSQL databases, there is no defined structure, so the ORM part is not entirely necessary.
Reply all
Reply to author
Forward
0 new messages