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: [email protected] [mailto:[email protected]] On Behalf
Of Dave Shuck
Sent: Monday, June 14, 2010 3:36 PM
To: [email protected]
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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/

-- 
You received this message because you are subscribed to the "Houston ColdFusion 
Users' Group" discussion list.
To unsubscribe, send email to [email protected]
For more options, visit http://groups.google.com/group/houcfug?hl=en
Title: DFWCFUG Homework: Getting Started With ORM

DFWCFUG Homework: Getting Started With ORM

This homework example will explore ORM in ColdFusion 9. Use this HTML template for your output so that your populated data will be formatted like you see below. Let's see what you come up with and share with the group on July 13!

Create a new entry

This is our second entry!

So, maybe Lorem Ipsum isn't so bad after all. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum sed velit accumsan mauris fringilla rutrum. Etiam vehicula purus vitae libero hendrerit eu pretium magna ullamcorper. Nam arcu turpis, scelerisque nec mollis a, egestas ac quam. Praesent mi leo, semper sit amet adipiscing non, sodales ut magna. Proin nec accumsan augue. In at tellus lacus. Vestibulum consequat, mi a convallis pellentesque, massa est rutrum nisi, sed convallis leo mi sed velit. Fusce fermentum congue imperdiet. Morbi cursus iaculis arcu, sed varius arcu molestie vel. Integer interdum vulputate dolor nec tincidunt. In facilisis tellus ut elit iaculis cursus. Aliquam et nunc eget nibh lobortis malesuada id eget velit. Morbi hendrerit blandit ante sed molestie. Suspendisse a turpis tempor purus pulvinar aliquam sed ac dolor. Morbi quis varius lorem. In vitae mauris massa, eget semper velit. Ut porta aliquet metus, ac egestas quam suscipit et. Etiam auctor sem a turpis aliquam et tincidunt nulla interdum. Nunc non varius felis. Etiam vehicula eleifend quam id malesuada.

Add a comment
by Suzy Talksalot on June 14, 2010 2:16pm

This makes a lot of sense. Thanks for posting it!

This is our first entry!

Welcome our our homework assignment. This is the first entry in the system. There isn't really much to say, so I will just fill this space with a lot of unneccessarily verbosity, as that is by far superior to using some type of content filling tool that produces Latin text like "lorem ipsum...". Speaking of Lorem Ipsum, contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.

Add a comment
by Joe Commenter on June 14, 2010 2:16pm

First!

by Somedude Jones on June 14, 2010 2:20pm

Very inciteful comment as always from Joe Commenter!

Reply via email to