soen343-week6 - SOEN 343 Software Design Section H Fall...

Info iconThis preview shows pages 1–8. Sign up to view the full content.

View Full Document Right Arrow Icon
SOEN 343 Software Design Section H Fall 2006 Dr Greg Butler http://www.cs.concordia.ca/~gregb/home/soen343h-f06.html
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Outline Encapsulation, Information Hiding Servlets MVC GRASP Controller principle (Larman 17.13) Using servlets In Fowler’s EAA Fowler’s data handling patterns
Background image of page 2
Encapsulation A programming/design language mechanism. A packaging / scoping mechanism for names Names can refer to data, types, … Especially, a means of packaging data. Data Access points at interface
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Information Hiding Design principle by which a module is assigned a “secret”. A module’s secret is usually A design decision . What type of design decisions might we want to hide from the clients of a module?
Background image of page 4
Information Hiding Often one hides, e.g. Data representation. Choice of algorithm. Interface details / access mechanism of external entity (e.g. database, hardware) Goal: particular design choice “invisible” to clients. Why would we want to do this?
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Information Hiding Information Hiding may or may not be supported a the programming language level.
Background image of page 6
Servlets, The General Idea Applet as a client side Java application. Servlet as a server side technology for
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 8
This is the end of the preview. Sign up to access the rest of the document.

This document was uploaded on 03/28/2011.

Page1 / 33

soen343-week6 - SOEN 343 Software Design Section H Fall...

This preview shows document pages 1 - 8. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online