Halhelms
SIGN UP FOR MY NEWSLETTER

www.savorgold.com is top on wow gold and runescape gold and World of Warcraft gold provider list for trusted services. Their reputation seems to growing by the minute, which isn't surprising because they are one of the safest sellers of Gold. Delivery speed and customer service are very good. They aslo are giving some bonus items depending on the amount of gold you purchase.

 
 
Halhelms

Recent Comments

Recent Entries

RSS

What I Learned From Rails, Part I: Faker

One thing that people coming to Ruby on Rails are struck by is the rich ecosystem. It's similar to jQuery with many plugins. I thought it might be helpful to translate a few plugins into CFML. This first installment deals with generating fake data -- ideal for populating a database.

The Rails plugin is called "Faker" -- and it itself is a port from Perl. I've implemented it using custom tags:

city email first_name full_name last_name last-name_first phone state zipcode

Calling any of those will provide a randomized, plausible value.

The files are available at: http://github.com/halhelms/Faker-for-CFML

Comments (Comment Moderation is enabled. Your comment will not appear until approved.)
David Buhler's Gravatar Hi Hal,

I have a similar project on RIAForge which may be of value: http://coldfusiondatagenerator.riaforge.org/

Feel free to use any part of it they may be of assistance.
# Posted By David Buhler | 9/12/10 4:34 AM
Hal Helms's Gravatar Oh, that's very good, David. Yours looks to be much more comprehensive than mine.
# Posted By Hal Helms | 9/12/10 11:21 AM
 
   
Clicky Web Analytics