Stef, Dumb/lazy question with good intentions; what is spec? Too many code names :) I should be able to at least offer guidance on MVP; I've used it to great effect for years, and know the good and weak points. Bill ________________________________________ From: pharo-project-bounces@lists.gforge.inria.fr [pharo-project-bounces@lists.gforge.inria.fr] on behalf of Stéphane Ducasse [stephane.ducasse@inria.fr] Sent: Sunday, February 05, 2012 2:57 AM To: Pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] Pharo Morphic View Application Framework If you want to have a look at Spec Gofer new squeaksource: 'DirtyExperiments'; package: 'Spec'; version: 'Spec-BenjaminVanRyseghem.24'; load and you can just follow the examples On Feb 4, 2012, at 5:24 PM, Lorenzo Schiavina wrote:
Hi Krish,
when I load http://www.squeaksource.com/PharoGoodies/Table-Support-SKR-skrish.5.mcz I receive the error TableMorphResources unknow variable. What I am missing?
Thank you
Lorenzo ----- Original Message ----- From: Krishsmalltalk To: Krishsmalltalk Cc: Sent: Saturday, February 04, 2012 4:08 PM Subject: Re: [Pharo-project] Pharo Morphic View Application Framework
Though there is minor typos in PDF like this
(MorphicViewPackageBrowser new packageName: 'PharoMorphicView-Core ) open.
The package is a base I have... So correction there...
On Feb 4, 2012, at 8:34 PM, Krishsmalltalk <krishnamachari.sudhakar@gmail.com> wrote:
For the Packages listed in the PDF
Dependencies are: load these http://www.squeaksource.com/PharoGoodies/Table-Support-SKR-skrish.5.mcz http://www.squeaksource.com/PharoGoodies/Toothpick-skrish.7.mcz
http://www.squeaksource.com/XMLSupport/XML-Parser-AlexandreBergel.93.mcz http://www.squeaksource.com/XMLRPC/XMLRPC-Client-Core-GermanArduino.20.mcz
I will check and split out the dependencies to make it easy to load the first examples framework easier by tomorrow
Then load this..
http://www.squeaksource.com/PharoGoodies/PharoMorphicView-Core-skrish.6.mcz
Though if u load ignoring the errors the initial example will work fine... Without dependencies that is reqd for RPC integration
Should have the first set that will help you run through the example listed.
http://www.squeaksource.com/PharoGoodies/PharoMorphicView-Examples-PackageBr...
This should get you the example browser code to directly play with
http://www.squeaksource.com/PharoGoodies/PharoMorphicView-Examples-skrish.4.... http://www.squeaksource.com/PharoGoodies/PharoMorphicView-Tests-skrish.3.mcz
For the rest of the examples and tests..
Sudhakar krishnamachari
Extn 91-40403012 Cell 9902104814
On Feb 4, 2012, at 7:27 PM, "Lorenzo Schiavina" <lorenzo@edor.it> wrote:
Hi Krish,
I tryed to install http://www.squeaksource.com/PharoGoodies/ into Pharo 3.0, but I got several errors. Can you give me some hints for testing the package with the PDF you sent? Many thanks
Ciao
Lorenzo ----- Original Message ----- From: S Krish To: pharo-project@lists.gforge.inria.fr ; pharo-users@lists.gforge.inria.fr Sent: Saturday, February 04, 2012 11:31 AM Subject: Re: [Pharo-project] Pharo Morphic View Application Framework
The PDF documentation of the framework. Obliged for review/ read and comment and try out the first release..
Ben,
I have done a first read of the Spec and I will get my head around how this should be converge.. Will work on that.
Though I must note that the spec framework I have laid out is simplistic, flexible and uses the current framework of classes/ morphs without the ValueModel wrapper. Perhaps there is a common ground there, but I would like to emphasize on flexibility of spec and explicit construction to mix and built out has been central to the thought process.
On Tue, Jan 31, 2012 at 10:28 AM, S Krish <krishnamachari.sudhakar@gmail.com>wrote: http://skrishnamachari.wordpress.com/2012/01/31/pharo-application-framework-...
Obliged for feedback ...
For details and links.. Sharing this little framework that should go some way to ease creating large applications ( currently morphic oriented).
AbstractMorphicView subclass: #MyNewView â¦
#createMorphsSpecs
^{
âpanel1â² -> #SomeOtherView. âlabel1â² -> #LabelMorph. âtext1â² -> #PluggableTextMorph. âbutton1â² -> #PluggableButtonMorph. }
layoutSpecsArray
^{ âwidgetNameInMorphsDictionaryâ -> { #fractions -> (0 @ 0 corner: 1 @ 0.5). â fractional value 0 to 1 range â #offsets -> (10 @ 10 corner: 0 @ 0). â offsets relative to the fractional position â }.
â⦠add other widgetspecsâ¦â }
Thats it.. you should have a prototype UI neatly laid out.. and then specify: #morphsPrimaryPropertiesSpecs and #morphsSecondaryPropertiesSpecs for full functionality that composes views inside views and scales well.
AbstractSimpleMorphicView can make it simpler for TableLayout stuff without requiring #layoutSpecsArray.
..... the main post has other details and links to package...