Home Contact

PD Versus-inspired Logophilduba.com

Adventures in Web Application Develompent by Phil Duba

Recent Entries

Popular Entries

Top Commenters

  • Nathan Mische (11)
  • CFdevfusion (6)
  • Peter Bell (4)
  • Rey Bango (3)
  • Terrence Ryan (3)
  • Scott (2)
  • Sean Corfield (2)
  • Jim Priest (2)
  • David (2)
  • Scott Stroz (2)

Slideshows

Pool Surprises...

Sponsored Links

Text Link Ads

New Philly CFUG Site - Getting Started

Posted On November 21, 2005 2:24 PM By Phil in Model-Glue,CFUG

Ok, a few weeks ago, Steve Rittler asked me to redo the Philadelphia ColdFusion User Group site. I've been playing around with ModelGlue for about two weeks now to get a good feel of how to implement certain things I want to. I'm not an expert on it, but I've got enough knowledge to start to put together a decent structure for a web site.
Alright, I started to try and figure out what I wanted on the website and realized that that could take forever. Instead of focusing on the design and front-end, I started where I probably should have from day one - the model. After looking at the old site and database, I determined I needed six "objects":

  • Meeting
  • Location
  • Presentation
  • Member
  • File
  • URL

- The Meeting class has an id, date, Location, and array of Presentations for its properties.
- The Location class has an id, Company, Address, City, State, Company URL, and Directions URL properties.
- The Presentation class has an id, title, presenter, teaser, array of Files, and an array of URLs for its properties
- The Member class has an id, first and last name, email, and url as its properites.
- The File and URL classes both have an id and path for its properties.

After figuring out the model, I then determined the number of controllers I needed. Initially, I only though of needing two: Meeting and Presentation, but realized I probably need a third, Administration. This is where I am at now, most of the design is done and, thanks to CFEclipse, the stubs for the components are completed as well. I'll be working on finishing the model and controllers needed for tomorrow's PACFUG presentation as well as stubs for viewing the items as well. I'll post my presentation tomorrow after the PACFUG meeting in a blog entry.

Comments

Post Your Comments

Captcha

If you subscribe, any new posts to this thread will be sent to your email address.