Docsity

Prototyping Interact System - Study Materials | CS 6452, Study notes of Computer Science

Partial preview of the text

Download Prototyping Interact System - Study Materials | CS 6452 and more Study notes Computer Science in PDF only on Docsity!

Welcome to CS6452!

Keith Edwards [email protected]

Some Preliminaries

Setting Expectations

 What does “Prototyping Interactive Systems” mean, anyway?

 The course title has caused a lot of confusion:

 (^) Not about using prototyping tools (e.g., Director)  Not about evaluating prototypes (take the HCI class for this)  (^) Instead, about the rapid creation of interactive systems through programming

 Emphasis on scripting languages and common technical idioms that

are useful across a breadth of CS

 Covers both theory and practice of pragmatic systems building

Programming and Prototyping

 What does programming have to do with prototypes?

 (^) It’s the final (and most time consuming) stage of the prototyping lifecycle  (^) Gives you the most high-fidelity approximation of a “real” system  (^) Useful for communicating with end-users, other developers, etc.

 How is prototype programming different than other programming?

 (^) Focus on rapid creation of basic functionality, appearance, behavior  (^) Less on dealing with errors, boundary conditions, performance, etc.

What Do We Mean By Practice?

 Software development with a focus on breadth, not depth

 Skills to produce high-fidelity interactive prototypes

 Skills to produce code that makes an argument : demonstration of

concepts

 HCC: skills to complete the computation portfolio requirement

 Skills in talking and writing about code

 Pragmatic development:

 (^) Scripting languages (Jython)  (^) Integration with non-scripting languages (Java)  (^) Multi-file development  (^) Command line tools  (^) GUIs, networking, threads, databases, web services, security, ...

What Do We Mean By Theory?

 Understanding why things work the way they do

 Understanding competing architectures and approaches

 (^) E.g., client-server versus peer-to-peer  E.g., different models for GUI programming

 Not just building systems for you to evaluate...

 ... but understanding the design choices embedded in systems, and

what those implications are for HCC

My Goals for this Class:

HCC and HCI students

 Hone your programming chops to the point where a medium-sized

project (say, 5000 lines of code) is not a terrifying prospect

 (^) Learn how to decompose a problem into manageable chunks  (^) Learn enough of the “idioms” of programming to be able to do more than just simple, straight-line programs

 Impart a few “meta skills” in the process

 (^) Communicating about software  (^) Communicating through software  How to appropriate (read: steal) others’ code and adapt it  (^) Basic software project management

 Basic understanding of a range of systems architectural choices

My Goals for This Class:

CS Students

 One-semester coverage of a broad range of CS topics that may not

be familiar to you

 (^) GUI toolkit internals, animation, and advanced techniques  (^) Peer-to-peer networking  (^) Security and cryptography  (^) ...

 Experience with scripting languages to the point where a large-sized

project (say, 50,000 lines of code) is not a terrifying prospect

 Practice bridging scripting and non-scripting languages

 Communication skills around software

 Basic understanding of a range of systems architectural choices

Course Structure

 Course is structured as a set of “modules”

 (^) Each module covers a subject area in CS  (^) Modules align with topics needed to complete a part of the project  Readings cover advanced topics related to each module

 Each module is roughly 2-3 weeks, but we’ll adapt as needed

 Roughly:

 (^) First half of class is lecture, mostly focused on practical concepts  (^) Second half is either paper discussion, or problem solving/lab  (^) Occasional: invited guest lectures on topics of interest

 Everybody works individually, but we’ll share experiences

 (^) Short in-class presentations toward the end of each module  (^) Describe the architecture of a portion of your prototype, how you solved a problem, what design choices were available, etc.

Modules

I. Asynchronous Programming

 (^) Event-based programming, callbacks, polling

II. Distributed Applications

 Idioms of networking, client-server, peer-to-peer

III. Web Services

 (^) XML, SOAP, using web services in practice, integration with Java code

IV. Data Management

 (^) Logging, instrumentation, data storage and querying, databases

V. Advanced Topics

 (^) TBD, but candidates include: security, hardware, research in prototyping

Exams

 Four exams this semester

 (^) Roughly one per module  (^) Non-cumulative  Combination of simple answer and essay  (^) Drawn from readings and in-class discussions

Grading Criteria

Project Implementation: how functional is your prototype? How well does it work? How well does it demonstrate the concepts taught in class? 40% In-class examinations (roughly one per module) 30% Class participation and attendance 20% In-class presentations 10%

What is Prototyping?

 The creation of artifacts that can be used to:

 (^) Assess the utility and usability of a proposed system, through evaluation  (^) Communicate design alternatives with various stakeholders  (^) The “customer”  (^) Engineers/builders  (^) Management

 Ideally, a prototype should

 (^) ... be quick enough to build to allow easy experimentation  ... have fidelity appropriate to demonstrate the desired concepts

Why Prototype?

 In two words: risk mitigation

 From an evaluation perspective, allows you to get feedback on

designs before there’s a huge investment in it

 From a design perspective, allows you to quickly experiment with

alternatives, cheaply