Skip to Main Content
Professional Cairngorm™
book

Professional Cairngorm™

by Jeremy Wischusen
November 2009
Intermediate to advanced content levelIntermediate to advanced
357 pages
8h 20m
English
Wrox
Content preview from Professional Cairngorm™

11.2. Project Overview

You are responsible for completing the following portions of the blogging application:

  • Main application MXML file

  • User registration

  • Login and logout

  • Addition of new posts

  • Loading of existing posts

  • Commenting system

  • Search capabilities

The data for the application is stored in a database with the following tables (you will learn more about the database and how you will access it in Chapter 13).

  • users: Stores user account information

  • posts: Stores the actual posts

  • comments: Stores comments associated with individual posts

  • categories: Stores the list of categories that posts can belong to

  • posts_view: A view that combines information from the other tables for ease of selection

You will access the data in this database via delegate classes. You do not need to know the particulars of the database other than what parameters you are expected to send and what information you will get back. In most cases you will be creating value objects that match the database column names so that these objects can be used to pass data to and from the database. (You will learn more about this process in Chapter 13.)

The requirements for the features you are responsible for are outlined in the sections that follow.

11.2.1. Main Application

The main application is not a feature per se, but since you'll need to be able to access things like the FrontController, and you need a place to test your classes, you're going to need to create a shell application to hold these components.

Additionally, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Professional Java® JDK®, 6th Edition

Professional Java® JDK®, 6th Edition

W. Clay Richardson, Jeff Scanlon, Donald Avondolio, Mark W. Mitchell, Scot Schrager

Publisher Resources

ISBN: 9780470497265Purchase book