Writing a GUI - Where to start?
Hi all, I need to build a typical GUI application (menus, buttons, modal dialogs, ...). I'd appreciate if you could point me to where should I start and what are the choices for a UI framework in Pharo? TIA, -- Bahman Movaqar (http://BahmanM.com) ERP Evaluation, Implementation & Deployment Consultant PGP Key ID: 0x6AB5BD68 (keyserver2.pgp.com)
Hi, as I have a similar need, I guess what you are aiming at is a tutorial for absolute beginners in Spec, so the question is more "where could we find such a tutorial?". And of course I will read it carefully if there exists one ;-) Alain On Tue, Nov 5, 2013 at 9:07 AM, Bahman Movaqar <Bahman@bahmanm.com> wrote:
Hi all,
I need to build a typical GUI application (menus, buttons, modal dialogs, ...). I'd appreciate if you could point me to where should I start and what are the choices for a UI framework in Pharo?
TIA,
-- Bahman Movaqar (http://BahmanM.com)
ERP Evaluation, Implementation & Deployment Consultant PGP Key ID: 0x6AB5BD68 (keyserver2.pgp.com)
Some spec documentation can be found here: https://pharo.fogbugz.com/default.asp?W71 Otherwise there is an Example package in Spec :) There are also some example methods on Spec classes :) And then you can ask question here, I ill always reply :) Ben On 05 Nov 2013, at 08:36, Alain Busser <alain.busser@gmail.com> wrote:
Hi,
as I have a similar need, I guess what you are aiming at is a tutorial for absolute beginners in Spec, so the question is more "where could we find such a tutorial?". And of course I will read it carefully if there exists one ;-)
Alain
On Tue, Nov 5, 2013 at 9:07 AM, Bahman Movaqar <Bahman@bahmanm.com> wrote: Hi all,
I need to build a typical GUI application (menus, buttons, modal dialogs, ...). I'd appreciate if you could point me to where should I start and what are the choices for a UI framework in Pharo?
TIA,
-- Bahman Movaqar (http://BahmanM.com)
ERP Evaluation, Implementation & Deployment Consultant PGP Key ID: 0x6AB5BD68 (keyserver2.pgp.com)
If you want to do a business application, well, I'd use Seaside and a web based UI. (that's the current conclusion for my own ongoing development) Otherwise, Spec (which is in a state of flux), or Morphic (which is not covering all you may need in an application). You can also follow the work of Sean De Nigris who is trying to get a Magritte Morphic working. Phil On Tue, Nov 5, 2013 at 8:36 AM, Alain Busser <alain.busser@gmail.com> wrote:
Hi,
as I have a similar need, I guess what you are aiming at is a tutorial for absolute beginners in Spec, so the question is more "where could we find such a tutorial?". And of course I will read it carefully if there exists one ;-)
Alain
On Tue, Nov 5, 2013 at 9:07 AM, Bahman Movaqar <Bahman@bahmanm.com> wrote:
Hi all,
I need to build a typical GUI application (menus, buttons, modal dialogs, ...). I'd appreciate if you could point me to where should I start and what are the choices for a UI framework in Pharo?
TIA,
-- Bahman Movaqar (http://BahmanM.com)
ERP Evaluation, Implementation & Deployment Consultant PGP Key ID: 0x6AB5BD68 (keyserver2.pgp.com)
On 11/05/2013 11:46, phil@highoctane.be wrote:
If you want to do a business application, well, I'd use Seaside and a web based UI. (that's the current conclusion for my own ongoing development)
Of course. However this is not a business application. It's a front-end to a DVCS named Fossil.
Otherwise, Spec (which is in a state of flux), or Morphic (which is not covering all you may need in an application).
You can also follow the work of Sean De Nigris who is trying to get a Magritte Morphic working.
Where can I follow his work?
On Tue, Nov 5, 2013 at 8:36 AM, Alain Busser <alain.busser@gmail.com <mailto:alain.busser@gmail.com>> wrote:
Hi,
as I have a similar need, I guess what you are aiming at is a tutorial for absolute beginners in Spec, so the question is more "where could we find such a tutorial?". And of course I will read it carefully if there exists one ;-)
Alain
On Tue, Nov 5, 2013 at 9:07 AM, Bahman Movaqar <Bahman@bahmanm.com <mailto:Bahman@bahmanm.com>> wrote:
Hi all,
I need to build a typical GUI application (menus, buttons, modal dialogs, ...). I'd appreciate if you could point me to where should I start and what are the choices for a UI framework in Pharo?
-- Bahman Movaqar (http://BahmanM.com) ERP Evaluation, Implementation & Deployment Consultant PGP Key ID: 0x6AB5BD68 (keyserver2.pgp.com)
Here: http://www.smalltalkhub.com/#!/~Magritte/Magritte3/packages/Magritte-Morph Ah Fossil, good thing. Sqlite creator's all in one DVCS. It is what is used for another language I like: Tcl. http://www2.tcl.tk/36711 Phil On Tue, Nov 5, 2013 at 10:18 AM, Bahman Movaqar <Bahman@bahmanm.com> wrote:
On 11/05/2013 11:46, phil@highoctane.be wrote:
If you want to do a business application, well, I'd use Seaside and a web based UI. (that's the current conclusion for my own ongoing development)
Of course. However this is not a business application. It's a front-end to a DVCS named Fossil.
Otherwise, Spec (which is in a state of flux), or Morphic (which is not covering all you may need in an application).
You can also follow the work of Sean De Nigris who is trying to get a Magritte Morphic working.
Where can I follow his work?
On Tue, Nov 5, 2013 at 8:36 AM, Alain Busser <alain.busser@gmail.com <mailto:alain.busser@gmail.com>> wrote:
Hi,
as I have a similar need, I guess what you are aiming at is a tutorial for absolute beginners in Spec, so the question is more "where could we find such a tutorial?". And of course I will read it carefully if there exists one ;-)
Alain
On Tue, Nov 5, 2013 at 9:07 AM, Bahman Movaqar <Bahman@bahmanm.com <mailto:Bahman@bahmanm.com>> wrote:
Hi all,
I need to build a typical GUI application (menus, buttons, modal dialogs, ...). I'd appreciate if you could point me to where should I start and what are the choices for a UI framework in Pharo?
-- Bahman Movaqar (http://BahmanM.com)
ERP Evaluation, Implementation & Deployment Consultant PGP Key ID: 0x6AB5BD68 (keyserver2.pgp.com)
I also have used Glamour+Magritte with success (but certainly some work), as you can see here: http://smallworks.eu/web/projects/lawsuitTracker On Tue, Nov 5, 2013 at 7:13 AM, phil@highoctane.be <phil@highoctane.be>wrote:
Here: http://www.smalltalkhub.com/#!/~Magritte/Magritte3/packages/Magritte-Morph
Ah Fossil, good thing. Sqlite creator's all in one DVCS.
It is what is used for another language I like: Tcl. http://www2.tcl.tk/36711
Phil
On Tue, Nov 5, 2013 at 10:18 AM, Bahman Movaqar <Bahman@bahmanm.com>wrote:
On 11/05/2013 11:46, phil@highoctane.be wrote:
If you want to do a business application, well, I'd use Seaside and a web based UI. (that's the current conclusion for my own ongoing development)
Of course. However this is not a business application. It's a front-end to a DVCS named Fossil.
Otherwise, Spec (which is in a state of flux), or Morphic (which is not covering all you may need in an application).
You can also follow the work of Sean De Nigris who is trying to get a Magritte Morphic working.
Where can I follow his work?
On Tue, Nov 5, 2013 at 8:36 AM, Alain Busser <alain.busser@gmail.com <mailto:alain.busser@gmail.com>> wrote:
Hi,
as I have a similar need, I guess what you are aiming at is a tutorial for absolute beginners in Spec, so the question is more "where could we find such a tutorial?". And of course I will read it carefully if there exists one ;-)
Alain
On Tue, Nov 5, 2013 at 9:07 AM, Bahman Movaqar <Bahman@bahmanm.com <mailto:Bahman@bahmanm.com>> wrote:
Hi all,
I need to build a typical GUI application (menus, buttons, modal dialogs, ...). I'd appreciate if you could point me to where should I start and what are the choices for a UI framework in Pharo?
-- Bahman Movaqar (http://BahmanM.com)
ERP Evaluation, Implementation & Deployment Consultant PGP Key ID: 0x6AB5BD68 (keyserver2.pgp.com)
Esteban, Congratulations. That looks great! How do you integrate with spreadsheets? Using CVS or directly reading from .xls or .odf? Cheers Nacho *Lic. Ignacio Sniechowski, MBA* On Tue, Nov 5, 2013 at 9:43 AM, Esteban Lorenzano <estebanlm@gmail.com>wrote:
I also have used Glamour+Magritte with success (but certainly some work), as you can see here:
http://smallworks.eu/web/projects/lawsuitTracker
On Tue, Nov 5, 2013 at 7:13 AM, phil@highoctane.be <phil@highoctane.be>wrote:
Here: http://www.smalltalkhub.com/#!/~Magritte/Magritte3/packages/Magritte-Morph
Ah Fossil, good thing. Sqlite creator's all in one DVCS.
It is what is used for another language I like: Tcl. http://www2.tcl.tk/36711
Phil
On Tue, Nov 5, 2013 at 10:18 AM, Bahman Movaqar <Bahman@bahmanm.com>wrote:
On 11/05/2013 11:46, phil@highoctane.be wrote:
If you want to do a business application, well, I'd use Seaside and a web based UI. (that's the current conclusion for my own ongoing development)
Of course. However this is not a business application. It's a front-end to a DVCS named Fossil.
Otherwise, Spec (which is in a state of flux), or Morphic (which is not covering all you may need in an application).
You can also follow the work of Sean De Nigris who is trying to get a Magritte Morphic working.
Where can I follow his work?
On Tue, Nov 5, 2013 at 8:36 AM, Alain Busser <alain.busser@gmail.com <mailto:alain.busser@gmail.com>> wrote:
Hi,
as I have a similar need, I guess what you are aiming at is a tutorial for absolute beginners in Spec, so the question is more "where could we find such a tutorial?". And of course I will read it carefully if there exists one ;-)
Alain
On Tue, Nov 5, 2013 at 9:07 AM, Bahman Movaqar <Bahman@bahmanm.com <mailto:Bahman@bahmanm.com>> wrote:
Hi all,
I need to build a typical GUI application (menus, buttons,
modal
dialogs, ...). I'd appreciate if you could point me to where should I start and what are the choices for a UI framework in Pharo?
-- Bahman Movaqar (http://BahmanM.com)
ERP Evaluation, Implementation & Deployment Consultant PGP Key ID: 0x6AB5BD68 (keyserver2.pgp.com)
the system is exporting CVS and PDFs... I didn't had the time to read/write XLS (which is an ridiculous difficult format). the cool part was that I used magritte to produce the reports, so it was pretty easy :) Esteban On Tue, Nov 5, 2013 at 10:31 AM, Ignacio MatÃas Sniechowski < 0800nacho@gmail.com> wrote:
Esteban, Congratulations. That looks great! How do you integrate with spreadsheets? Using CVS or directly reading from .xls or .odf? Cheers Nacho
*Lic. Ignacio Sniechowski, MBA*
On Tue, Nov 5, 2013 at 9:43 AM, Esteban Lorenzano <estebanlm@gmail.com>wrote:
I also have used Glamour+Magritte with success (but certainly some work), as you can see here:
http://smallworks.eu/web/projects/lawsuitTracker
On Tue, Nov 5, 2013 at 7:13 AM, phil@highoctane.be <phil@highoctane.be>wrote:
Here:
http://www.smalltalkhub.com/#!/~Magritte/Magritte3/packages/Magritte-Morph
Ah Fossil, good thing. Sqlite creator's all in one DVCS.
It is what is used for another language I like: Tcl. http://www2.tcl.tk/36711
Phil
On Tue, Nov 5, 2013 at 10:18 AM, Bahman Movaqar <Bahman@bahmanm.com>wrote:
On 11/05/2013 11:46, phil@highoctane.be wrote:
If you want to do a business application, well, I'd use Seaside and a web based UI. (that's the current conclusion for my own ongoing development)
Of course. However this is not a business application. It's a front-end to a DVCS named Fossil.
Otherwise, Spec (which is in a state of flux), or Morphic (which is not covering all you may need in an application).
You can also follow the work of Sean De Nigris who is trying to get a Magritte Morphic working.
Where can I follow his work?
On Tue, Nov 5, 2013 at 8:36 AM, Alain Busser <alain.busser@gmail.com <mailto:alain.busser@gmail.com>> wrote:
Hi,
as I have a similar need, I guess what you are aiming at is a tutorial for absolute beginners in Spec, so the question is more "where could we find such a tutorial?". And of course I will read it carefully if there exists one ;-)
Alain
On Tue, Nov 5, 2013 at 9:07 AM, Bahman Movaqar <
Bahman@bahmanm.com
<mailto:Bahman@bahmanm.com>> wrote:
Hi all,
I need to build a typical GUI application (menus, buttons,
modal
dialogs, ...). I'd appreciate if you could point me to where should I start and what are the choices for a UI framework in Pharo?
-- Bahman Movaqar (http://BahmanM.com)
ERP Evaluation, Implementation & Deployment Consultant PGP Key ID: 0x6AB5BD68 (keyserver2.pgp.com)
That looks cool! Did you embed a MongoDB instance in the application package? Or the application is connecting to a remote MongoDB? Is it full Glamour or did you have to use Spec/Morph manually at some point? Sorry to bother you, I'm just getting curious ;) On Tue, Nov 5, 2013 at 1:43 PM, Esteban Lorenzano <estebanlm@gmail.com>wrote:
I also have used Glamour+Magritte with success (but certainly some work), as you can see here:
http://smallworks.eu/web/projects/lawsuitTracker
On Tue, Nov 5, 2013 at 7:13 AM, phil@highoctane.be <phil@highoctane.be>wrote:
Here: http://www.smalltalkhub.com/#!/~Magritte/Magritte3/packages/Magritte-Morph
Ah Fossil, good thing. Sqlite creator's all in one DVCS.
It is what is used for another language I like: Tcl. http://www2.tcl.tk/36711
Phil
On Tue, Nov 5, 2013 at 10:18 AM, Bahman Movaqar <Bahman@bahmanm.com>wrote:
On 11/05/2013 11:46, phil@highoctane.be wrote:
If you want to do a business application, well, I'd use Seaside and a web based UI. (that's the current conclusion for my own ongoing development)
Of course. However this is not a business application. It's a front-end to a DVCS named Fossil.
Otherwise, Spec (which is in a state of flux), or Morphic (which is not covering all you may need in an application).
You can also follow the work of Sean De Nigris who is trying to get a Magritte Morphic working.
Where can I follow his work?
On Tue, Nov 5, 2013 at 8:36 AM, Alain Busser <alain.busser@gmail.com <mailto:alain.busser@gmail.com>> wrote:
Hi,
as I have a similar need, I guess what you are aiming at is a tutorial for absolute beginners in Spec, so the question is more "where could we find such a tutorial?". And of course I will read it carefully if there exists one ;-)
Alain
On Tue, Nov 5, 2013 at 9:07 AM, Bahman Movaqar <Bahman@bahmanm.com <mailto:Bahman@bahmanm.com>> wrote:
Hi all,
I need to build a typical GUI application (menus, buttons,
modal
dialogs, ...). I'd appreciate if you could point me to where should I start and what are the choices for a UI framework in Pharo?
-- Bahman Movaqar (http://BahmanM.com)
ERP Evaluation, Implementation & Deployment Consultant PGP Key ID: 0x6AB5BD68 (keyserver2.pgp.com)
this is old stuff (from before I came to RMoD team)... but well, is something like this: - a client-server app, connecting to a centralized mongodb (in fact, I developed the first version of Voyage for this app). - Glamour + Magritte + my own extensions to magritte and glamour. There is no Spec (The project is in Pharo 1.4), and most of the changes I made at the time to glamour were integrated. - Libharu (http://www.squeaksource.com/HPDF.html) to export to PDF, with a Magritte extension to produce the reports. the cool thing is that even if I developed many frameworks to help me in the task, I tool 15 days to have first version working and 1 month to finish it :) cheers, Esteban On Wed, Nov 6, 2013 at 6:35 AM, François Stephany <tulipe.moutarde@gmail.com
wrote:
That looks cool!
Did you embed a MongoDB instance in the application package? Or the application is connecting to a remote MongoDB? Is it full Glamour or did you have to use Spec/Morph manually at some point?
Sorry to bother you, I'm just getting curious ;)
On Tue, Nov 5, 2013 at 1:43 PM, Esteban Lorenzano <estebanlm@gmail.com>wrote:
I also have used Glamour+Magritte with success (but certainly some work), as you can see here:
http://smallworks.eu/web/projects/lawsuitTracker
On Tue, Nov 5, 2013 at 7:13 AM, phil@highoctane.be <phil@highoctane.be>wrote:
Here:
http://www.smalltalkhub.com/#!/~Magritte/Magritte3/packages/Magritte-Morph
Ah Fossil, good thing. Sqlite creator's all in one DVCS.
It is what is used for another language I like: Tcl. http://www2.tcl.tk/36711
Phil
On Tue, Nov 5, 2013 at 10:18 AM, Bahman Movaqar <Bahman@bahmanm.com>wrote:
On 11/05/2013 11:46, phil@highoctane.be wrote:
If you want to do a business application, well, I'd use Seaside and a web based UI. (that's the current conclusion for my own ongoing development)
Of course. However this is not a business application. It's a front-end to a DVCS named Fossil.
Otherwise, Spec (which is in a state of flux), or Morphic (which is not covering all you may need in an application).
You can also follow the work of Sean De Nigris who is trying to get a Magritte Morphic working.
Where can I follow his work?
On Tue, Nov 5, 2013 at 8:36 AM, Alain Busser <alain.busser@gmail.com <mailto:alain.busser@gmail.com>> wrote:
Hi,
as I have a similar need, I guess what you are aiming at is a tutorial for absolute beginners in Spec, so the question is more "where could we find such a tutorial?". And of course I will read it carefully if there exists one ;-)
Alain
On Tue, Nov 5, 2013 at 9:07 AM, Bahman Movaqar <
Bahman@bahmanm.com
<mailto:Bahman@bahmanm.com>> wrote:
Hi all,
I need to build a typical GUI application (menus, buttons,
modal
dialogs, ...). I'd appreciate if you could point me to where should I start and what are the choices for a UI framework in Pharo?
-- Bahman Movaqar (http://BahmanM.com)
ERP Evaluation, Implementation & Deployment Consultant PGP Key ID: 0x6AB5BD68 (keyserver2.pgp.com)
Great, thanks for sharing =) On Wed, Nov 6, 2013 at 12:22 PM, Esteban Lorenzano <estebanlm@gmail.com>wrote:
this is old stuff (from before I came to RMoD team)... but well, is something like this:
- a client-server app, connecting to a centralized mongodb (in fact, I developed the first version of Voyage for this app). - Glamour + Magritte + my own extensions to magritte and glamour. There is no Spec (The project is in Pharo 1.4), and most of the changes I made at the time to glamour were integrated. - Libharu (http://www.squeaksource.com/HPDF.html) to export to PDF, with a Magritte extension to produce the reports.
the cool thing is that even if I developed many frameworks to help me in the task, I tool 15 days to have first version working and 1 month to finish it :)
cheers, Esteban
On Wed, Nov 6, 2013 at 6:35 AM, François Stephany < tulipe.moutarde@gmail.com> wrote:
That looks cool!
Did you embed a MongoDB instance in the application package? Or the application is connecting to a remote MongoDB? Is it full Glamour or did you have to use Spec/Morph manually at some point?
Sorry to bother you, I'm just getting curious ;)
On Tue, Nov 5, 2013 at 1:43 PM, Esteban Lorenzano <estebanlm@gmail.com>wrote:
I also have used Glamour+Magritte with success (but certainly some work), as you can see here:
http://smallworks.eu/web/projects/lawsuitTracker
On Tue, Nov 5, 2013 at 7:13 AM, phil@highoctane.be <phil@highoctane.be>wrote:
Here:
http://www.smalltalkhub.com/#!/~Magritte/Magritte3/packages/Magritte-Morph
Ah Fossil, good thing. Sqlite creator's all in one DVCS.
It is what is used for another language I like: Tcl. http://www2.tcl.tk/36711
Phil
On Tue, Nov 5, 2013 at 10:18 AM, Bahman Movaqar <Bahman@bahmanm.com>wrote:
On 11/05/2013 11:46, phil@highoctane.be wrote:
If you want to do a business application, well, I'd use Seaside and a web based UI. (that's the current conclusion for my own ongoing development)
Of course. However this is not a business application. It's a front-end to a DVCS named Fossil.
Otherwise, Spec (which is in a state of flux), or Morphic (which is not covering all you may need in an application).
You can also follow the work of Sean De Nigris who is trying to get a Magritte Morphic working.
Where can I follow his work?
On Tue, Nov 5, 2013 at 8:36 AM, Alain Busser <alain.busser@gmail.com <mailto:alain.busser@gmail.com>> wrote:
Hi,
as I have a similar need, I guess what you are aiming at is a tutorial for absolute beginners in Spec, so the question is more "where could we find such a tutorial?". And of course I will read it carefully if there exists one ;-)
Alain
On Tue, Nov 5, 2013 at 9:07 AM, Bahman Movaqar <
Bahman@bahmanm.com
<mailto:Bahman@bahmanm.com>> wrote:
Hi all,
I need to build a typical GUI application (menus, buttons,
modal
dialogs, ...). I'd appreciate if you could point me to where should I start and what are the choices for a UI framework in Pharo?
-- Bahman Movaqar (http://BahmanM.com)
ERP Evaluation, Implementation & Deployment Consultant PGP Key ID: 0x6AB5BD68 (keyserver2.pgp.com)
Hi everyone, Nobody mentioned Polymorphic. My understanding is that both Spec and Polymorph are built on top of Morphic. I only looked at code example and brief tutorial for both of them, but it seemed to me that Polymorph was easier to grasp: it's quite obivous in the code where and how the widgets are built. I have trouble understanding how the job is done in Spec. On the other hand, Spec seems to have a lot of users in this mailling list. To sum up this thread with many different options proposed, what would be the right path for a newbie like me ? Thanks in advance ! 2013/11/6 François Stephany <tulipe.moutarde@gmail.com>
Great, thanks for sharing =)
On Wed, Nov 6, 2013 at 12:22 PM, Esteban Lorenzano <estebanlm@gmail.com>wrote:
this is old stuff (from before I came to RMoD team)... but well, is something like this:
- a client-server app, connecting to a centralized mongodb (in fact, I developed the first version of Voyage for this app). - Glamour + Magritte + my own extensions to magritte and glamour. There is no Spec (The project is in Pharo 1.4), and most of the changes I made at the time to glamour were integrated. - Libharu (http://www.squeaksource.com/HPDF.html) to export to PDF, with a Magritte extension to produce the reports.
the cool thing is that even if I developed many frameworks to help me in the task, I tool 15 days to have first version working and 1 month to finish it :)
cheers, Esteban
On Wed, Nov 6, 2013 at 6:35 AM, François Stephany < tulipe.moutarde@gmail.com> wrote:
That looks cool!
Did you embed a MongoDB instance in the application package? Or the application is connecting to a remote MongoDB? Is it full Glamour or did you have to use Spec/Morph manually at some point?
Sorry to bother you, I'm just getting curious ;)
On Tue, Nov 5, 2013 at 1:43 PM, Esteban Lorenzano <estebanlm@gmail.com>wrote:
I also have used Glamour+Magritte with success (but certainly some work), as you can see here:
http://smallworks.eu/web/projects/lawsuitTracker
On Tue, Nov 5, 2013 at 7:13 AM, phil@highoctane.be <phil@highoctane.be>wrote:
Here:
http://www.smalltalkhub.com/#!/~Magritte/Magritte3/packages/Magritte-Morph
Ah Fossil, good thing. Sqlite creator's all in one DVCS.
It is what is used for another language I like: Tcl. http://www2.tcl.tk/36711
Phil
On Tue, Nov 5, 2013 at 10:18 AM, Bahman Movaqar <Bahman@bahmanm.com>wrote:
On 11/05/2013 11:46, phil@highoctane.be wrote:
If you want to do a business application, well, I'd use Seaside and
a
web based UI. (that's the current conclusion for my own ongoing development)
Of course. However this is not a business application. It's a front-end to a DVCS named Fossil.
Otherwise, Spec (which is in a state of flux), or Morphic (which is not covering all you may need in an application).
You can also follow the work of Sean De Nigris who is trying to get
a
Magritte Morphic working.
Where can I follow his work?
On Tue, Nov 5, 2013 at 8:36 AM, Alain Busser <
alain.busser@gmail.com
<mailto:alain.busser@gmail.com>> wrote:
Hi,
as I have a similar need, I guess what you are aiming at is a tutorial for absolute beginners in Spec, so the question is more "where could we find such a tutorial?". And of course I will read it carefully if there exists one ;-)
Alain
On Tue, Nov 5, 2013 at 9:07 AM, Bahman Movaqar < Bahman@bahmanm.com <mailto:Bahman@bahmanm.com>> wrote:
Hi all,
I need to build a typical GUI application (menus, buttons, modal dialogs, ...). I'd appreciate if you could point me to where should I start and what are the choices for a UI framework in Pharo?
-- Bahman Movaqar (http://BahmanM.com)
ERP Evaluation, Implementation & Deployment Consultant PGP Key ID: 0x6AB5BD68 (keyserver2.pgp.com)
Le 20/11/2013 17:30, Mun Mun a écrit :
To sum up this thread with many different options proposed, what would be the right path for a newbie like me ?
Hello Check the Collaboractive pharo book online, there is a GUI chapter discussing morph and polymorphic. Once documented and feature complete, Spec should be nice. Hilaire -- Dr. Geo http://drgeo.eu
On 20 Nov 2013, at 17:30, Mun Mun <mun.sysdev@gmail.com> wrote:
Hi everyone,
Nobody mentioned Polymorphic. My understanding is that both Spec and Polymorph are built on top of Morphic.
Polymorph is not a layer on top of morphic, itâs just a (relatively unstructured) extension. We actually need to take PolyMorph and Morph an restructure the package -> extensions of Polymoprh need to be moved to Morphic -> the widgets of both PolyMorph and Morpic needs to be moved to a Morphic-Widgets package -> everything needs to be cleaned up. There are far too many specialised subclasses and strange duplication (we have still how many button classes?) Marcus
I recommend you to go with Spec. It is the newest and designed to be the most capable. It is also the way forward, it will be the 'standard' GUI builders in the future. We know that the documentation right now is far from optimal. Ben and I will work on that in January. On Nov 20, 2013, at 1:30 PM, Mun Mun <mun.sysdev@gmail.com> wrote:
Hi everyone,
Nobody mentioned Polymorphic. My understanding is that both Spec and Polymorph are built on top of Morphic. I only looked at code example and brief tutorial for both of them, but it seemed to me that Polymorph was easier to grasp: it's quite obivous in the code where and how the widgets are built. I have trouble understanding how the job is done in Spec. On the other hand, Spec seems to have a lot of users in this mailling list.
To sum up this thread with many different options proposed, what would be the right path for a newbie like me ?
Thanks in advance !
---> Save our in-boxes! http://emailcharter.org <--- Johan Fabry - http://pleiad.cl/~jfabry PLEIAD lab - Computer Science Department (DCC) - University of Chile
I started to use Spec, i love nested layouts and so on. But i've got a little problem. I'm creating a Window with 14 TextInputFieldModel and 14 ButtonModel and, to avoid the definition of 28 different instance variables (obviously), i created two arrays which contain the ButtonModel and the TextInputFieldModel that i need. ^ SpecLayout composed newColumn: [ :columnTeam | 1 to: 14 do:[:i| columnTeam newRow: [ :rowPlayer | rowPlayer add: (textPlayer at:i) ; add:#captainButton; add: (buttonStartingEleven at:i). ]. ..... This is what i did in the defaultSpec of my Player class. captainButton is a RadioButton defined in self instantiateModels: in initializeWidgets, while textPlayer and buttonStartingEleven are the arrays of above.Theoretically the idea is great, while in practice it doesn't work. It give me the following message: TextInputFieldModel>>layoutFrame: Help me please! Paolo
From: jfabry@dcc.uchile.cl Date: Wed, 20 Nov 2013 14:38:58 -0300 To: pharo-users@lists.pharo.org Subject: Re: [Pharo-users] Writing a GUI - Where to start?
I recommend you to go with Spec. It is the newest and designed to be the most capable. It is also the way forward, it will be the 'standard' GUI builders in the future. We know that the documentation right now is far from optimal. Ben and I will work on that in January.
On Nov 20, 2013, at 1:30 PM, Mun Mun <mun.sysdev@gmail.com> wrote:
Hi everyone,
Nobody mentioned Polymorphic. My understanding is that both Spec and Polymorph are built on top of Morphic. I only looked at code example and brief tutorial for both of them, but it seemed to me that Polymorph was easier to grasp: it's quite obivous in the code where and how the widgets are built. I have trouble understanding how the job is done in Spec. On the other hand, Spec seems to have a lot of users in this mailling list.
To sum up this thread with many different options proposed, what would be the right path for a newbie like me ?
Thanks in advance !
---> Save our in-boxes! http://emailcharter.org <---
Johan Fabry - http://pleiad.cl/~jfabry PLEIAD lab - Computer Science Department (DCC) - University of Chile
It seems that you return the wrong object somewhere :) Could you commit your code somewhere so I can have a look ? Ben On 22 Nov 2013, at 11:01, prova email <prova213@hotmail.it> wrote:
I started to use Spec, i love nested layouts and so on. But i've got a little problem. I'm creating a Window with 14 TextInputFieldModel and 14 ButtonModel and, to avoid the definition of 28 different instance variables (obviously), i created two arrays which contain the ButtonModel and the TextInputFieldModel that i need.
^ SpecLayout composed
newColumn: [ :columnTeam | 1 to: 14 do:[:i| columnTeam newRow: [ :rowPlayer | rowPlayer add: (textPlayer at:i) ; add:#captainButton; add: (buttonStartingEleven at:i). ].
.....
This is what i did in the defaultSpec of my Player class. captainButton is a RadioButton defined in self instantiateModels: in initializeWidgets, while textPlayer and buttonStartingEleven are the arrays of above. Theoretically the idea is great, while in practice it doesn't work. It give me the following message: TextInputFieldModel>>layoutFrame:
Help me please!
Paolo
From: jfabry@dcc.uchile.cl Date: Wed, 20 Nov 2013 14:38:58 -0300 To: pharo-users@lists.pharo.org Subject: Re: [Pharo-users] Writing a GUI - Where to start?
I recommend you to go with Spec. It is the newest and designed to be the most capable. It is also the way forward, it will be the 'standard' GUI builders in the future. We know that the documentation right now is far from optimal. Ben and I will work on that in January.
On Nov 20, 2013, at 1:30 PM, Mun Mun <mun.sysdev@gmail.com> wrote:
Hi everyone,
Nobody mentioned Polymorphic. My understanding is that both Spec and Polymorph are built on top of Morphic. I only looked at code example and brief tutorial for both of them, but it seemed to me that Polymorph was easier to grasp: it's quite obivous in the code where and how the widgets are built. I have trouble understanding how the job is done in Spec. On the other hand, Spec seems to have a lot of users in this mailling list.
To sum up this thread with many different options proposed, what would be the right path for a newbie like me ?
Thanks in advance !
---> Save our in-boxes! http://emailcharter.org <---
Johan Fabry - http://pleiad.cl/~jfabry PLEIAD lab - Computer Science Department (DCC) - University of Chile
Hi Ben,here the .st file, there are some comments in italian, i hope it's not a problem. I know that Spec is the most used and it will be the standard GUI builders in the future, so i'd like to find a solution here, without changing to Morph and Polymorphic. Paolo From: Benjamin.VanRyseghem.Pharo@gmail.com Date: Fri, 22 Nov 2013 11:04:53 +0100 To: pharo-users@lists.pharo.org Subject: Re: [Pharo-users] Writing a GUI - Where to start? It seems that you return the wrong object somewhere :) Could you commit your code somewhere so I can have a look ? Ben On 22 Nov 2013, at 11:01, prova email <prova213@hotmail.it> wrote:I started to use Spec, i love nested layouts and so on. But i've got a little problem. I'm creating a Window with 14 TextInputFieldModel and 14 ButtonModel and, to avoid the definition of 28 different instance variables (obviously), i created two arrays which contain the ButtonModel and the TextInputFieldModel that i need. ^ SpecLayout composed newColumn: [ :columnTeam | 1 to: 14 do:[:i| columnTeam newRow: [ :rowPlayer | rowPlayer add: (textPlayer at:i) ; add:#captainButton; add: (buttonStartingEleven at:i). ]. ..... This is what i did in the defaultSpec of my Player class. captainButton is a RadioButton defined in self instantiateModels: in initializeWidgets, while textPlayer and buttonStartingEleven are the arrays of above.Theoretically the idea is great, while in practice it doesn't work. It give me the following message: TextInputFieldModel>>layoutFrame: Help me please! Paolo
From: jfabry@dcc.uchile.cl Date: Wed, 20 Nov 2013 14:38:58 -0300 To: pharo-users@lists.pharo.org Subject: Re: [Pharo-users] Writing a GUI - Where to start?
I recommend you to go with Spec. It is the newest and designed to be the most capable. It is also the way forward, it will be the 'standard' GUI builders in the future. We know that the documentation right now is far from optimal. Ben and I will work on that in January.
On Nov 20, 2013, at 1:30 PM, Mun Mun <mun.sysdev@gmail.com> wrote:
Hi everyone,
Nobody mentioned Polymorphic. My understanding is that both Spec and Polymorph are built on top of Morphic. I only looked at code example and brief tutorial for both of them, but it seemed to me that Polymorph was easier to grasp: it's quite obivous in the code where and how the widgets are built. I have trouble understanding how the job is done in Spec. On the other hand, Spec seems to have a lot of users in this mailling list.
To sum up this thread with many different options proposed, what would be the right path for a newbie like me ?
Thanks in advance !
---> Save our in-boxes! http://emailcharter.org <---
Johan Fabry - http://pleiad.cl/~jfabry PLEIAD lab - Computer Science Department (DCC) - University of Chile
The problem is here rowPlayer add: (textPlayer at:i) ; add:#captainButton; add: (buttonStartingEleven at:i). ]. As you see, the argument of add: is a symbol, but in the first and third add, you add directly a TextInputFieldModel In addition your usage of class inst var is a bit disturbing :) Ben On 22 Nov 2013, at 11:08, prova email <prova213@hotmail.it> wrote:
Hi Ben, here the .st file, there are some comments in italian, i hope it's not a problem. I know that Spec is the most used and it will be the standard GUI builders in the future, so i'd like to find a solution here, without changing to Morph and Polymorphic.
Paolo
From: Benjamin.VanRyseghem.Pharo@gmail.com Date: Fri, 22 Nov 2013 11:04:53 +0100 To: pharo-users@lists.pharo.org Subject: Re: [Pharo-users] Writing a GUI - Where to start?
It seems that you return the wrong object somewhere :)
Could you commit your code somewhere so I can have a look ?
Ben
On 22 Nov 2013, at 11:01, prova email <prova213@hotmail.it> wrote:
I started to use Spec, i love nested layouts and so on. But i've got a little problem. I'm creating a Window with 14 TextInputFieldModel and 14 ButtonModel and, to avoid the definition of 28 different instance variables (obviously), i created two arrays which contain the ButtonModel and the TextInputFieldModel that i need.
^ SpecLayout composed
newColumn: [ :columnTeam | 1 to: 14 do:[:i| columnTeam newRow: [ :rowPlayer | rowPlayer add: (textPlayer at:i) ; add:#captainButton; add: (buttonStartingEleven at:i). ].
.....
This is what i did in the defaultSpec of my Player class. captainButton is a RadioButton defined in self instantiateModels: in initializeWidgets, while textPlayer and buttonStartingEleven are the arrays of above. Theoretically the idea is great, while in practice it doesn't work. It give me the following message: TextInputFieldModel>>layoutFrame:
Help me please!
Paolo
From: jfabry@dcc.uchile.cl Date: Wed, 20 Nov 2013 14:38:58 -0300 To: pharo-users@lists.pharo.org Subject: Re: [Pharo-users] Writing a GUI - Where to start?
I recommend you to go with Spec. It is the newest and designed to be the most capable. It is also the way forward, it will be the 'standard' GUI builders in the future. We know that the documentation right now is far from optimal. Ben and I will work on that in January.
On Nov 20, 2013, at 1:30 PM, Mun Mun <mun.sysdev@gmail.com> wrote:
Hi everyone,
Nobody mentioned Polymorphic. My understanding is that both Spec and Polymorph are built on top of Morphic. I only looked at code example and brief tutorial for both of them, but it seemed to me that Polymorph was easier to grasp: it's quite obivous in the code where and how the widgets are built. I have trouble understanding how the job is done in Spec. On the other hand, Spec seems to have a lot of users in this mailling list.
To sum up this thread with many different options proposed, what would be the right path for a newbie like me ?
Thanks in advance !
---> Save our in-boxes! http://emailcharter.org <---
Johan Fabry - http://pleiad.cl/~jfabry PLEIAD lab - Computer Science Department (DCC) - University of Chile
<PBE-SquadraPROVA.st>
I knew that the problem was here Ben, but i didn't know how to give to the row a symbol. The only way to make it works was to define the widgets into the instantiateModels (that's why #captainButton doesn't give to me any problem). However thanks for your help! From: Benjamin.VanRyseghem.Pharo@gmail.com Date: Sun, 24 Nov 2013 12:21:22 +0100 To: pharo-users@lists.pharo.org Subject: Re: [Pharo-users] Writing a GUI - Where to start? The problem is here rowPlayer add: (textPlayer at:i) ; add:#captainButton; add: (buttonStartingEleven at:i). ]. As you see, the argument of add: is a symbol,but in the first and third add, you add directly a TextInputFieldModelIn addition your usage of class inst var is a bit disturbing :) Ben On 22 Nov 2013, at 11:08, prova email <prova213@hotmail.it> wrote:Hi Ben,here the .st file, there are some comments in italian, i hope it's not a problem. I know that Spec is the most used and it will be the standard GUI builders in the future, so i'd like to find a solution here, without changing to Morph and Polymorphic. Paolo From: Benjamin.VanRyseghem.Pharo@gmail.com Date: Fri, 22 Nov 2013 11:04:53 +0100 To: pharo-users@lists.pharo.org Subject: Re: [Pharo-users] Writing a GUI - Where to start? It seems that you return the wrong object somewhere :) Could you commit your code somewhere so I can have a look ? Ben On 22 Nov 2013, at 11:01, prova email <prova213@hotmail.it> wrote:I started to use Spec, i love nested layouts and so on. But i've got a little problem. I'm creating a Window with 14 TextInputFieldModel and 14 ButtonModel and, to avoid the definition of 28 different instance variables (obviously), i created two arrays which contain the ButtonModel and the TextInputFieldModel that i need. ^ SpecLayout composed newColumn: [ :columnTeam | 1 to: 14 do:[:i| columnTeam newRow: [ :rowPlayer | rowPlayer add: (textPlayer at:i) ; add:#captainButton; add: (buttonStartingEleven at:i). ]. ..... This is what i did in the defaultSpec of my Player class. captainButton is a RadioButton defined in self instantiateModels: in initializeWidgets, while textPlayer and buttonStartingEleven are the arrays of above.Theoretically the idea is great, while in practice it doesn't work. It give me the following message: TextInputFieldModel>>layoutFrame: Help me please! Paolo
From: jfabry@dcc.uchile.cl Date: Wed, 20 Nov 2013 14:38:58 -0300 To: pharo-users@lists.pharo.org Subject: Re: [Pharo-users] Writing a GUI - Where to start?
I recommend you to go with Spec. It is the newest and designed to be the most capable. It is also the way forward, it will be the 'standard' GUI builders in the future. We know that the documentation right now is far from optimal. Ben and I will work on that in January.
On Nov 20, 2013, at 1:30 PM, Mun Mun <mun.sysdev@gmail.com> wrote:
Hi everyone,
Nobody mentioned Polymorphic. My understanding is that both Spec and Polymorph are built on top of Morphic. I only looked at code example and brief tutorial for both of them, but it seemed to me that Polymorph was easier to grasp: it's quite obivous in the code where and how the widgets are built. I have trouble understanding how the job is done in Spec. On the other hand, Spec seems to have a lot of users in this mailling list.
To sum up this thread with many different options proposed, what would be the right path for a newbie like me ?
Thanks in advance !
---> Save our in-boxes! http://emailcharter.org <---
Johan Fabry - http://pleiad.cl/~jfabry PLEIAD lab - Computer Science Department (DCC) - University of Chile
<PBE-SquadraPROVA.st>
Here is a working version based on DynamicComposableModel (a subclass dedicated to the cases where you have a lot, or an undefined number of sub widgets) Ben On 22 Nov 2013, at 11:08, prova email <prova213@hotmail.it> wrote:
Hi Ben, here the .st file, there are some comments in italian, i hope it's not a problem. I know that Spec is the most used and it will be the standard GUI builders in the future, so i'd like to find a solution here, without changing to Morph and Polymorphic.
Paolo
From: Benjamin.VanRyseghem.Pharo@gmail.com Date: Fri, 22 Nov 2013 11:04:53 +0100 To: pharo-users@lists.pharo.org Subject: Re: [Pharo-users] Writing a GUI - Where to start?
It seems that you return the wrong object somewhere :)
Could you commit your code somewhere so I can have a look ?
Ben
On 22 Nov 2013, at 11:01, prova email <prova213@hotmail.it> wrote:
I started to use Spec, i love nested layouts and so on. But i've got a little problem. I'm creating a Window with 14 TextInputFieldModel and 14 ButtonModel and, to avoid the definition of 28 different instance variables (obviously), i created two arrays which contain the ButtonModel and the TextInputFieldModel that i need.
^ SpecLayout composed
newColumn: [ :columnTeam | 1 to: 14 do:[:i| columnTeam newRow: [ :rowPlayer | rowPlayer add: (textPlayer at:i) ; add:#captainButton; add: (buttonStartingEleven at:i). ].
.....
This is what i did in the defaultSpec of my Player class. captainButton is a RadioButton defined in self instantiateModels: in initializeWidgets, while textPlayer and buttonStartingEleven are the arrays of above. Theoretically the idea is great, while in practice it doesn't work. It give me the following message: TextInputFieldModel>>layoutFrame:
Help me please!
Paolo
From: jfabry@dcc.uchile.cl Date: Wed, 20 Nov 2013 14:38:58 -0300 To: pharo-users@lists.pharo.org Subject: Re: [Pharo-users] Writing a GUI - Where to start?
I recommend you to go with Spec. It is the newest and designed to be the most capable. It is also the way forward, it will be the 'standard' GUI builders in the future. We know that the documentation right now is far from optimal. Ben and I will work on that in January.
On Nov 20, 2013, at 1:30 PM, Mun Mun <mun.sysdev@gmail.com> wrote:
Hi everyone,
Nobody mentioned Polymorphic. My understanding is that both Spec and Polymorph are built on top of Morphic. I only looked at code example and brief tutorial for both of them, but it seemed to me that Polymorph was easier to grasp: it's quite obivous in the code where and how the widgets are built. I have trouble understanding how the job is done in Spec. On the other hand, Spec seems to have a lot of users in this mailling list.
To sum up this thread with many different options proposed, what would be the right path for a newbie like me ?
Thanks in advance !
---> Save our in-boxes! http://emailcharter.org <---
Johan Fabry - http://pleiad.cl/~jfabry PLEIAD lab - Computer Science Department (DCC) - University of Chile
<PBE-SquadraPROVA.st>
You wan to create applications with standard look&feel, Phobos [1] may be interesting for you. [1] https://code.google.com/p/phobos-framework/ -- Pavel 2013/11/5 Bahman Movaqar <Bahman@bahmanm.com>
Hi all,
I need to build a typical GUI application (menus, buttons, modal dialogs, ...). I'd appreciate if you could point me to where should I start and what are the choices for a UI framework in Pharo?
TIA,
-- Bahman Movaqar (http://BahmanM.com)
ERP Evaluation, Implementation & Deployment Consultant PGP Key ID: 0x6AB5BD68 (keyserver2.pgp.com)
participants (14)
-
Alain Busser -
Bahman Movaqar -
Benjamin -
Esteban Lorenzano -
François Stephany -
Hilaire Fernandes -
Ignacio MatÃas Sniechowski -
Johan Fabry -
Marcus Denker -
Mun Mun -
Pavel Krivanek -
phil@highoctane.be -
Picci Pharo -
prova email