Writing a GUI - Where to start?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
28 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Writing a GUI - Where to start?

bahman
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)



signature.asc (565 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Writing a GUI - Where to start?

Alain Busser
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 <[hidden email]> 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)



Reply | Threaded
Open this post in threaded view
|

Re: Writing a GUI - Where to start?

Benjamin Van Ryseghem (Pharo)
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 <[hidden email]> 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 <[hidden email]> 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)




Reply | Threaded
Open this post in threaded view
|

Re: Writing a GUI - Where to start?

philippeback
In reply to this post by Alain Busser

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 <[hidden email]> 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 <[hidden email]> 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)




Reply | Threaded
Open this post in threaded view
|

Re: Writing a GUI - Where to start?

bahman
On 11/05/2013 11:46, [hidden email] 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 <[hidden email]
> <mailto:[hidden email]>> 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 <[hidden email]
>     <mailto:[hidden email]>> 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)



signature.asc (565 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Writing a GUI - Where to start?

philippeback
Here:

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 <[hidden email]> wrote:
On 11/05/2013 11:46, [hidden email] 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 <[hidden email]
> <mailto:[hidden email]>> 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 <[hidden email]
>     <mailto:[hidden email]>> 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)



Reply | Threaded
Open this post in threaded view
|

Re: Writing a GUI - Where to start?

EstebanLM
I also have used Glamour+Magritte with success (but certainly some work), as you can see here: 



On Tue, Nov 5, 2013 at 7:13 AM, [hidden email] <[hidden email]> wrote:
Here:

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 <[hidden email]> wrote:
On 11/05/2013 11:46, [hidden email] 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 <[hidden email]
> <mailto:[hidden email]>> 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 <[hidden email]
>     <mailto:[hidden email]>> 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)




Reply | Threaded
Open this post in threaded view
|

Re: Writing a GUI - Where to start?

nacho
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 <[hidden email]> wrote:
I also have used Glamour+Magritte with success (but certainly some work), as you can see here: 



On Tue, Nov 5, 2013 at 7:13 AM, [hidden email] <[hidden email]> wrote:
Here:

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 <[hidden email]> wrote:
On 11/05/2013 11:46, [hidden email] 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 <[hidden email]
> <mailto:[hidden email]>> 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 <[hidden email]
>     <mailto:[hidden email]>> 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)





Nacho Smalltalker apprentice. Buenos Aires, Argentina.
Reply | Threaded
Open this post in threaded view
|

Re: Writing a GUI - Where to start?

EstebanLM
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 <[hidden email]> 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 <[hidden email]> wrote:
I also have used Glamour+Magritte with success (but certainly some work), as you can see here: 



On Tue, Nov 5, 2013 at 7:13 AM, [hidden email] <[hidden email]> wrote:
Here:

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 <[hidden email]> wrote:
On 11/05/2013 11:46, [hidden email] 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 <[hidden email]
> <mailto:[hidden email]>> 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 <[hidden email]
>     <mailto:[hidden email]>> 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)






Reply | Threaded
Open this post in threaded view
|

Re: Writing a GUI - Where to start?

fstephany
In reply to this post by EstebanLM
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 <[hidden email]> wrote:
I also have used Glamour+Magritte with success (but certainly some work), as you can see here: 



On Tue, Nov 5, 2013 at 7:13 AM, [hidden email] <[hidden email]> wrote:
Here:

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 <[hidden email]> wrote:
On 11/05/2013 11:46, [hidden email] 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 <[hidden email]
> <mailto:[hidden email]>> 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 <[hidden email]
>     <mailto:[hidden email]>> 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)





Reply | Threaded
Open this post in threaded view
|

Re: Writing a GUI - Where to start?

EstebanLM
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 <[hidden email]> 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 <[hidden email]> wrote:
I also have used Glamour+Magritte with success (but certainly some work), as you can see here: 



On Tue, Nov 5, 2013 at 7:13 AM, [hidden email] <[hidden email]> wrote:
Here:

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 <[hidden email]> wrote:
On 11/05/2013 11:46, [hidden email] 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 <[hidden email]
> <mailto:[hidden email]>> 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 <[hidden email]
>     <mailto:[hidden email]>> 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)






Reply | Threaded
Open this post in threaded view
|

Re: Writing a GUI - Where to start?

fstephany
Great, thanks for sharing =)


On Wed, Nov 6, 2013 at 12:22 PM, Esteban Lorenzano <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> wrote:
I also have used Glamour+Magritte with success (but certainly some work), as you can see here: 



On Tue, Nov 5, 2013 at 7:13 AM, [hidden email] <[hidden email]> wrote:
Here:

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 <[hidden email]> wrote:
On 11/05/2013 11:46, [hidden email] 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 <[hidden email]
> <mailto:[hidden email]>> 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 <[hidden email]
>     <mailto:[hidden email]>> 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)







Reply | Threaded
Open this post in threaded view
|

Re: Writing a GUI - Where to start?

Thomas Bany
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 <[hidden email]>
Great, thanks for sharing =)


On Wed, Nov 6, 2013 at 12:22 PM, Esteban Lorenzano <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> wrote:
I also have used Glamour+Magritte with success (but certainly some work), as you can see here: 



On Tue, Nov 5, 2013 at 7:13 AM, [hidden email] <[hidden email]> wrote:
Here:

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 <[hidden email]> wrote:
On 11/05/2013 11:46, [hidden email] 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 <[hidden email]
> <mailto:[hidden email]>> 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 <[hidden email]
>     <mailto:[hidden email]>> 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)








Reply | Threaded
Open this post in threaded view
|

Re: Writing a GUI - Where to start?

hilaire
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Writing a GUI - Where to start?

Marcus Denker-4
In reply to this post by Thomas Bany

On 20 Nov 2013, at 17:30, Mun Mun <[hidden email]> 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


Reply | Threaded
Open this post in threaded view
|

Re: Writing a GUI - Where to start?

jfabry
In reply to this post by Thomas Bany

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 <[hidden email]> 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


Reply | Threaded
Open this post in threaded view
|

Re: Writing a GUI - Where to start?

Pavel Krivanek-3
In reply to this post by bahman
You wan to create applications with standard look&feel, Phobos [1] may be interesting for you.


-- Pavel


2013/11/5 Bahman Movaqar <[hidden email]>
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)



Reply | Threaded
Open this post in threaded view
|

Re: Writing a GUI - Where to start?

Picci Pharo
In reply to this post by jfabry
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: [hidden email]

> Date: Wed, 20 Nov 2013 14:38:58 -0300
> To: [hidden email]
> 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 <[hidden email]> 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
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Writing a GUI - Where to start?

Benjamin Van Ryseghem (Pharo)
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 <[hidden email]> 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: [hidden email]

> Date: Wed, 20 Nov 2013 14:38:58 -0300
> To: [hidden email]
> 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 <[hidden email]> 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
> 
>
Reply | Threaded
Open this post in threaded view
|

Re: Writing a GUI - Where to start?

Picci Pharo
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: [hidden email]
Date: Fri, 22 Nov 2013 11:04:53 +0100
To: [hidden email]
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 <[hidden email]> 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: [hidden email]

> Date: Wed, 20 Nov 2013 14:38:58 -0300
> To: [hidden email]
> 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 <[hidden email]> 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 (5K) Download Attachment
12