Re: [Pharo-users] Question about Morphic in Pharo 4

2014-12-19 Thread kilon alios
Then I guess it grew rapidly and radically out of control and became this monstrosity Where are the people running screaming , where are the superheroes to save the day ? Think about it, if Morphic was really ugly that started as something beautiful then someone would have rebooted

Re: [Pharo-users] Question about Morphic in Pharo 4

2014-12-19 Thread Sean P. DeNigris
Daniel Lyons wrote My impression is that Morphic must have started out as a small and beautiful core. Otherwise you wouldn't find so many people talking about how amazing it was in writings dated 10 years ago and earlier The idea is revolutionary and beautiful - that everything you see on the

Re: [Pharo-users] Question about Morphic in Pharo 4

2014-12-19 Thread Johan Fabry
Thanks Sean for your response, you may think its rambling but it gave me a good enough answer :-) Questions, motivated by your response, and apparently something that more people are uncomfortable with: #initializeWidgets versus #initializePresenter. The motivation for that is to have small

Re: [Pharo-users] Question about Morphic in Pharo 4

2014-12-19 Thread Johan Fabry
36 methods for your UI is way too much. I suppose you are doing something wrong somewhere. You should not need all of these steps. It should be: First you add the instance var (e.g. button) and accessors (BTW: Generate the accessors. It’s 3 keystrokes and a click), otherwise the UI object

Re: [Pharo-users] Question about Morphic in Pharo 4

2014-12-19 Thread Sean P. DeNigris
jfabry wrote with: #initializeWidgets versus #initializePresenter. The motivation for that is to have small methods (you know, Smalltalk style …) and to have clear responsibilities for each method (the first is for widgets, the second for their interaction). I guess since my dream is

Re: [Pharo-users] Question about Morphic in Pharo 4

2014-12-19 Thread kilon alios
yes you can find my code here https://github.com/kilon/Nireas On Sat, Dec 20, 2014 at 12:17 AM, Johan Fabry jfa...@dcc.uchile.cl wrote: 36 methods for your UI is way too much. I suppose you are doing something wrong somewhere. You should not need all of these steps. It should be: First

Re: [Pharo-users] Question about Morphic in Pharo 4

2014-12-19 Thread Johan Fabry
On Dec 19, 2014, at 21:54, kilon alios kilon.al...@gmail.com wrote: UI Element = an interactive graphical element displayed as part of the Graphical User Interface. UI Model = an object that contains the state and behavior of one or several UI elements. To define a user interface, it

[Pharo-users] Spec: pluggable widgets / label-input layout?

2014-12-19 Thread Daniel Lyons
Supposing I have a domain model, Activity, which looks like this: Object subclass: #Activity instanceVariableNames: 'title cost' classVariableNames: '' category: 'PERT' Then I have the expected accessors for title and cost. I make a Polymorph dialog for editing one of