Category Archives: Design Patterns
Design Patterns / Week 14
Designing a payroll system – Completed In the previous two posts, Design Patterns / Week 12 and Design Patterns / Week 13, the design of a payroll system was started. In this week’s class we will finalize the design, provide … Continue reading
Design Patterns / Week 13
Designing a payroll system – a possible solution The previous post, Design Patterns / Week 12, proposed a new example — a payroll system — that we will walk step-by-step: analysis, design and implementation. In this week’s class, we have … Continue reading
Design Patterns / Week 11
Patterns for compilers design A compiler, even for simple languages, is a complex system. With lots of objects, roles and distributed responsibilities, from parsing the input file and lexical analysis to bytecode generation. On the other side, clients need simple … Continue reading
Design Patterns / Week 10
User Operations (II) Performing some operations needs lot of consistent inputs from end-user. For example, font formatting requires end-user to input the name of the font, its style, size, and color etc. Some inputs are related to others, thus they … Continue reading
Design Patterns / Week 12
Designing a payroll system Now, that we learned about all 24 design patterns from GoF, let’s exercise them on an example: designing a payroll system for a corporation. There will be different paying schemes, different methods of payment to take … Continue reading
Design Patterns / Week 9
User Operations Now, it’s interactivity time! End-users need to interact with the system in order to accomplish various tasks. They need to open, edit, check, save or print their documents. They need to input data in the system. In a … Continue reading
Design Patterns / Week 8
Supporting Multiple Window Frameworks In a previous post we started the design of a cross-platform GUI framework supporting multiple LNF. A family of LNF-specific classes were introduced in the design. We shall see in this lecture how to connect these … Continue reading
Design Patterns / Week 7
Supporting Multiple Look & Feels (LNF) Designing Graphical User Interface (GUI) started last week. After seeing how Decorator pattern helps us to enrich objects’ functionalities without class proliferation, we’ll investigate this week how can we support different LNF in the … Continue reading
Design Patterns / Week 6
Embellishing the User Interface In previous classes we addressed the challenges related to document representation and its processing (formatting, user operations). For next weeks we will discuss about the Graphical User Interface (GUI) of our application and how to design … Continue reading
Design Patterns / Week 5
Spell checking, word counting… We shall remember the document structure. How an we implement document processing operations, such as spell and grammar checking, text searching, word counting, translation in another language, text to speech and so on? We want to … Continue reading