29.11.2014 Views

Smalltalk and Object Orientation: an Introduction - Free

Smalltalk and Object Orientation: an Introduction - Free

Smalltalk and Object Orientation: an Introduction - Free

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 7: <strong>Smalltalk</strong> Constructs<br />

This chapter presents further details of the <strong>Smalltalk</strong> l<strong>an</strong>guage including the representation <strong><strong>an</strong>d</strong> use of<br />

numbers, strings <strong><strong>an</strong>d</strong> characters.<br />

Chapter 8: An Example <strong>Smalltalk</strong> Class<br />

In Chapter 7, the reader is presented with a detailed worked example of software development in<br />

<strong>Smalltalk</strong>. This example presents a very simple class definition which uses only those concepts which<br />

have been introduced at this stage. The intention is t o illustrate how the constructs <strong><strong>an</strong>d</strong> l<strong>an</strong>guage<br />

elements c<strong>an</strong> be combined in a real (if simple) program.<br />

Chapter 9: Control <strong><strong>an</strong>d</strong> Iteration<br />

This chapter introduces how control <strong><strong>an</strong>d</strong> iteration are achieved in <strong>Smalltalk</strong>. To do this a number of<br />

concepts which are un ique to <strong>Smalltalk</strong> are also discussed (such as the block object). To simplify this<br />

process for the reader, equivalent C constructs are illustrated beside <strong>Smalltalk</strong> constructs (where they<br />

exist).<br />

Chapter 10: The Collection Classes<br />

This chapter discusses pro bably the most widely used class hierarchy in <strong>Smalltalk</strong>; the collection class<br />

hierarchy. It presents the hierarchy in general <strong><strong>an</strong>d</strong> some of the commonly used collection classes. It also<br />

illustrates how these classes c<strong>an</strong> be used to construct other collection style classes such as queues <strong><strong>an</strong>d</strong><br />

stacks.<br />

Chapter 11: Further Collection Classes<br />

This chapter concludes the examination of the collection classes available in <strong>Smalltalk</strong> <strong><strong>an</strong>d</strong> presents <strong>an</strong><br />

application constructed using these classes.<br />

Chapter 12: An <strong>Object</strong> Oriented Org<strong>an</strong>izer<br />

This chapter presents a detailed example application constructed using the collection classes. The<br />

Org<strong>an</strong>izer is intended as <strong>an</strong> electronic personal Org<strong>an</strong>izer. It therefore possesses <strong>an</strong> address book, a<br />

diary (or appointments section) <strong><strong>an</strong>d</strong> a section for notes. The remainder of this chapter describes one way<br />

of implementing such <strong>an</strong> Org<strong>an</strong>izer.<br />

Chapter 13: Streams <strong><strong>an</strong>d</strong> Files<br />

This chapter discusses the second most used class hierarchy in <strong>Smalltalk</strong>; the Stream classes. The<br />

Stream classes are used (amongst other things) for accessing files. The Binary <strong>Object</strong> Streaming Service<br />

for storing objects in files is also discussed.<br />

Chapter 14: The Magnitude Class Hierarchy<br />

This chapter considers the magnitude class <strong><strong>an</strong>d</strong> those classes which inherit from it. This includes the<br />

Number hierarchy. The classes Character, Time <strong><strong>an</strong>d</strong> Date are also considered.<br />

Chapter 15: Some More Tools of the Trade<br />

This chapter introduces the use of breakpoints in <strong>Smalltalk</strong>, the purpose of the ch<strong>an</strong>ge list file <strong><strong>an</strong>d</strong> how<br />

to file in <strong><strong>an</strong>d</strong> file out <strong>Smalltalk</strong> code.<br />

Part 3: <strong>Object</strong> Oriented Design<br />

Chapter 16: <strong>Object</strong> Oriented Analysis <strong><strong>an</strong>d</strong> Design<br />

This chapter introduces the concepts of object oriented <strong>an</strong>alysis <strong><strong>an</strong>d</strong> design. It reviews a number of the<br />

more popular techniques such as OOA, OMT, <strong>Object</strong>or y <strong><strong>an</strong>d</strong> Booch. It also briefly considers the<br />

unification of the OMT <strong><strong>an</strong>d</strong> Booch notations.<br />

Chapter 17: The Unified Modeling L<strong>an</strong>guage<br />

The Unified Modeling L<strong>an</strong>guage (or UML for short) is a third generation object -oriented modeling<br />

l<strong>an</strong>guage which adapts <strong><strong>an</strong>d</strong> exte nds the published notations used in the Booch, OMT <strong><strong>an</strong>d</strong> <strong>Object</strong>ory<br />

methods. It is intended that the UML will form a single, common, widely usable modeling l<strong>an</strong>guage for<br />

3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!