Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint

Let's plan

So, we want to store, manage, and display user-organized events and the birthdays of our members on the site. In itself, this is fairly trivial; we can simply list any events occurring within the next X days, and allow our users to paginate through the results. This of course, isn't a very user friendly approach; a more user friendly approach would be to display the events within a calendar, which is somewhat more complicated.

Because a calendar is something we will most likely want to reuse throughout our network, and because of the complexities that come with it, it is important for us to plan what we need it to do. We will create a calendar library file, a class that can be re-used throughout Dino Space, while we will also create controllers to display the primary calendar. The library file will do most of the work for us, so that we can re-use it in any number of other controllers we need.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial