An Ectropic Example: The alarm clock, in ECoDE, ad nauseam Order of Operations: –I. Object Oriented Analysis (OOA). –II. Object Oriented Design (OOD).

Slides:



Advertisements
Similar presentations
EBSCO Discovery Service
Advertisements

Teacher Functions. Teacher Functions in OAS Create Tests Assign Tests to a Class View Reports of Student Performance.
Document Properties: adding information to your Microsoft Office documents Step 1: Add information to Document Properties What are Document Properties.
Indistar® Leadership Team Meetings. Where can we plan a meeting? Choose ‘Plan Your Meeting’ from the main menu screen Click on Meeting Agenda Setup.
AS ICT Building a complex multi-table form. Introduction In addition to the single table form and sub-form design wizard available in earlier versions,
Managing Your Organisation’s Portal Team Account Tutorial 7.
EXCEED® IEP Quick Start Card – Student Record/Events 1.Select the left vertical bar to close the student panel, giving more space for the student record.
Basic Response Letter Last Updated Basic Response Letter The response redesign in SERFF 5.6 introduces the concept of inline schedule item.
MP IP Strategy Stateye-GUI Provided by Edotronik Munich, May 05, 2006.
ASENT_MTTR.PPT Maintainability Predictions Last revised 8/11/2005.
1 of 6 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
Copyright 2003 : Ismail M.Romi, PPU. All Rights Reserved 1 بسم الله الرحمن الرحيم Palestine Polytechnic University College of Administrative science and.
Introduction To Form Builder
Reference Guide Module 2: Planning August 2014 Reference Guide Module 2: Planning August 2014.
6 th Annual Focus Users’ Conference Application Editor and Form Builder Presented by: Mike Morris.
Working with SharePoint Document Libraries. What are document libraries? Document libraries are collections of files that you can share with team members.
The chapter will address the following questions:
Access Tutorial 10 Automating Tasks with Macros
Chapter 9 Macros, Navigation Forms, PivotTables, and PivotCharts
OO Analysis and Design CMPS OOA/OOD Cursory explanation of OOP emphasizes ▫ Syntax  classes, inheritance, message passing, virtual, static Most.
RECRUITER CAMPAIGNS 101 HOW TO SET UP CAMPAIGNS FOR BEGINNERS Angela Skjeie Pacific University Oregon July 30, 2015 Enrollment & Student Services Track.
Visual Basic Chapter 1 Mr. Wangler.
Database Applications – Microsoft Access Lesson 9 Designing Special Queries Updated 4/11.
What is Sure BDCs? BDC stands for Batch Data Communication and is also known as Batch Input. It is a technique for mass input of data into SAP by simulating.
1 1 Lab1 Ismail M. Romi – IT Dept, PPU, Visual Basic 2005 Programming Tour.
Copyright © 2007, Oracle. All rights reserved. Managing Concurrent Requests.
Learning.com for New Users. This presentation will help educators… Login to Edit your Learning.com educator account Access resources.
FireRMS NEMSIS (Part 2) Presented by Laura Small FireRMS Quality Assurance.
Domain 3 Understanding the Adobe Dreamweaver CS5 Interface.
Microsoft Office 2007 Access Chapter 6 Using Macros, Switchboards, PivotTables, and PivotCharts.
Salt Suite User Guide (Copyright Salt ).
ASENT_MTTR_LAB.PPT Slide 1 Maintainability Prediction Lab Last revised 02/09/2011.
Selected Topics in Software Engineering - Distributed Software Development.
USING WORDPRESS TO CREATE A WEBSITE (RATHER THAN A BLOG) STEP-BY-STEP INSTRUCTIONS.
EditFileCritiqueHelp Ectropic Design Navigator Clock system from Squeak: OODMA by Mark Guzdial Classes Clock SecondsTicker Scenarios Second Goes By SecondsTicker:Pulse.
PearsonAccess April 14, PearsonAccess – Agenda Order Tracking Additional Orders Student Data Upload (SDU) files New Student Wizard Online Testing.
The Next Generation. Parent Access Grade History and Attendance.
Reports and Learning Resources Module 5 1. SLMS Primary Administrator Training Module 5: Reports and Learning Resources 2.
LATTICE TECHNOLOGY, INC. For Version 10.0 and later XVL Web Master Tutorial For Version 10.0 and later.
Go to your school’s web locker site Your user name is the first letter of your first name, the first four letters of.
Lab 1 : Introduction to LabView 1 Southern Methodist University Bryan Rodriguez.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco PublicPT Advanced 1 Packet Tracer: Advanced Session.
CSC480 Class Design Pepper. Goals How to design classes StarUML Code Generation.
USING WORDPRESS TO CREATE A WEBSITE (RATHER THAN A BLOG) STEP-BY-STEP INSTRUCTIONS.
CODE - GENERATION IT1006 OOAD LAB. Generating/Updating code from whole project  Round-trip engineering is the ability to generate model from source code.
Introduction to KE EMu
Online Catalog Tutorial. Introduction Welcome to the Online Catalog Tutorial. This is the place to find answers to all of your online shopping questions.
ServicePoint 5.0 Upgrade Overview 1. Navigation & Home Log in takes you to Home Page – New Look Home Page Banner Logos can be uploaded Agency/Program.
Data Migration Training Page 1 KE EMu Data Migration
Introduction to KE EMu Unit objectives: Introduction to Windows Use the keyboard and mouse Use the desktop Open, move and resize a.
Introduction to KE EMu Unit objectives: Introduction to Windows Use the keyboard and mouse Use the desktop Open, move and resize a.
Sorting Contacts with Categories Lunch and Learn.
XP New Perspectives on Macromedia Dreamweaver MX 2004 Tutorial 5 1 Adding Shared Site Elements.
Active-HDL Server Farm Course 11. All materials updated on: September 30, 2004 Outline 1.Introduction 2.Advantages 3.Requirements 4.Installation 5.Architecture.
Star UML and CRC Cards Pepper.
An informal, team oriented, OO design system
Visual Basic.NET Windows Programming
About SharePoint Server 2007 My Sites
CONTENT MANAGEMENT SYSTEM CSIR-NISCAIR, New Delhi
Administrator Training
Prepared By Sidra Noureen
Methods, Models, Madness
Ectropic Design: Support for Open Source Development
Object-Oriented Analysis
RAD-IT Tool Training June 2017 RAD-IT Tool Training
Analysis models and design models
Prepare a DD Form 1081-Return
ITEC324 Principle of CS III
Presentation transcript:

An Ectropic Example: The alarm clock, in ECoDE, ad nauseam Order of Operations: –I. Object Oriented Analysis (OOA). –II. Object Oriented Design (OOD). –III. Object Oriented Programming (OOP). This is a User Interface Walkthrough of the ECoDE (pronounced “echcoed”) design tool using the alarm clock example.

Starting ECoDE From the workspace, type “EctropicDesign start.” -Select new design.

The Main Window Note: -You start in Analysis mode. - In this mode, you can create new Scenarios and CRC Cards. New CRC Cards New Scenarios

Object Oriented Analysis i.e. (Analysis Mode) –1. Create scenarios for use that satisfy specific goals. –2. Brainstorm objects in the domain. –3. Apply responsibilities to objects (or several objects via collaborators) that implement scenarios.

OOA #1 – Create Scenarios How will the alarm clock operate? 1.Set the current time User sets the time in the display The internal time changes 2.Update time Time advances one second The internal time changes The display updates 3.Change modes - Display the time in military or standard time User switches the display mode The internal representation of time changes The display updates

OOA #1 – Create Scenarios How will the alarm clock operate? (cont.) 4. Create/Edit alarms with individual actions Set the alarm time and action Save the alarm 5. Execute alarms at the appropriate time When a second advances, check all alarms against the current time Execute all alarms that apply 6.Remove alarms User selects the appropriate alarm and removes it

OOA #1 – Create Scenarios 1. Create a new Scenario - Note: The naming convention does not allow punctuation in most elements of ECoDE New Scenari o

OOA #1 – Create Scenarios 2. Open the Scenario, add responsibilities - Note: When you add design notes, you must save that screen with “alt-s” or you will lose your notes. CRC Cards to be named later Design notes not saved yet

OOA #1 – Create Scenarios 3. Finish all your Scenarios - Note: You can also yellow button (“right- click” in Windows) on items for more detailed menus. “Right- Click-Able”

OOA #2 – CRC Cards (Brainstorm Objects) Objects (post-filtering) for the alarm clock: –Clock –AlarmClock –Alarm –SecondsTicker –Time

OOA #2 – Create CRC Cards 1. Create a new CRC Card New CRC Card

OOA #2 – Create CRC Cards 2. Open the CRC Card, add responsibilities -Note: These responsibilities should map to the scenario responsibilities they satisfy. In fact, you can select the responsibilities we created earlier in the scenarios.

OOA #2 – Create CRC Cards 3. Finish creating CRC Cards and begin assigning Responsibilities -Note: “Time” became “InternalTime” and “Alarm” became “AlarmSetting” because ECoDE does not let you create classes that already exist in Squeak. You could create the CRC Cards, but you cannot generate them.

OOA #3 – Assign Responsibilities 1. Assign collaborators and new responsibilities to accomplish our tasks -Note: Because we add “Execute all alarms that match current time” to AlarmClock, AlarmSetting now needs “Execute alarm action”

OOA #3 – Assign Responsibilities 2. Break responsibilities into atomic units -Note: “The internal time changes” has been divided into “Set time” and “Set mode”. This change was made in the scenarios as well.

OOA # 3 – Assign Responsibilities 3. Ensure that all responsibilities in the Scenarios have been assigned to a CRC Card. -Note: We have adjusted responsibility names to reflect the reduction into atomic units.

Object Oriented Design i.e. (Design Mode) –1. Assign method names to responsibilities. –2. Use ECoDE notes to build a UML class diagram. –3. Check design integrity and make any necessary changes.

OOD # 1 – Assign Method Names 1. Switch to Design Mode -Note: The color changes. Design Mode Button

OOD # 1 – Assign Method Names 2. Open CRC Cards and assign all your responsibilities a method name. -Note: You will be prompted for a method category (within the class) and a description (general comments).

OOD # 2 – Build UML Class Diagram Use your design to build a UML Class Diagram. -Note: This is a very limited design with glaring flaws. How would you design the Alarm Clock?

OOD # 3 – Integrity Check (Re)-Check the integrity of your design. -Note: The most basic checks will be made when you switch to Program Mode, but do not rely on ECoDE to find flaws in your design. Program Mode Button

Object Oriented Programming i.e. (Program Mode) –1. Generate Classes and Method Stubs. –2. Ensure that you have met your design goals.

OOP # 1 – Generate Classes 1. Switch to Program Mode -Note: (At the top) In the left hand frame are CRC Cards and in the right hand frame are classes that ECoDE has generated for this design. CRC Cards Generate d Classes

OOP # 1 – Generate Classes 2. Select the CRC Cards and click the “Code” button. -Note: You will be prompted for parent class and instance variables. -Note: I generated “Clock” before “AlarmClock” so I could specify “Clock” as the parent class of “AlarmClock”. “Code” this CRC Card

OOP # 2 – Ensure Design Goals At this point, you can open classes, browse classes, and open scenarios within program mode. This is how you can make sure the scenario requirements are met and the classes implement them how you want them too. GOOD LUCK!! Brows e Class Open Class