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: [email protected] ; [email protected] 
  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 <[email protected]> 
wrote:

    
http://skrishnamachari.wordpress.com/2012/01/31/pharo-application-framework-aka-morphic-view-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...


Reply via email to