CEWP559 Assignment 3: OOP and Design Patterns

Verified

Added on  2019/09/16

|16
|2346
|292
Practical Assignment
AI Summary
This practical assignment for CEWP559 involves designing a PHP program that utilizes object-oriented programming (OOP) concepts like polymorphism and design patterns such as Factory, Iterator, and Composition (optional). Students are tasked with creating a program to display multiple objects on a canvas, resulting in an image of a house. The assignment includes detailed instructions on project layout, directory structure, method structures for classes like Canvas.php, ShapeFactory.php, and ShapeIterator.php, and the creation of a factory to generate shapes. Testing is a crucial part, with appendices providing test driver code for general testing and graphic testing, along with sample XML input files. The final submission should include a zip file containing all code, XML files, a generated BMP image, and the results of the test runs. The assignment emphasizes modular development, suggesting students create each module separately before integrating them.
chevron_up_icon
1 out of 16
circle_padding
hide_on_mobile
zoom_out_icon
Loading PDF…
[object Object]