Head First Design Patterns [www.amazon.com]
They do a good job of stressing extracting patterns from code as it eveolves, rather than designing patterns in before they are needed.
I am a little lost because I don't really write object oriented code, and never have used Java. One trick I am trying is rewriting the examples in Squeak (Smalltalk). An interesting consequence of this is the greater simplicity of the examples in Smalltalk, since you can leave out all the type definitions, as well as the simpler ways to define classes etc.
The next step I am taking is to conver the examples to the XOTcl object oriented extension to Tcl. Most of my code is in Tcl embedded in AOLserver for OpenACS, and there is growing interest in using XOTcl to improve code organization in OpenACS.
10:09 AM, 19 Apr 2006
by dave bauer
Permalink
| Comments (0)
categories:
OpenACS
,
Learning
,
Programming
MVC, beyond the scaffold [blog.amber.org]
I am certainly not singling out any one toolkit, I think that most descriptions of MVC describe the single model per controller example, and it really doesn't show you how to really use MVC.
David Heinemeier Hansson has said before that scaffolding is fun, but you will need to customize whatever automatically generated code comes out of it.
08:35 PM, 17 Apr 2006
by dave bauer
Permalink
| Comments (0)
categories:
OpenACS
,
Learning
,
Programming
,
Computer Science
| April 2006 | ||||||
| S | M | T | W | T | F | S |
| 1 | ||||||
| 2 | 3 | 4 | 5 | 6 | 7 | 8 |
| 9 | 10 | 11 | 12 | 13 | 14 | 15 |
| 16 | 17 | 18 | 19 | 20 | 21 | 22 |
| 23 | 24 | 25 | 26 | 27 | 28 | 29 |
| 30 | ||||||