Intro to the Squeak environment. Getting Squeak Read instructions for working in labs linked from course web pages. –Save your Squeak.

Slides:



Advertisements
Similar presentations
1 FrontPage 2000 Online Tutorial The following tutorial aims to help you get started with FrontPage 2000 for the creation of basic web pages. The different.
Advertisements

How to Use Stowe School District
Operating Systems. Operating System (OS) The software that manages the sharing of the resources of a computer. Examples of Operating Systems ◦ Windows.
How can Microsoft PowerPoint 2007 help you share information?
Creating and Editing a Web Page Using Inline Styles
Assistive Technology Training Online (ATTO) University at Buffalo – The State University of New York USDE# H324M Overlay Maker.
MODULE 4 File and Folder Management. Creating file and folder A computer file is a resource for storing information, which is available to a computer.
Introduction to Windows File Management
Dreamweaver Basics In this section you will learn how to:
Fundamentals of Programming in Visual Basic 3.1 Visual basic Objects Visual Basic programs display a Windows style screen (called a form) with boxes into.
Advanced Last Updated: May Class Outline Part 1 - Review –Review of basics –Review of files and folders Part 2 - Attachments –Sending.
With Alex Conger – President of Webmajik.com FrontPage 2002 Level I (Intro & Training) FrontPage 2002 Level I (Intro & Training)
Computer Information Technology – Section 5. Desktop and Taskbar Objective: To understand file and folder names, how to create, edit, delete folders.
Computer Information Technology – Section 2-3. Desktop and Taskbar Objective: To understand file and folder names, how to create, edit, delete folders.
Education Google Calendar (GCal) English. Education Upon completion of this course, you will be able to:  Navigate the GCal interface  Search your calendar.
Working with SharePoint Document Libraries. What are document libraries? Document libraries are collections of files that you can share with team members.
Microsoft Office Illustrated Fundamentals Unit B: Understanding File Management.
Microsoft Expression Web - Illustrated Unit B: Creating a Web Site.
Lesson 1 – Microsoft Excel The goal of this lesson is for students to successfully explore and describe the Excel window and to create a new worksheet.
Using Dreamweaver. Slide 1 Dreamweaver has 2 screens that do different things The Document window where you create your WebPages The Site window where.
Advanced User Guide to Outlook and all its features.
XP New Perspectives on Browser and Basics Tutorial 1 1 Browser and Basics Tutorial 1.
Microsoft Outlook 2007 Basics Distance Learning (860) 343 – 5756 Chapman 633/632 Middlesex Community College Visit
CIS—100 Chapter 15—Windows Vista 1. Parts of a Window 2.
PMS /134/182 HEX 0886B6 PMS /39/80 HEX 5E2750 PMS /168/180 HEX 00A8B4 PMS /190/40 HEX 66CC33 By Adrian Gardener Date 9 July 2012.
Microsoft Windows Vista Chapter 1 Fundamentals of Using Microsoft Windows Vista.
1 2 Lab 2: Organizing Your Work. 2 Competencies 3 After completing this lab, you will know how to: 1. Use Explorer to manage files. 2. Copy files. 3.
Microsoft Windows 7 Part 1 Fundamentals of Using Windows 7.
CIS165 Desktop Publishing Microsoft Office Publisher 2007 Unit A – Getting Started.
Macromedia Dreamweaver 8-- Illustrated Introductory 1 Macromedia Dreamweaver 8 Unit E Using and Managing Images.
1 The EDIT Program The Edit program is a full screen text editor that allows you to: Create text files Create text files Edit an existing text files Edit.
1 ITI 1120 Lab # 1 An Introduction to the Lab Environment Contributors: G. Arbez, M. Eid, D. Inkpen, A. Williams, D. Amyot.
File Management Presented to The Glades Computer Club January 4, 2001.
Screen ViewModule Title: Notes: Branching Instructions: Audio Script: Page: Use Microsoft Outlook 1 Create a Distribution List A distribution list is a.
Computing Fundamentals Module Lesson 3 — Changing Settings and Customizing the Desktop Computer Literacy BASICS.
Quick guide on making PowerPoint slides  PowerPoint is a presentation program  A PowerPoint slideshow is a stack of slides being presented one after.
Computing Fundamentals Module Lesson 10 — File Management with Windows Explorer Computer Literacy BASICS.
RIGHT Mouse Button Formatting Cut Copy Paste Save LEFT Mouse Button MAIN BUTTON Single clicks Double clicks Drag Highlight.
Using Microsoft Visual Studio 2005 Original by Suma Rao Revised by John G. McMahon ( 9/6/2008 )
Basic Computer and Word Functions, part 1 Read the information and use to answer the questions in the Basic Computer and Word Functions Study Guide.
FrontPage Tutorial Part 2 Creating a Course Web Site.
Microsoft Office XP Illustrated Introductory, Enhanced with Programs, Files, and Folders Working.
CMPF124: Basics Skills for Knowledge Workers Manipulating Windows GUI.
Windows Top 10 Time Savers! Pickens Technical College Business Department.
Microsoft Office 2010 is the newest version of Microsoft Office, offering features that provide users with better functionality and easier ways to work.
The desktop (overview) Working with desktop icons The desktop is the main screen area that you see after you turn on your computer and log on to Windows.
HTML Concepts and Techniques Fifth Edition Chapter 3 Creating Web Pages with Links, Images, and Formatted Text.
1 After completing this lesson, you will be able to: Get around the Internet with your browser. Connect to the Internet. Print Web pages. Save Web pages.
PYP002 Intro.to Computer Science Microsoft Word1 Lab 04 - a Microsoft Windows Applications Common Features.
Windows XP Lab 2 Organizing Your Work Competencies.
M. D. Slaughter1 Microsoft Office PowerPoint 2003 Tutorial Lai 687 Instructional Design M. D. Slaughter.
Windows 95/NT/XP. What is Windows 95/NT/XP n A program that sets up an environment for you to work in on your computer, based on colorful pictures (icons)
Adding Shortcuts Topic 8 7/28/2010. What is a Shortcut? A shortcut offers a way of doing a task more quickly such as starting a program or accessing a.
Introducing Dreamweaver. Dreamweaver The web development application used to create web pages Part of the Adobe creative suite.
Creating and Editing a Web Page
CHAPTER 7 Exploring Microsoft Windows 7. Learning Objectives Identify the parts of the Windows 7 desktop Use common Windows elements Navigate Windows.
IS2803 Developing Multimedia Applications for Business (Part 2) Lecture 2: Introduction to IS2803 Rob Gleasure
XP New Perspectives on Microsoft Windows XP Tutorial 2 1 Microsoft Windows XP Working with Files Tutorial 2.
Creating and Editing a Web Page Using Inline Styles
Building a Website: Layout Fall Overall Structure: Home Page Title Section Title Frame Picture UNCP Math Menu Content Footer Contact Information.
Creating Web Pages with Links, Images, and Embedded Style Sheets
Word and the Writing Process. To create a document 1.On the Start menu, point to Programs, and then click Microsoft Word. A new document opens in Normal.
Microsoft Expression Web - Illustrated Unit A: Getting Started With Microsoft Expression Web.
XP New Perspectives on Creating Web Pages With Word Tutorial 1 1 Creating Web Pages With Word Tutorial 1.
Microsoft Windows 7 Chapter 2 Working with the Windows 7 Desktop.
© Ms. Masihi.  A Web page contains text and images that convey specific information to viewers.  To create a new web page, open Dreamweaver and select.
Computer Literacy BASICS
Word and the Writing Process
GETTING TO KNOW YOUR KEYBOARD
Module 6: Creating Web Pages and Working with Channels
Presentation transcript:

Intro to the Squeak environment

Getting Squeak Read instructions for working in labs linked from course web pages. –Save your Squeak image in your home directory –To run Squeak directly in your network home directory, you will have to map a network drive (Squeak doesn’t like Windows share paths.) Environment takes some getting used to: start as soon as you can!

Squeak and mice Squeak needs 3 buttons; many Mac/Windows machines have fewer Name buttons by color Windows mappings:usual meaning: –Redleft-click“move/select” –Yellowright-click“context menu” –BlueALT + left-click“window/Morphic menu” See Guzdial p. 42 (or Squeak page linked from course web) for other platforms

Squeak quick start: overview Goal: to get you up & coding quickly. 1.Create your own image 2.Create your own project 3.Bring up a workspace, browser, transcript 4.Evaluate some code in workspace 5.Define a class in browser

1. Create your own image 1.Red-click on desktop 2.Select “save as...” 3.Choose a filename.

Why create your own image? Actually, you don’t have to---Squeak allows you to undo any changes you make. But: I like having my own filename. –Keeps me from confusing it with other people’s images, the standard image, etc. Delete old image to save space –(can always re-download it) Drag and drop your image onto Squeak executable to run it. Remember to keep both.image and.changes

2: Create your own project Choose “open” -> “morphic project”. A little window will be created; this is an iconic view of your new project (initially empty)

Naming your project To rename any window, click on its title bar and type in a new name.

Entering your project You’ll get a blank desktop; this is your project. To leave your project, red-click on the desktop and select “previous project...” Red-click on your project icon and select “enter”.

Resizing your Squeak desktop Display can get messed up by some actions, e.g. window resize If you mess up your display, red-click on the desktop and select “restore display”

3. Bring up workspace, browser, and transcript 1.Red-click your project’s desktop. 2.Select “open” 3.Select “workspace”. 4.Repeat 2 and 3 for “browser” and “transcript”.

4. Evaluate code in workspace Type in an arithmetic expression. Select it and press Alt-p (Command-p on Macs) to “printIt” –(Make sure you use lowercase p !)

Executing code, ct’d To execute code without printing the result, select it and press Alt-d (Command-d on Macs). You can run all the examples from today’s handouts in the Workspace.

5. The system browser methods method categories classes class categories Code entry pane

Creating a class: overview a.Create a class category b.Define a class c.Define methods for this class d.Try out the class by instantiating it and sending some messages

(a) Creating a class category Yellow-click on category pane Select “add item...” Type in a name and “accept”. Your new category will appear in the category pane.

(b) Defining a class, part [1] 1.Red-click on your category. 2.An unfinished class declaration will appear in the code entry pane. 3.Change the “Object subclass #NameOfClass” line, replacing #NameOfClass with a class name, like “#Foo”.

(b) Defining a class, part [2] 4.Delete the class and instance variable names. 5.Use Alt-s (Command-s on Macs) to “Accept” your new class. Your new class should appear in the class pane.

(c) Defining methods [1] 1.Click on a category (e.g. “--all--”) in the method category pane. –An unfinished method declaration should appear in the code entry pane. 2.Enter some method text. For example...

(c) Defining methods [2] giveMe: aString repeated: numTimes “Repeats a string multiple times” | tempString | tempString := ‘’. numTimes timesRepeat: [ tempString := tempString, aString ]. ^ tempString

(c) Defining methods [3] Pres Alt-s to “Accept”. –You may be asked for your inititals. –Your method should appear in the method pane –A “not yet categorized” method category should be created.

(c) Defining methods [4] To define a method category, yellow-click on the category pane and select “new category...”

(c) Defining methods [5] You can assign your method a proper category by red-clicking on the method name, yellow-clicking to bring up a menu, then selecting “more...” -> “change category...”.

(d) Try out the class Go to your workspace or open a fresh one Type “x := YourClassname new.” (“Foo new” in this example). Select the text and doIt or printIt. Send a message to invoke the method you just defined. See what happens when you printIt.

Conclusion: What next? Poke around in the System browser. Get to know the Squeak fundamental libraries. Read the Guzdial book. Learn about the drawing and Morphic libraries. Experiment with code fragments we give you in class. If you want to know what X does in Smalltalk, try it out!