välkommen till gränssnitts- programmering, del icourse evaluation 2011 ! the good… • overall...

35
Department of Information Technology Uppsala University Välkommen till Gränssnitts- programmering, del I

Upload: others

Post on 09-Jul-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Välkommen till Gränssnitts- programmering, del ICourse evaluation 2011 ! The good… • Overall opinion about the course? (4.04) • The course framing (the way the course was planned

Department of Information Technology Uppsala University

Välkommen till Gränssnitts- programmering, del I

Page 2: Välkommen till Gränssnitts- programmering, del ICourse evaluation 2011 ! The good… • Overall opinion about the course? (4.04) • The course framing (the way the course was planned

Uppsala University

2012-01-16 | #‹#› @ UU/IT

File: devgui/ui/lang_sv.properties: ui.welcome = “Välkommen till” ui.course = “Gränssnitts- //

programmering, del I” ResourceBundle rb = ResourceBundle.getBundle(“devgui.ui.lang”); String welcomeString = rb.getString(“ui.welcome”); String courseString = rb.getString(“ui.course”);

Page 3: Välkommen till Gränssnitts- programmering, del ICourse evaluation 2011 ! The good… • Overall opinion about the course? (4.04) • The course framing (the way the course was planned

Uppsala University

2012-01-16 | #‹#› @ UU/IT

Oops!

File: devgui/ui/lang_sv.properties: ui.welcome = “Välkommen till” ui.course = “Gränssnitts- //

programmering, del I” ResourceBundle rb = ResourceBundle.getBundle(“devgui.ui.lang”); String welcomeString = rb.getString(“ui.welcome”); String courseString = rb.getString(“ui.course”);

Page 4: Välkommen till Gränssnitts- programmering, del ICourse evaluation 2011 ! The good… • Overall opinion about the course? (4.04) • The course framing (the way the course was planned

Uppsala University

2012-01-16 | #‹#› @ UU/IT

Internationalization!

File: devgui/ui/lang.properties: ui.welcome = “Welcome to” ui.course = “User interface // programming, part I” ResourceBundle rb = ResourceBundle.getBundle(“devgui.ui.lang”); String welcomeString = rb.getString(“ui.welcome”); String courseString = rb.getString(“ui.course”);

Page 5: Välkommen till Gränssnitts- programmering, del ICourse evaluation 2011 ! The good… • Overall opinion about the course? (4.04) • The course framing (the way the course was planned

Department of Information Technology Uppsala University

Welcome to User interface programming, part I

Page 6: Välkommen till Gränssnitts- programmering, del ICourse evaluation 2011 ! The good… • Overall opinion about the course? (4.04) • The course framing (the way the course was planned

Uppsala University

2012-01-16 | #‹#› @ UU/IT

Today §  About the course §  Registration issues §  About examination §  Access to code (SVN) §  NetBeans as IDE (Eclipse?) §  A little about Java and our requirements §  Java questions? §  Assignment 1

Page 7: Välkommen till Gränssnitts- programmering, del ICourse evaluation 2011 ! The good… • Overall opinion about the course? (4.04) • The course framing (the way the course was planned

Uppsala University

2012-01-16 | #‹#› @ UU/IT

Administration §  Teacher

•  Lars Oestreicher, room 1257a •  Simon Tschirner, room 1157 •  Mikael Laaksoharju, room 1254 (only diary)

§  Wiki-pages: •  http://www.it.uu.se/edu/course/homepage/devgui/vt12 •  News, changes, assignments, literature

§  Student portal •  http://www.studentportalen.uu.se/ •  Progress, assignment feedback as PDF, handouts

Page 8: Välkommen till Gränssnitts- programmering, del ICourse evaluation 2011 ! The good… • Overall opinion about the course? (4.04) • The course framing (the way the course was planned

Uppsala University

2012-01-16 | #‹#› @ UU/IT

Course evaluation 2011 §  The good…

•  Overall opinion about the course? (4.04) •  The course framing (the way the course was planned and executed

(3.78) •  The course examination (4.37)

§  The bad… •  Want more lectures •  Some people were not used to Java •  Hard work •  No experience in group meetings, seminars •  Unclear Examination Procedure/Criteria

Page 9: Välkommen till Gränssnitts- programmering, del ICourse evaluation 2011 ! The good… • Overall opinion about the course? (4.04) • The course framing (the way the course was planned

Uppsala University

2012-01-16 | #‹#› @ UU/IT

Course evaluation 2010 §  The good…

•  Overall opinion about the course? (4.04) •  The course framing (the way the course was planned and executed

(3.78) •  The course examination (4.37)

§  The bad… •  Want more lectures (again) •  Some people were not used to Java •  Hard work •  No experience in group meetings, seminar •  Unclear Examination Procedure/Criteria

§  The ugly…(???) •  We will do our best to make a better course (always)

Page 10: Välkommen till Gränssnitts- programmering, del ICourse evaluation 2011 ! The good… • Overall opinion about the course? (4.04) • The course framing (the way the course was planned

Uppsala University

2012-01-16 | #‹#› @ UU/IT

Changes

§  Try to make assignments even more even in work load

§  Clearer structure for group meetings §  Preparatory tutorials §  More support between meetings

Page 11: Välkommen till Gränssnitts- programmering, del ICourse evaluation 2011 ! The good… • Overall opinion about the course? (4.04) • The course framing (the way the course was planned

Uppsala University

2012-01-16 | #‹#› @ UU/IT

Course aim §  The course is about implementation and

construction – not graphic design! •  The focus is on learning how to implement

graphical user interfaces the ”right way”. •  Problem-based learning

•  The course is 100% practically oriented; scientific theories provide the base, but we’ll learn it through practical experience.

Page 12: Välkommen till Gränssnitts- programmering, del ICourse evaluation 2011 ! The good… • Overall opinion about the course? (4.04) • The course framing (the way the course was planned

Uppsala University

2012-01-16 | #‹#› @ UU/IT

Goal of the course §  After completing this course you will…

•  (know how to program in Java… really!) •  Be able to implement a graphic user interface •  Understand how GUI:s update “automagically” if

correctly implemented •  Know how to connect program logic with

presentation •  Be able to make your own graphic components •  Understand the use of Design Patterns •  (Be prepared for GuiDev II)

Page 13: Välkommen till Gränssnitts- programmering, del ICourse evaluation 2011 ! The good… • Overall opinion about the course? (4.04) • The course framing (the way the course was planned

Uppsala University

2012-01-16 | #‹#› @ UU/IT

Requirements…

§  From you…

Lots of programming practice

Learning to program needs actual programming!

Page 14: Välkommen till Gränssnitts- programmering, del ICourse evaluation 2011 ! The good… • Overall opinion about the course? (4.04) • The course framing (the way the course was planned

Uppsala University

2012-01-16 | #‹#› @ UU/IT

Requirements…

§  From you…

Lots of programming practice

Learning to program needs actual programming! Lots of programming!!

Page 15: Välkommen till Gränssnitts- programmering, del ICourse evaluation 2011 ! The good… • Overall opinion about the course? (4.04) • The course framing (the way the course was planned

Uppsala University

2012-01-16 | #‹#› @ UU/IT

Requirements…

§  From you…

Lots of programming practice

Learning to program needs actual programming! Lots of programming!!

Lots and lots and lots of programming!!!

Page 16: Välkommen till Gränssnitts- programmering, del ICourse evaluation 2011 ! The good… • Overall opinion about the course? (4.04) • The course framing (the way the course was planned

Uppsala University

2012-01-16 | #‹#› @ UU/IT

Course setup §  Group work

•  Tools for group-based code development •  Similar to industry style of work

§  4 assignments •  New assignments handed out every second week •  Assignments turned in every second week

§  Literature •  Bruce Eckel: Thinking in Java (online) •  The net (articles and web pages)

Page 17: Välkommen till Gränssnitts- programmering, del ICourse evaluation 2011 ! The good… • Overall opinion about the course? (4.04) • The course framing (the way the course was planned

Uppsala University

2012-01-16 | #‹#› @ UU/IT

The best programming tool?

Page 18: Välkommen till Gränssnitts- programmering, del ICourse evaluation 2011 ! The good… • Overall opinion about the course? (4.04) • The course framing (the way the course was planned

Uppsala University

2012-01-16 | #‹#› @ UU/IT

The best programming tool?

GOOGLE

Page 19: Välkommen till Gränssnitts- programmering, del ICourse evaluation 2011 ! The good… • Overall opinion about the course? (4.04) • The course framing (the way the course was planned

Uppsala University

2012-01-16 | #‹#› @ UU/IT

The best programming tool?

GOOGLE

If you don’t know how to use Google, now it’s the time to learn! REALLY!

Page 20: Välkommen till Gränssnitts- programmering, del ICourse evaluation 2011 ! The good… • Overall opinion about the course? (4.04) • The course framing (the way the course was planned

Uppsala University

2012-01-16 | #‹#› @ UU/IT

Examination §  Practical experience (Learning by doing) §  No written exam. Grade based on:

•  The group’s overall result •  Presentation/documentation of solutions

•  Individual diary •  Individual activity and shown understanding

during group sessions •  Individual Interview (!)

Page 21: Välkommen till Gränssnitts- programmering, del ICourse evaluation 2011 ! The good… • Overall opinion about the course? (4.04) • The course framing (the way the course was planned

Uppsala University

2012-01-16 | #‹#› @ UU/IT

Grading §  Use existing components from an interface library to build an interactive

user interface §  Be able to produce an interface that has support for several languages,

by separating linguistic contents from program code §  Separate a GUI's behavior from its appearance (MVC) §  Produce responsive interface §  Structure program code in a way so that the different parts of the code

are independent of one another §  To plan and create solutions where the visual presentation are

independent of the underlying data structure §  Present individual and group results in discussions and seminars §  On the basis of a plan be able to implement an interactive interface

§  Grades: 3, 4, or 5; or ECTS (A-F) grades

Page 22: Välkommen till Gränssnitts- programmering, del ICourse evaluation 2011 ! The good… • Overall opinion about the course? (4.04) • The course framing (the way the course was planned

Uppsala University

2012-01-16 | #‹#› @ UU/IT

Weekly group sessions

§  45 min; probably 4 groups per meeting §  Mandatory: if you are prevented from

attending, report this to Lars or Simon before the meeting •  You will get an extra assignment if not attending

(writing a short paper about a specific topic) §  Be prepared!

•  Prepare any questions you might have •  Bring code, screenshots

Page 23: Välkommen till Gränssnitts- programmering, del ICourse evaluation 2011 ! The good… • Overall opinion about the course? (4.04) • The course framing (the way the course was planned

Uppsala University

2012-01-16 | #‹#› @ UU/IT

Previous assignment results

Page 24: Välkommen till Gränssnitts- programmering, del ICourse evaluation 2011 ! The good… • Overall opinion about the course? (4.04) • The course framing (the way the course was planned

Uppsala University

2012-01-16 | #‹#› @ UU/IT

Page 25: Välkommen till Gränssnitts- programmering, del ICourse evaluation 2011 ! The good… • Overall opinion about the course? (4.04) • The course framing (the way the course was planned

Uppsala University

2012-01-16 | #‹#› @ UU/IT

Page 26: Välkommen till Gränssnitts- programmering, del ICourse evaluation 2011 ! The good… • Overall opinion about the course? (4.04) • The course framing (the way the course was planned

Uppsala University

2012-01-16 | #‹#› @ UU/IT

Page 27: Välkommen till Gränssnitts- programmering, del ICourse evaluation 2011 ! The good… • Overall opinion about the course? (4.04) • The course framing (the way the course was planned

Uppsala University

2012-01-16 | #‹#› @ UU/IT

Page 28: Välkommen till Gränssnitts- programmering, del ICourse evaluation 2011 ! The good… • Overall opinion about the course? (4.04) • The course framing (the way the course was planned

Uppsala University

2012-01-16 | #‹#› @ UU/IT

Java §  All programming will be performed in Java,

with an editor and a compiler •  Suggestion: NetBeans (or Eclipse)

§  The user interface library - Java Swing §  To get well experienced in Java, it’s

important with individual studies and hands-on practice

§  If you are less experienced in Java, an initial effort will make everything a lot easier later on – tutorials are listed!

Page 29: Välkommen till Gränssnitts- programmering, del ICourse evaluation 2011 ! The good… • Overall opinion about the course? (4.04) • The course framing (the way the course was planned

Uppsala University

2012-01-16 | #‹#› @ UU/IT

Assignment Intro §  Individual task: §  Think…

•  through how you imagine this application § you are encouraged to draw sketches

•  about your requirements for such a tool •  about how the required functionality can be

expressed in the interface §  Important: Prepare any questions you have on the

Main assignment and Assignment 1 §  Handin on paper January 23 (keep a copy for you)

Page 30: Välkommen till Gränssnitts- programmering, del ICourse evaluation 2011 ! The good… • Overall opinion about the course? (4.04) • The course framing (the way the course was planned

Uppsala University

2012-01-16 | #‹#› @ UU/IT

Assignment 0 §  Overall project goal: a TODO-manager

•  Refined during the 4 assignments §  Deadline for assignment 1 is February 4.

•  Basic. Should not be too difficult. •  Focus is on getting started with your team

members and Java+SVN+IDE •  Check the course homepage for further

instructions

Page 31: Välkommen till Gränssnitts- programmering, del ICourse evaluation 2011 ! The good… • Overall opinion about the course? (4.04) • The course framing (the way the course was planned

Uppsala University

2012-01-16 | #‹#› @ UU/IT

SVN §  Apache Subversion

§  Handles different versions of your files and makes sure that everything is available at one place.

§  All of your code and other resources such as icons must be checked into the group’s SVN.

Page 32: Välkommen till Gränssnitts- programmering, del ICourse evaluation 2011 ! The good… • Overall opinion about the course? (4.04) • The course framing (the way the course was planned

Uppsala University

2012-01-16 | #‹#› @ UU/IT

Additional administration §  Registration (studentportalen) §  Group

•  4 persons/group §  Start to work early (today?). §  We’ll try to get the SVN:s up and running as

soon as possible. •  In the mean time, start planning the application! •  Assignment intro

Page 33: Välkommen till Gränssnitts- programmering, del ICourse evaluation 2011 ! The good… • Overall opinion about the course? (4.04) • The course framing (the way the course was planned

Uppsala University

2012-01-16 | #‹#› @ UU/IT

Help

§  Want more lectures on special topics? Ask!

§  Don’t hesitate to ask for help with compilation errors etc. •  Bring code: on paper, in laptop, in CVS

Page 34: Välkommen till Gränssnitts- programmering, del ICourse evaluation 2011 ! The good… • Overall opinion about the course? (4.04) • The course framing (the way the course was planned

Uppsala University

2012-01-16 | #‹#› @ UU/IT

TODO 1.  Think about the initial mini assignment!

Deadline: January 23 2.  Make sure your tools are working

•  SVN •  Java •  NetBeans, Eclipse

3.  After January 23: Start working on assignment 1

Page 35: Välkommen till Gränssnitts- programmering, del ICourse evaluation 2011 ! The good… • Overall opinion about the course? (4.04) • The course framing (the way the course was planned

Uppsala University

2012-01-16 | #‹#› @ UU/IT