Title:
1(No Transcript)
2(No Transcript)
3(No Transcript)
4(No Transcript)
5- In anything at all, perfection is finally
attained - not when there is no longer anything to add
- but when there is no longer anything to take away
. . .
. . . when a body has been stripped down to its
nakedness.
6(No Transcript)
7Just to be precise . . .
- The Naked Objects pattern
- The Naked Objects framework
8Best practice in contemporary business systems
design splits an application into four principal
layers
Presentation
Application, Process, Task or Controller
Domain object model
Persistence
9The Naked Objects Pattern eliminates the
controller layer by encapsulating all business
functionality on the entity objects
Presentation
Application, Process or Use-case controller
Domain object model
Persistence
10 And has a generic presentation layer that
automatically reflects the domain object model as
an object-oriented user interface
Presentation
Application, Process or Use-case controller
Domain object model
Persistence
11For a standalone system, or for prototyping, it
is also possible to auto-generate the persistence
from the same domain model
Presentation
Application, Process or Use-case controller
Domain object model
Persistence
12(No Transcript)
13There are four principal benefits of using the
Naked Objects Pattern
- Benefits to the development process
- Faster development cycle because you dont have
to develop any UI code - A common language between developers and users
during requirements analysis - Benefits to the developed product
- Improved object modelling leading to simpler and
more agile business systems - An empowering user interface
14CarServ A tale of two business applications
15(No Transcript)
16Java classes written Methods written Lines of code written Unique external method calls
CarServ1 A conventional 4-tier Java implementation 190 788 7304 101
CarServ2 Similar functionality re-written using Naked Objects 27 234 1666 49
excluding java.lang and java.util packages
17Using Naked Objects greatly facilitated
communication between developers and business
representatives, during the discussion of
requirements - Safeway Stores, survey of users
and developers
18Using naked objects we were able to prototype
the underlying object model at least as rapidly
as we could normally have prototyped screenshots
alone
19(Developers) I found that being able to
prototype in front of users to be an effective
way of working
20Using naked objects significantly improved my
understanding of object-oriented techniques in
general
21(Demo)
22DSFA users The new system permits me to better
deal with the needs of individual customers
23I value the flexibility that the system provides
in choosing how to undertake a task
24I like the look and feel of the user interface
on this system
25I am generally satisfied with the new system
26The system makes me feel more empowered as an
individual
27The new system contributes positively to my
sense of job satisfaction