DesignProjectX

Journal

2009-05-05

Creating a Data Structure in Symphony

Posted 2009-05-05 in Technology | XSL | XML | Text

Symphony CMS allows the developer the freedom to create a data structure that suits the content of the site. I won’t be straying far from the usual, to demonstrate the basics. We can always extend these data structures at any time, although, it’s better to have a clear idea in mind at the outset.

Types

I want to be able to blog and have a number of different types of content

  • Bookmarks
  • Books
  • Files
  • Photos
  • Sites

Sections

I want to organize my site content into sections

  • Resources
  • Calendar
  • Journal
  • Contact
  • About
  • Home

Categories

I also want to organize my site content in categories

  • Applications
  • Design
  • History
  • Ideas
  • Technology
  • Typography

Entries

Basic content entries don’t need much more than:

  • Title
  • Description
  • Body
  • Section
  • Category
  • Date
  • Publish

Items

Could be a lot of different items that get attached to entries or exist just on their own. Here’s where types of content come into play.

  • Title
  • URL
  • Type
  • Category
  • Date
  • Entry
  • Description
  • Body
  • Tags
  • Image
  • File
  • Publish

DesignProjectX | The digital sandbox of Stephen Bau