Le 19 déc. 2014 20:16, "Sean P. DeNigris" <s...@clipperadams.com> a écrit : > > jfabry wrote > > as a user of the framework you should not really come in contact much. > > Well the API is not bad (although it can seem a little heavy-weight when > spiking to create a class, implement #defaultSpec, #initializeWidgets, > #initializePresenter, etc). But as we know Smalltalk blurs the distinction > between user and developer, and it's hard not to come in contact with the > ugliness. When something doesn't work as expected, or when drilling down to > see how existing tools work for inspiration, I've felt the internals as > serious barriers to understanding. > > As I understood it, Spec was supposed to be a framework agnostic facade so > one could describe once and e.g. deploy to both a js web UI and a Morphic > desktop UI, so it's meaningless to compare Morphic to Spec. > > What could be cool is, if we agree that the Spec Model API is pretty cool > (IMHO TextModel is much easier to work with than PluggableTextMorph to make > e.g. a method editor with highlighting and completion), then to reimplement > the Morphic widgets to use that API. Either way, since we control Spec and > Morphic, it seems that we should agree on a satisfying API and use the same > for both. > > I feel like that was a bit rambling so let me know if that didn't answer the > question. >
Morphic has the base elements right: * Events from Sensor * Morphs and gui loop * Stepping * Halos * Layouts For the other level, widgets the story is that Polymorph widgets is the most complete thing we have. Not perfect but the best we have in stock. Layouts aren't the best in the world either. But are workable. What we need is a set of nice base widgets. And themable ones at that. Spec is using the widgets and tries to adapt them. The declarative array is not the best but works. Of course the concept is not that explorable. For a quick Ui it is OK. For larger stuff I am not sure. Glamour is to build browser style things. Now the text edition widget is age old and TxText is moving forward. As an interim measure we do have Rubric which is cool but has been stopped by Alain. That's confusing at best. Bloc is a new kid around. At one point we need to come to terms with what we really need as a solid open source Smalltalk enabling business. We need a polar star as a reference. And the lack of current doc about Morphic is not helping. Phil > > > ----- > Cheers, > Sean > -- > View this message in context: http://forum.world.st/Question-about-Morphic-in-Pharo-4-tp4796331p4796471.html > Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com. > >