Skip to main content

Rounding Out Our Application, Part 1: Adding File Persistence

  • Chapter
Beginning C# 2008 Objects
  • 538 Accesses

Abstract

In Chapter 14, we built our first version of the Student Registration System (SRS) as a command line-driven application that focused on the domain classes called out by our model: Person, Professor, Student, Course, Section, ScheduleOfClasses, Transcript, and TranscriptEntry. The Main method of the SRS driver class was written simply to instantiate objects of the various types and to put them through their paces, as a means of testing that we’ve implemented the logic of their methods correctly. But, the SRS application as written isn’t useful as an industrial-strength application yet because

  • It uses string and numerical literals declared in the Main method of the driver code to initialize all of its objects/data.

  • It provides no means of saving the state of the objects from one invocation of the application to the next-a process known as persisting data.

  • Most industrial-strength information systems requiring significant user interaction rely on a graphical user interface (GUI) for such interaction.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 44.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 59.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Rights and permissions

Reprints and permissions

Copyright information

© 2008 Grant Palmer and Jacquie Barker

About this chapter

Cite this chapter

(2008). Rounding Out Our Application, Part 1: Adding File Persistence. In: Beginning C# 2008 Objects. Apress. https://doi.org/10.1007/978-1-4302-1087-0_15

Download citation

Publish with us

Policies and ethics