Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Specific class layout query


Go to End


980 Views

Avatar
AdamJ

Community Member, 145 Posts

30 March 2009 at 11:53pm

Sorry for the generic title, wasn't quite sure how to word it.

Basically I am just looking for some guidence from the vets on how to get started on a little project.

A mate is part of a band, and wants a little online database to organise their gigs.

So the datastructure will look like this:

Gig

  • Name
  • Date
  • Time
  • Location

A gig can have many
Songs

  • Name
  • Artist
  • Location

A song has many
SongFiles

  • Name
  • File

(ie: the mp3, chord sheets, lyrics)

When someone logs in, they are able to see all the upcoming gigs, and view the songs they're going to be playing and grab the chord sheets. Or if they are practicing, they can go to a list of all the songs, and pick out a certain one and grab the chord sheet or whatever.

I looked through the wiki and at tutorial 5 but as what I'm trying to do is a bit different to what is there, I'm a bit confused as to how to layout all the classes and the getCMSFields/getCMSFields_forpopup.

Can anyone give me a clue as to how to take my first steps?

Thanks in advance!