Welcome, Guest. Please login or register.

Author Topic: Feelin' GUI framework  (Read 3542 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline itix

  • Hero Member
  • *****
  • Join Date: Oct 2002
  • Posts: 2380
    • Show only replies by itix
Re: Feelin' GUI framework
« Reply #14 on: February 28, 2015, 09:59:53 AM »
Quote from: Mazze;785589
Cough :-)
http://sourceforge.net/p/hollypaint/code/HEAD/tree/trunk/hollypaint.xml

MUI-Royale as a shared library which could be used from any language would be nice to have.


Maybe it does not look that bad at all... I have seen XAML and thought there is way too much text.

So with MUI Royale you write XML file and it is translated to UI? There is no visual editor? Maybe writing XML files by hand is workable after all...
My Amigas: A500, Mac Mini and PowerBook
 

Offline Mazze

  • Full Member
  • ***
  • Join Date: Aug 2007
  • Posts: 133
    • Show only replies by Mazze
    • http://mazze-online.de
Re: Feelin' GUI framework
« Reply #15 on: February 28, 2015, 11:38:02 AM »
Quote from: itix;785601
Maybe it does not look that bad at all... I have seen XAML and thought there is way too much text.

So with MUI Royale you write XML file and it is translated to UI? There is no visual editor? Maybe writing XML files by hand is workable after all...

Yes, it's translated on-the-fly. I've written the XML file by hand. No problem because I had already experience with MUI and can type with 10 fingers.

In the meantime someone is writing a visual editor
http://amigaworld.net/modules/newbb/viewtopic.php?topic_id=39950&forum=32

Offline itix

  • Hero Member
  • *****
  • Join Date: Oct 2002
  • Posts: 2380
    • Show only replies by itix
Re: Feelin' GUI framework
« Reply #16 on: February 28, 2015, 08:40:38 PM »
Quote from: Mazze;785602
Yes, it's translated on-the-fly. I've written the XML file by hand. No problem because I had already experience with MUI and can type with 10 fingers.

In the meantime someone is writing a visual editor
http://amigaworld.net/modules/newbb/viewtopic.php?topic_id=39950&forum=32


Maybe XML is better than I thought even for hand typed coding. I wrote simple (incomplete) XML to C converter and here are results:

Quote

Object *create_app_tree()
{
   Object *app = ApplicationObject,
      MUIA_Application_Menustrip, mymenustrip = MenustripObject,
         MUIA_Family_Child, MenuObject, MUIA_Menu_Title, "Project",
            MUIA_Family_Child, new_mnu = MenuItemObject, MUIA_Menuitem_Title, "New...", End,
            MUIA_Family_Child, open_mnu = MenuItemObject, MUIA_Menuitem_Title, "Open...", End,
            MUIA_Family_Child, MenuItemObject, MUIA_Menuitem_Title, "",
               MUIA_Family_Child, save_mnu = MenuItemObject, MUIA_Menuitem_Title, "Save", End,
               MUIA_Family_Child, saveas_mnu = MenuItemObject, MUIA_Menuitem_Title, "Save", End,
               MUIA_Family_Child, MenuObject, MUIA_Menu_Title, "Export",
                  MUIA_Family_Child, export_ilbm_mnu = MenuItemObject, MUIA_Menuitem_Title, "ILBM", End,
                  MUIA_Family_Child, export_bmp_mnu = MenuItemObject, MUIA_Menuitem_Title, "BMP", End,
                  MUIA_Family_Child, export_jpg_mnu = MenuItemObject, MUIA_Menuitem_Title, "JPG", End,
                  MUIA_Family_Child, export_gif_mnu = MenuItemObject, MUIA_Menuitem_Title, "GIF", End, End,


It needs more work but if someone is writing visual editor that can output XML...
My Amigas: A500, Mac Mini and PowerBook
 

Offline Crumb

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 1786
  • Country: 00
    • Show only replies by Crumb
    • http://cuaz.sourceforge.net
Re: Feelin' GUI framework
« Reply #17 on: March 01, 2015, 11:26:33 AM »
Quote from: itix;785641
Maybe XML is better than I thought even for hand typed coding. I wrote simple (incomplete) XML to C converter and here are results:



It needs more work but if someone is writing visual editor that can output XML...


You can use XSLT to convert between different XML formats. That would allow you to use your prefered visual editor.

I wrote a xml to reaction tool 10 years ago using expat.library, it created compilable code. Being able to draw GUIs on the fly without modifying the binaries didn't seem much useful as if you add new functions you would still need to recompile the C code anyway. Later I started to write a mui version but got a little bored.
The only spanish amiga news web page/club: Club de Usuarios de Amiga de Zaragoza (CUAZ)
 

Offline vidarh

  • Sr. Member
  • ****
  • Join Date: Feb 2010
  • Posts: 409
    • Show only replies by vidarh
Re: Feelin' GUI framework
« Reply #18 on: March 01, 2015, 11:48:42 AM »
Quote from: warpdesign;785541
I'm afraid it's dead indeed, and it's too bad, there was a lot of good ideas:

 - free from any Amiga legacy (GUI was real nice looking, and free from old gray legacy)
 - CSS styling is a must
 - ability to fully describe apps using xml
 - integrated logging system

etc..


The biggest problem I remember from looking at the code a few years back was that the XML parsing was nowhere near compliant with the XML spec, I believe, and there might have been various other smaller issues too.

No major showstoppers that'd take a huge amount of work if someone were to want to clean it up, but I remember thinking it was not really usable as-is.
 

Offline Amigamia

  • Sr. Member
  • ****
  • Join Date: Jun 2005
  • Posts: 252
  • Country: us
    • Show only replies by Amigamia
    • http://www.arosworld.org
Re: Feelin' GUI framework
« Reply #19 on: March 01, 2015, 03:18:58 PM »
Quote from: hishamk;785538
Hey guys,

Anybody knows if Feelin (http://www.feelin.fr) managed to get any traction within the Amiga/Amiga-Like OS community? I'm hard pressed to find any programs that use it.

The framework does look compelling. I've emailed the author but got no response.

I suppose it's dead and MUI still rules?


You may want to try the email here:

https://github.com/olvlvl

I tracked it down through other projects he is still maintaining. I wondered about the same thing a few months ago. It looked promising and it seemed really cool, especially for AROS. By the way, the source is available on the site so maybe someone can fork it?
Check out  AROSWORLD.ORG
 

Offline Mazze

  • Full Member
  • ***
  • Join Date: Aug 2007
  • Posts: 133
    • Show only replies by Mazze
    • http://mazze-online.de
Re: Feelin' GUI framework
« Reply #20 on: March 01, 2015, 06:35:20 PM »
IIRC some years ago someone had continued to work on Feelin.

Offline itix

  • Hero Member
  • *****
  • Join Date: Oct 2002
  • Posts: 2380
    • Show only replies by itix
Re: Feelin' GUI framework
« Reply #21 on: March 01, 2015, 07:37:55 PM »
Quote from: Crumb;785675
You can use XSLT to convert between different XML formats. That would allow you to use your prefered visual editor.

I wrote a xml to reaction tool 10 years ago using expat.library, it created compilable code. Being able to draw GUIs on the fly without modifying the binaries didn't seem much useful as if you add new functions you would still need to recompile the C code anyway. Later I started to write a mui version but got a little bored.


Coincidentally my first revision of muixml was using expat.library, too, but I found it too cumbersome for this purpose. Now I am using mini xml and quite easily I can map XML to equivalent C code.

Only if I understood mini xml API better...
My Amigas: A500, Mac Mini and PowerBook
 

Offline Fransexy_

  • Sr. Member
  • ****
  • Join Date: Feb 2005
  • Posts: 317
    • Show only replies by Fransexy_
Re: Feelin' GUI framework
« Reply #22 on: March 01, 2015, 08:28:51 PM »
Quote from: itix;785600

@fransexy

You having a hangover again? :-)



:-O so predictable i am? :-(
DON\'T TAKE LIFE SO SERIOUSLY AFTER ALL NOBODY GETS OUT ALIVE OF IT
 

Offline Mazze

  • Full Member
  • ***
  • Join Date: Aug 2007
  • Posts: 133
    • Show only replies by Mazze
    • http://mazze-online.de
Re: Feelin' GUI framework
« Reply #23 on: March 04, 2015, 08:18:21 AM »
Quote from: itix;785641

It needs more work but if someone is writing visual editor that can output XML...


Aha.
http://aminet.net/package/dev/gui/muixml

I'm interested in the source code with open source license. :juggler:
« Last Edit: March 04, 2015, 08:21:57 AM by Mazze »
 

Offline itix

  • Hero Member
  • *****
  • Join Date: Oct 2002
  • Posts: 2380
    • Show only replies by itix
Re: Feelin' GUI framework
« Reply #24 on: March 04, 2015, 09:12:30 AM »
Quote from: Mazze;785797
Aha.
http://aminet.net/package/dev/gui/muixml

I'm interested in the source code with open source license. :juggler:


I can do that. I was thinking GPL/LGPL, moving code generators to link lib and main executable would be GPL. How that sounds?
My Amigas: A500, Mac Mini and PowerBook
 

Offline hishamkTopic starter

Re: Feelin' GUI framework
« Reply #25 on: March 04, 2015, 10:55:55 AM »
Quote from: Amigamia;785688
You may want to try the email here:

https://github.com/olvlvl

I tracked it down through other projects he is still maintaining. I wondered about the same thing a few months ago. It looked promising and it seemed really cool, especially for AROS. By the way, the source is available on the site so maybe someone can fork it?


I did, still no reply. It's dead, Jim!
2x A1000, 2x A2000, 1x A3000, 4x A1200, 3x A500, 1x CDTV, 1x CD32, 2x Pegasos II, 1x EFIKA
 

Offline kamelito

Re: Feelin' GUI framework
« Reply #26 on: March 04, 2015, 11:46:21 AM »
You can maybe try tweeter instead : @olvlvl

Kamelito
 

Offline Duce

  • Off to greener pastures
  • Hero Member
  • *****
  • Join Date: Jul 2009
  • Posts: 1699
    • Show only replies by Duce
    • http://amigabbs.blogspot.com/
Re: Feelin' GUI framework
« Reply #27 on: March 04, 2015, 01:03:10 PM »
Seems like a re-invention of the wheel to me.

Then again, I've always hated the add on UI experiences (including MUI, both on user and dev side) and prefer a stock Amiga experience.

Though I finally did cave a bit back in the day and gave in and regged MUI so I could run MailManager and GMSMailer.
 

Offline itix

  • Hero Member
  • *****
  • Join Date: Oct 2002
  • Posts: 2380
    • Show only replies by itix
Re: Feelin' GUI framework
« Reply #28 on: March 04, 2015, 01:38:53 PM »
Quote from: Duce;785807
Seems like a re-invention of the wheel to me.

Then again, I've always hated the add on UI experiences (including MUI, both on user and dev side) and prefer a stock Amiga experience.

Though I finally did cave a bit back in the day and gave in and regged MUI so I could run MailManager and GMSMailer.


From developer POV using low level Intuition is pain in the ass. GadTools saved some typing but there is still way too much coding involved.

Technically it is possible create GadTools GUI from XML saving lot of work.
My Amigas: A500, Mac Mini and PowerBook
 

Offline Mazze

  • Full Member
  • ***
  • Join Date: Aug 2007
  • Posts: 133
    • Show only replies by Mazze
    • http://mazze-online.de
Re: Feelin' GUI framework
« Reply #29 from previous page: March 04, 2015, 05:43:17 PM »
Quote from: itix;785799
I can do that. I was thinking GPL/LGPL, moving code generators to link lib and main executable would be GPL. How that sounds?

Great. :)

How do we want to proceed? Should I create a Sourceforge project?