CF ORM

0 views
Skip to first unread message

Seth Bienek

unread,
Jun 15, 2010, 4:26:10 PM6/15/10
to hou...@googlegroups.com

 

Hey Y’all,

 

With our June meeting coming up next Wednesday, Billy Cravens speaking on advanced ORM and all, I found it timely and interesting what the Dallas CFUG is doing…  See Dave Shuck’s post to their discussion list below.

 

Any thoughts from y’all on “homework” like this?

 

Take Care,

 

Seth

 

 

From: dfw...@googlegroups.com [mailto:dfw...@googlegroups.com] On Behalf Of Dave Shuck
Sent: Monday, June 14, 2010 3:36 PM
To: dfw...@googlegroups.com
Subject: [DFW CFUG] Homework for the July meeting

 

As was discussed at the June monthly meeting, we are going to start a new concept in which we hand out a "homework assignment" to the group to work on for the next meeting.  Then instead of having a training topic in the first our, we will use that time to review and discuss various participants' approaches to solving the problem.  By no means is the homework mandatory, but you will likely get out of this exercise what you put into it.

For the first stab at this I thought that CF ORM would be a great topic.  As I told the group, I would provide a "spec" of sorts so that we would all be viewing the same end result, and the discussion would hopefully be limited to how we got there more than what we actually created.  For this example, I suggested the idea of an overly simple blog where we can create entries and entries can have comments.  I am attaching a dummy HTML template for our finished product.  Please note, this is intentionally plain and ugly.  I want the focus of this to be on the CFML, not the fancy client-side stuff that we can add in, as will be addressed in the requirements listed here:

  • No user authentication.  We will just assume that if you are on the page you can create an entry.
  • No ajax will be used.  For the comment form and for the new entry form, make them a separate CFML template.  Again, the intent here isn't on slick UI, but rather a clear way to separate the work for demonstration purposes.
  • There are only two objects in the model:  Entry and Comment.  An Entry will have a 1-n relationship to Comment
  • No frameworks.  Keep it raw! :)

Attached is the sample HTML that you will use for your blog.  Based on the example data you will see that Entries are ordered by descending creation date, and Comments are ordered by ascending creation date. 

Please reply to this thread for any comments of discussion on the assignment and most of all... have fun!  It will be interesting to see what everyone comes up with.


~Dave Shuck
/**************************************
blog: www.daveshuck.com
tweets: www.twitter.com/dshuck
cf peeps: www.dfwcfug.org
**************************************/

--
You received this message because you are subscribed to the Google Groups "Dallas/Fort Worth ColdFusion User Group" group.
To post to this group, send email to dfw...@googlegroups.com
To unsubscribe from this group, send email to dfwcfug-u...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/dfwcfug?hl=en
 
 
On October 19, 2007, we made the move to Google Groups from our previous list manager. If you are looking for messages prior to that date, you may want to search the archive here: http://www.mail-archive.com/list%40list.dfwcfug.org/

main_view.html

James Husum

unread,
Jun 15, 2010, 7:41:08 PM6/15/10
to hou...@googlegroups.com
Greetings,

I like the idea.

You received this message because you are subscribed to the "Houston ColdFusion Users' Group" discussion list.
To unsubscribe, send email to houcfug-u...@googlegroups.com
For more options, visit http://groups.google.com/group/houcfug?hl=en



--
James Husum
The Quixote Project - one guy's quest to make the world a better place - http://www.thequixoteproject.org/
Brainsludge - all the shtuff running around my brain - http://www.brainsludge.com/
Currently reading: The Shining Ones by David Eddings
Reply all
Reply to author
Forward
0 new messages