[Pharo-project] Pharo Morphic View Application Framework
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...
did you see what benjamin is doing with Spec. Because you should join effort the idea is that we can define object with spec and compose them and their logic using value holder. Stef On Jan 31, 2012, at 5:58 AM, S Krish 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...
This chapter is a little out to date, I will correct it this afternoon and resume my work on Spec :) It's really interesting to have some feedback :) Ben On Jan 31, 2012, at 9:09 AM, Stéphane Ducasse wrote:
did you see what benjamin is doing with Spec. Because you should join effort
<Spec.pdf>
the idea is that we can define object with spec and compose them and their logic using value holder.
Stef
On Jan 31, 2012, at 5:58 AM, S Krish 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...
Sure I will review this pdf.. and come back on this..how well should integrate the specs part.. The framework though is based on the spec and extensibly on direct composition and does a little more towards building a scalable/ flexible framework that incorporates in one simpler hierarchy all that goes into a standard large application creation.. How is the Presenty work supposed to work along with this..? On 1/31/12, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:
did you see what benjamin is doing with Spec. Because you should join effort
On Jan 31, 2012, at 1:23 PM, S Krish wrote:
Sure I will review this pdf.. and come back on this..how well should integrate the specs part..
but Spec is a spec based UI builder.
The framework though is based on the spec and extensibly on direct composition and does a little more towards building a scalable/ flexible framework that incorporates in one simpler hierarchy all that goes into a standard large application creation..
Ok but did you ***read*** what benjamin said: he iterated on it and now it is a good basis to build support for a lot of widgets. Have a look at his document. It would be good to avoid to have several frameworks doing the same. For example I would like to have more tests. The prototype part is open. We did not think much about it.
How is the Presenty work supposed to work along with this..?
On 1/31/12, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:
did you see what benjamin is doing with Spec. Because you should join effort
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...
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...
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...
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...
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: <Pharo-project@lists.gforge.inria.fr> 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...
http://squeaksource.com/PharoGoodies/Table-Support-SKR-skrish.7.mcz Moved the class into this package to break cyclical dependency.. *********************** But as promised a clean kernel package without dependencies http://squeaksource.com/PharoGoodies/PharoMorphicView-Core-App-skrish.3.mcz Requires nothing else Sudhakar krishnamachari Extn 91-40403012 Cell 9902104814 On Feb 4, 2012, at 9:54 PM, "Lorenzo Schiavina" <lorenzo@edor.it> 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: <Pharo-project@lists.gforge.inria.fr> 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...
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...
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...
On Feb 5, 2012, at 12:19 PM, Schwab,Wilhelm K wrote:
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.
I would love that :) Spec so far: Models based on valueHolder to reuse widgets configuration AND logic declarative specification of UI Next steps - Support more widgets: - combox - drop box - start to rewrite most of the UI with Spec - file list - changesorter - boostrap a UI Builder - first steps a spec presenter - then a click and place - add present like prototype idea propagation - Get more people helping/using/... Stef
Stef, It sounds great, and I will indeed help where I can. I also have some code (see separate plea for help re gofer or any non-mc way to upload files) that might help. If you have past me in some areas, WONDERFUL. I'm on the mend from a bug last week, so I'm not 100% just yet (feeling much better though). More to come. Again, one thing that I would really like to see is the ability to deeply nest MVP triads. Layout has been the hardest part of getting that to work. You seem to be on good ground in terms of connecting models. MVP is tough on newbies (we never understood why that is), but very much worth the effort. My goal has been to create an MVP infrastructure with "just a little Seaside" feel to coding. Don't ask why, but I think that would be a nice fit with Pharo, and would allow us to defer what should be a long-term goal of making a view editor. With very good coding idioms, we can defer the editor w/o losing much (I think). 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 6:27 AM To: Pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] Pharo Morphic View Application Framework On Feb 5, 2012, at 12:19 PM, Schwab,Wilhelm K wrote:
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.
I would love that :) Spec so far: Models based on valueHolder to reuse widgets configuration AND logic declarative specification of UI Next steps - Support more widgets: - combox - drop box - start to rewrite most of the UI with Spec - file list - changesorter - boostrap a UI Builder - first steps a spec presenter - then a click and place - add present like prototype idea propagation - Get more people helping/using/... Stef
Ok what I suggest is to - build the smallest case so that others can understand the forces in presence (this is what we did with Spec) in fact we started with one button and a list. - have a look at spec (the code is small) and how we could integrate your ideas to it. On Feb 5, 2012, at 12:42 PM, Schwab,Wilhelm K wrote:
Stef,
It sounds great, and I will indeed help where I can. I also have some code (see separate plea for help re gofer or any non-mc way to upload files) that might help. If you have past me in some areas, WONDERFUL.
I'm on the mend from a bug last week, so I'm not 100% just yet (feeling much better though). More to come.
Again, one thing that I would really like to see is the ability to deeply nest MVP triads. Layout has been the hardest part of getting that to work. You seem to be on good ground in terms of connecting models. MVP is tough on newbies (we never understood why that is), but very much worth the effort.
My goal has been to create an MVP infrastructure with "just a little Seaside" feel to coding. Don't ask why, but I think that would be a nice fit with Pharo, and would allow us to defer what should be a long-term goal of making a view editor. With very good coding idioms, we can defer the editor w/o losing much (I think).
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 6:27 AM To: Pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] Pharo Morphic View Application Framework
On Feb 5, 2012, at 12:19 PM, Schwab,Wilhelm K wrote:
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.
I would love that :)
Spec so far: Models based on valueHolder to reuse widgets configuration AND logic
declarative specification of UI
Next steps - Support more widgets: - combox - drop box
- start to rewrite most of the UI with Spec - file list - changesorter
- boostrap a UI Builder - first steps a spec presenter - then a click and place
- add present like prototype idea propagation - Get more people helping/using/...
Stef
On Feb 5, 2012, at 12:27 PM, Stéphane Ducasse wrote:
On Feb 5, 2012, at 12:19 PM, Schwab,Wilhelm K wrote:
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.
I would love that :)
Spec so far: Models based on valueHolder to reuse widgets configuration AND logic
declarative specification of UI
Next steps - Support more widgets: - combox - drop box
What do you mean by dropbox ? Because there already is drop list ;)
- start to rewrite most of the UI with Spec - file list - changesorter
I am working on Changesorter, and it's easier than I thought (at least the UI part ^^)
- boostrap a UI Builder - first steps a spec presenter - then a click and place
- add present like prototype idea propagation - Get more people helping/using/...
Stef
Ben
On Feb 5, 2012, at 2:59 PM, Benjamin wrote:
On Feb 5, 2012, at 12:27 PM, Stéphane Ducasse wrote:
On Feb 5, 2012, at 12:19 PM, Schwab,Wilhelm K wrote:
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.
I would love that :)
Spec so far: Models based on valueHolder to reuse widgets configuration AND logic
declarative specification of UI
Next steps - Support more widgets: - combox - drop box
What do you mean by dropbox ? Because there already is drop list ;)
The widget with a button on top and a list below.
- start to rewrite most of the UI with Spec - file list - changesorter
I am working on Changesorter, and it's easier than I thought (at least the UI part ^^)
;)
- boostrap a UI Builder - first steps a spec presenter - then a click and place
- add present like prototype idea propagation - Get more people helping/using/...
Stef
Ben
On Feb 5, 2012, at 3:09 PM, Stéphane Ducasse wrote:
On Feb 5, 2012, at 2:59 PM, Benjamin wrote:
On Feb 5, 2012, at 12:27 PM, Stéphane Ducasse wrote:
On Feb 5, 2012, at 12:19 PM, Schwab,Wilhelm K wrote:
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.
I would love that :)
Spec so far: Models based on valueHolder to reuse widgets configuration AND logic
declarative specification of UI
Next steps - Support more widgets: - combox - drop box
What do you mean by dropbox ? Because there already is drop list ;)
The widget with a button on top and a list below.
I don't get it
- start to rewrite most of the UI with Spec - file list - changesorter
I am working on Changesorter, and it's easier than I thought (at least the UI part ^^)
;)
- boostrap a UI Builder - first steps a spec presenter - then a click and place
- add present like prototype idea propagation - Get more people helping/using/...
Stef
Ben
participants (6)
-
Benjamin -
Krishsmalltalk -
Lorenzo Schiavina -
S Krish -
Schwab,Wilhelm K -
Stéphane Ducasse