Hello , here is Hans , The Byte Surfer ,
the smalltalk code is from books of year 1992 and 1993 1988 and 1987.
I have a lot of books around the world . ALL of the Topic SMALLTALK 80. Only 80 !!!
Because i am a absolute beginner and want to learn smalltalk 80.
I realized that thing have changed. for example GUI programming
Mosttimes there is a optional library needed for creation. There is a optional IDE i know , for those things.
No Matter !
I dont know anything about the NEW TOOLS and Replacements in actual Smalltalk Engineering like PHARO.
Please tell me what i have to learn.
What is GUI IDE in Pharo. Do i have to learn Morpic. What else for Window and Buttons design ?
The Pharo ( and actual squeak ) have very much weight for a beginner.
Is it right , that all " NEW STUFF " is decribed in the two manuals : Pharo by Example + Deep into Pharo.
Or is there any other actual description about "Up to date programming Pharo" ????
Sincerely Your Friend
Hans The Byte Surfer
PS. Wish to have Smalltalk 80 from XEROX 1987 here. ha ha ha
On 26.11.2014 19:39, beginners-request@lists.squeakfoundation.org wrote:
Send Beginners mailing list submissions to beginners@lists.squeakfoundation.org
To subscribe or unsubscribe via the World Wide Web, visit http://lists.squeakfoundation.org/mailman/listinfo/beginners or, via email, send a message with subject or body 'help' to beginners-request@lists.squeakfoundation.org
You can reach the person managing the list at beginners-owner@lists.squeakfoundation.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of Beginners digest..."
Today's Topics:
1. Beginner wants to start graphic windows in Smalltalk 80 - need help (Hans Schueren) 2. Re: Beginner wants to start graphic windows in Smalltalk 80 - need help (David T. Lewis) 3. Re: Beginner wants to start graphic windows in Smalltalk 80 - need help (Michael Rice) 4. Re: Beginners Digest, Vol 102, Issue 13 (dnorton@mindspring.com) 5. Re: Re: Beginners Digest, Vol 102, Issue 13 (Raymond Asselin)
Message: 1 Date: Wed, 26 Nov 2014 14:10:42 +0100 From: Hans Schueren werbung@hans-schueren.de Subject: [Newbies] Beginner wants to start graphic windows in Smalltalk 80 - need help To: "beginners@lists.squeakfoundation.org" beginners@lists.squeakfoundation.org Message-ID: 5475D152.2070206@hans-schueren.de Content-Type: text/plain; charset=utf-8; format=flowed
To whom it may concern ,
may i ask for some help about standard graphic routines ?
As a beginner i just have learned all the first level SYNTAX of smalltalk 80.
Now , you can imagine , i am interested in writing little GUI windows and graphics for
placing some text in the right positions.
Theese are the statements i have studied from my material.
Does anybody know why the statements not work?
Are there any "replacements" for the syntax that i posted here as example ?
Have a nice day
HERE ARE THE EXAMPLES :
| window | window := ScheduledWindow new. window component: 'Hello World' asComposedText. window open
| window | window := ScheduledWindow new. window label: 'Fenster ohne Inhalt'. window minimumSize: 200 @ 100; maximumSize: 400 @ 300. window open
displayOn: aGraphicsContext 1 to: 10 do: [:i| aGraphicsContext translation printString asComposedText displayOn: aGraphicsContext. aGraphicsContext translateBy: 15 @ 15]
Greetings
Hans The Byte Surfer
Message: 2 Date: Wed, 26 Nov 2014 09:13:54 -0500 From: "David T. Lewis" lewis@mail.msen.com Subject: Re: [Newbies] Beginner wants to start graphic windows in Smalltalk 80 - need help To: "A friendly place to get answers to even the most basic questions about Squeak." beginners@lists.squeakfoundation.org Message-ID: 20141126141354.GA77002@shell.msen.com Content-Type: text/plain; charset=us-ascii
On Wed, Nov 26, 2014 at 02:10:42PM +0100, Hans Schueren wrote:
To whom it may concern ,
may i ask for some help about standard graphic routines ?
As a beginner i just have learned all the first level SYNTAX of smalltalk 80.
Now , you can imagine , i am interested in writing little GUI windows and graphics for
placing some text in the right positions.
Theese are the statements i have studied from my material.
Does anybody know why the statements not work?
Are there any "replacements" for the syntax that i posted here as example ?
Have a nice day
Hello Hans,
Can you please say what book or paper you are using? Also check if your learning material specifies what version of Smalltalk was used for the examples.
Your examples look like some version of the MVC user interface, which was the original (and still very interesting) user interface in Smalltalk and Squeak. Squeak still provides some support for MVC, so for example there probably is some equivalent to the ScheduledWindow class used in your example below. You may also be interested in other user interface approaches, such as Morphic, which are very different from MVC.
Dave
HERE ARE THE EXAMPLES :
| window | window := ScheduledWindow new. window component: 'Hello World' asComposedText. window open
| window | window := ScheduledWindow new. window label: 'Fenster ohne Inhalt'. window minimumSize: 200 @ 100; maximumSize: 400 @ 300. window open
displayOn: aGraphicsContext 1 to: 10 do: [:i| aGraphicsContext translation printString asComposedText displayOn: aGraphicsContext. aGraphicsContext translateBy: 15 @ 15]
Greetings
Hans The Byte Surfer
Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners
Message: 3 Date: Wed, 26 Nov 2014 12:08:52 -0500 From: Michael Rice limitcase@gmail.com Subject: Re: [Newbies] Beginner wants to start graphic windows in Smalltalk 80 - need help To: "A friendly place to get answers to even the most basic questions about Squeak." beginners@lists.squeakfoundation.org Message-ID: CAGw08vM7AVJMAP6PGHMY7EZdx_Mu7z4K06Sy2nNQfy0NBJu7MA@mail.gmail.com Content-Type: text/plain; charset="utf-8"
I was just browsing FormEditor. A lot has changed since the original MVC, some to make it compatible with Morphic, e.g., the instance method 'edit' of Form
edit "Open a form editor on this form."
Project current formEdit: self
As you can see, the current project has some responsibilities.
Project current -> a MVCProject (Unnamed) in a ControlManager
current "Answer the project that is currently being used."
^CurrentProject
a class variable of Project.
For Project:
formEdit: aForm "Start up an instance of the form editor on a form."
self subclassResponsibility
Subclasses of Project are MVCProject and MorphicProject
For MVCProject:
formEdit: aForm "Start up an instance of the FormEditor on a form..."
FormEditor openOnForm: aForm
Poking around in FormEditor and its associated classes, while tedious, can yield useful information on how these views, models, and controllers inter-operate.
Michael
On Wed, Nov 26, 2014 at 9:13 AM, David T. Lewis lewis@mail.msen.com wrote:
On Wed, Nov 26, 2014 at 02:10:42PM +0100, Hans Schueren wrote:
To whom it may concern ,
may i ask for some help about standard graphic routines ?
As a beginner i just have learned all the first level SYNTAX of smalltalk 80.
Now , you can imagine , i am interested in writing little GUI windows and graphics for
placing some text in the right positions.
Theese are the statements i have studied from my material.
Does anybody know why the statements not work?
Are there any "replacements" for the syntax that i posted here as
example ?
Have a nice day
Hello Hans,
Can you please say what book or paper you are using? Also check if your learning material specifies what version of Smalltalk was used for the examples.
Your examples look like some version of the MVC user interface, which was the original (and still very interesting) user interface in Smalltalk and Squeak. Squeak still provides some support for MVC, so for example there probably is some equivalent to the ScheduledWindow class used in your example below. You may also be interested in other user interface approaches, such as Morphic, which are very different from MVC.
Dave
HERE ARE THE EXAMPLES :
| window | window := ScheduledWindow new. window component: 'Hello World' asComposedText. window open
| window | window := ScheduledWindow new. window label: 'Fenster ohne Inhalt'. window minimumSize: 200 @ 100; maximumSize: 400 @ 300. window open
displayOn: aGraphicsContext 1 to: 10 do: [:i| aGraphicsContext translation printString asComposedText displayOn: aGraphicsContext. aGraphicsContext translateBy: 15 @ 15]
Greetings
Hans The Byte Surfer
Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners
Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners
Hans Schueren wrote:
Hello , here is Hans , The Byte Surfer ,
the smalltalk code is from books of year 1992 and 1993 1988 and 1987.
I have a lot of books around the world . ALL of the Topic SMALLTALK 80. Only 80 !!!
Because i am a absolute beginner and want to learn smalltalk 80.
Smalltalk 80 encompasses core language and libraries. Squeak and Pharo are direct decendents from Smalltalk 80, however Smalltalk was always meant to be an evolving system, and "Smalltalk 80" is just a snapshot from 1980 and all flavours of Smalltalk how moved over this time. The core language is the same but the libraries have moved a bit.
I realized that thing have changed. for example GUI programming
Mosttimes there is a optional library needed for creation. There is a optional IDE i know , for those things.
No Matter !
If you wish to use Pharo by Example, then its best to use the older image that the book was written for... http://www.pharobyexample.org/image/PBE-OneClick-1.1.app.zip
I believe its the same situation for Squeak... http://gforge.inria.fr/frs/download.php/4624/SqueakByExample-1.3.zip
Now Pharo By Example is about a third of the way through being updated to recent Pharo versions, but it takes time.
I dont know anything about the NEW TOOLS and Replacements in actual Smalltalk Engineering like PHARO.
Please tell me what i have to learn.
What is GUI IDE in Pharo. Do i have to learn Morpic. What else for Window and Buttons design ?
The Pharo ( and actual squeak ) have very much weight for a beginner.
Its heaviness is the paradigm shift in thinking about programming. Like all things, it gets easier after that hump. Now some say, "the only languages worth learning are those that change how you think about programming" I hope you stick with it. Ask many questions here.
After the By Example books, try... http://webcache.googleusercontent.com/search?q=cache:http://squeak.preeminen... (I don't know why the main site is down atm)
cheers -ben
Is it right , that all " NEW STUFF " is decribed in the two manuals : Pharo by Example + Deep into Pharo.
Or is there any other actual description about "Up to date programming Pharo" ????
Sincerely Your Friend
Hans The Byte Surfer
PS. Wish to have Smalltalk 80 from XEROX 1987 here. ha ha ha
beginners@lists.squeakfoundation.org