Building UI with Spec vs Pharo

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

Building UI with Spec vs Pharo

Peter Uhnak
Hi,

what is the recommended framework for building UIs? As I understand it Spec should be able to handle pretty much anything, however Glamour has quite a lot of nice features and was recommended here http://forum.world.st/Roassal-amp-Spec-td4690745.html as a higher-level abstraction framework (albeit the issue here was mostly Roassal which as I understand is a non issue since there is Roassal2Spec package). However I haven't seen things like forms (text inputs, checkboxes, (radio)selects, buttons) or popups (yes/no confirmations, prompts) made in Glamour so I am unsure whether it is possible.

Thanks,
Peter
Reply | Threaded
Open this post in threaded view
|

Re: Building UI with Spec vs Pharo

jfabry
Hi Peter,

Spec is a user interface framework that is meant to be able to create any kind of user interface. On the other hand Glamour is meant for browser-like user interfaces where there is a flow from one element to another. So the answer is: it depends on what you want to do.

Could you tell us what is it that you are trying to build?


On Jul 9, 2014, at 11:39 AM, Peter Uhnák <[hidden email]> wrote:

> Hi,
>
> what is the recommended framework for building UIs? As I understand it Spec should be able to handle pretty much anything, however Glamour has quite a lot of nice features and was recommended here http://forum.world.st/Roassal-amp-Spec-td4690745.html as a higher-level abstraction framework (albeit the issue here was mostly Roassal which as I understand is a non issue since there is Roassal2Spec package). However I haven't seen things like forms (text inputs, checkboxes, (radio)selects, buttons) or popups (yes/no confirmations, prompts) made in Glamour so I am unsure whether it is possible.
>
> Thanks,
> Peter



---> 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: Building UI with Spec vs Pharo

Peter Uhnak
Well for the moment a diagram drawing tool (Class diagrams/State machines/...), however the end goal (in a time and space far far away) is a CASE tool. So for the moment I need a visualization (provided by Roassal), some way to display hierarchical/tree data, forms, popups and such (basically what I mentioned in previous post).

Peter


On Wed, Jul 9, 2014 at 6:02 PM, Johan Fabry <[hidden email]> wrote:
Hi Peter,

Spec is a user interface framework that is meant to be able to create any kind of user interface. On the other hand Glamour is meant for browser-like user interfaces where there is a flow from one element to another. So the answer is: it depends on what you want to do.

Could you tell us what is it that you are trying to build?


On Jul 9, 2014, at 11:39 AM, Peter Uhnák <[hidden email]> wrote:

> Hi,
>
> what is the recommended framework for building UIs? As I understand it Spec should be able to handle pretty much anything, however Glamour has quite a lot of nice features and was recommended here http://forum.world.st/Roassal-amp-Spec-td4690745.html as a higher-level abstraction framework (albeit the issue here was mostly Roassal which as I understand is a non issue since there is Roassal2Spec package). However I haven't seen things like forms (text inputs, checkboxes, (radio)selects, buttons) or popups (yes/no confirmations, prompts) made in Glamour so I am unsure whether it is possible.
>
> Thanks,
> Peter



---> 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: Building UI with Spec vs Pharo

Stephan Eggermont-3
In reply to this post by Peter Uhnak
Not much has changed since then. If you can manage to get away with using
a higher level framework, you save time and effort. Glamour has less choice
in widgets and layout, but in both you'll probably end up adding something
that isn't there/ready yet. To understand how to add/complete something
you'll have to dive into (Poly)Morph(ic) for both Spec and Glamour.

Stephan

Reply | Threaded
Open this post in threaded view
|

Re: Building UI with Spec vs Pharo

jfabry
In reply to this post by Peter Uhnak

I see. Well, I think that given your long term goal the safest choice is to go with Spec, as it will provide you with more features that may be useful for your use case.

On Jul 9, 2014, at 12:49 PM, Peter Uhnák <[hidden email]> wrote:

> Well for the moment a diagram drawing tool (Class diagrams/State machines/...), however the end goal (in a time and space far far away) is a CASE tool. So for the moment I need a visualization (provided by Roassal), some way to display hierarchical/tree data, forms, popups and such (basically what I mentioned in previous post).
>
> Peter
>
>
> On Wed, Jul 9, 2014 at 6:02 PM, Johan Fabry <[hidden email]> wrote:
> Hi Peter,
>
> Spec is a user interface framework that is meant to be able to create any kind of user interface. On the other hand Glamour is meant for browser-like user interfaces where there is a flow from one element to another. So the answer is: it depends on what you want to do.
>
> Could you tell us what is it that you are trying to build?
>
>
> On Jul 9, 2014, at 11:39 AM, Peter Uhnák <[hidden email]> wrote:
>
> > Hi,
> >
> > what is the recommended framework for building UIs? As I understand it Spec should be able to handle pretty much anything, however Glamour has quite a lot of nice features and was recommended here http://forum.world.st/Roassal-amp-Spec-td4690745.html as a higher-level abstraction framework (albeit the issue here was mostly Roassal which as I understand is a non issue since there is Roassal2Spec package). However I haven't seen things like forms (text inputs, checkboxes, (radio)selects, buttons) or popups (yes/no confirmations, prompts) made in Glamour so I am unsure whether it is possible.
> >
> > Thanks,
> > Peter
>
>
>
> ---> Save our in-boxes! http://emailcharter.org <---
>
> Johan Fabry   -   http://pleiad.cl/~jfabry
> PLEIAD lab  -  Computer Science Department (DCC)  -  University of Chile
>
>
>



---> Save our in-boxes! http://emailcharter.org <---

Johan Fabry   -   http://pleiad.cl/~jfabry
PLEIAD lab  -  Computer Science Department (DCC)  -  University of Chile