Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. The UI grind

The UI grind

Scheduled Pinned Locked Moved The Lounge
designalgorithmsjsonhelpquestion
35 Posts 21 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H honey the codewitch

    Does anyone actually like creating screens/user interfaces? I wish I had someone to delegate this to. I wrote some fantastic supporting code to make all the screens look pretty, with an easy(ish) to use API (given its complexity and large featureset) - that doesn't mean I want to have to use it myself! :laugh: It's a slog, making screens. Just rote code and very little problem solving or creativity. It's times like this that make me eager to move on to my next project.

    Real programmers use butterflies

    R Offline
    R Offline
    Ron Anders
    wrote on last edited by
    #3

    It's drudgery for sure. Gotta do it though.

    1 Reply Last reply
    0
    • S Super Lloyd

      I personally find Xaml UI with view model binding rather easy and gratifying... :) Mmm.. little caveat... Even XAML UI with view model binding (the pinnacle of UI tech in my opinion) can easily turn needlessly complicated when too many people lacking a clue work on it together.... However, if you are allowed to refactor (which I am not quite allowed at my current job :(( ) can often make things easy again! :) BTW, this is Xaml UI with binding is fully available to C++ only code, with the like of UWP and WinUI(2,3). In fact available to Rust as well, thanks [Kenny Kerr](https://kennykerr.ca/)! :)

      A new .NET Serializer All in one Menu-Ribbon Bar Taking over the world since 1371!

      H Offline
      H Offline
      honey the codewitch
      wrote on last edited by
      #4

      But can it do IoT? =)

      Real programmers use butterflies

      S 1 Reply Last reply
      0
      • H honey the codewitch

        But can it do IoT? =)

        Real programmers use butterflies

        S Offline
        S Offline
        Super Lloyd
        wrote on last edited by
        #5

        UWP works on RaspberryPi! I mean might depend on OS installed.. but last year I was working, amongst other thing, on a UWP UI on a solar inverter! ;P

        A new .NET Serializer All in one Menu-Ribbon Bar Taking over the world since 1371!

        H 1 Reply Last reply
        0
        • H honey the codewitch

          Does anyone actually like creating screens/user interfaces? I wish I had someone to delegate this to. I wrote some fantastic supporting code to make all the screens look pretty, with an easy(ish) to use API (given its complexity and large featureset) - that doesn't mean I want to have to use it myself! :laugh: It's a slog, making screens. Just rote code and very little problem solving or creativity. It's times like this that make me eager to move on to my next project.

          Real programmers use butterflies

          V Offline
          V Offline
          vinclaro001
          wrote on last edited by
          #6

          I built my own JSON based UI manager that can handle all my UI elements plus wrap any other control, and then built a graphical form designer for it. Form editor allows me to draw and then drop back to JSON when I need to. Problem solved. It’s a dream to use :)

          H 1 Reply Last reply
          0
          • V vinclaro001

            I built my own JSON based UI manager that can handle all my UI elements plus wrap any other control, and then built a graphical form designer for it. Form editor allows me to draw and then drop back to JSON when I need to. Problem solved. It’s a dream to use :)

            H Offline
            H Offline
            honey the codewitch
            wrote on last edited by
            #7

            Yeah, I can't really do that in 300kB of primary ram and 4MB of 80mhz secondary ram on a CPU @ 240mhz attached at 20mhz to an 800x480 display. There's very little room for any niceties. I do support True Type on it though. :)

            Real programmers use butterflies

            A D 2 Replies Last reply
            0
            • S Super Lloyd

              UWP works on RaspberryPi! I mean might depend on OS installed.. but last year I was working, amongst other thing, on a UWP UI on a solar inverter! ;P

              A new .NET Serializer All in one Menu-Ribbon Bar Taking over the world since 1371!

              H Offline
              H Offline
              honey the codewitch
              wrote on last edited by
              #8

              A raspberry pi will run linux and mono. I'm not at all surprised it runs UWP. It's not an IoT device. It's a low end computer in a small form factor. As soon as you connect it to batteries, that point will be driven home.

              Real programmers use butterflies

              1 Reply Last reply
              0
              • H honey the codewitch

                Does anyone actually like creating screens/user interfaces? I wish I had someone to delegate this to. I wrote some fantastic supporting code to make all the screens look pretty, with an easy(ish) to use API (given its complexity and large featureset) - that doesn't mean I want to have to use it myself! :laugh: It's a slog, making screens. Just rote code and very little problem solving or creativity. It's times like this that make me eager to move on to my next project.

                Real programmers use butterflies

                Greg UtasG Offline
                Greg UtasG Offline
                Greg Utas
                wrote on last edited by
                #9

                Never worked on GUIs but figured it would be as you described.

                Robust Services Core | Software Techniques for Lemmings | Articles
                The fox knows many things, but the hedgehog knows one big thing.

                <p><a href="https://github.com/GregUtas/robust-services-core/blob/master/README.md">Robust Services Core</a>
                <em>The fox knows many things, but the hedgehog knows one big thing.</em></p>

                S 1 Reply Last reply
                0
                • H honey the codewitch

                  Does anyone actually like creating screens/user interfaces? I wish I had someone to delegate this to. I wrote some fantastic supporting code to make all the screens look pretty, with an easy(ish) to use API (given its complexity and large featureset) - that doesn't mean I want to have to use it myself! :laugh: It's a slog, making screens. Just rote code and very little problem solving or creativity. It's times like this that make me eager to move on to my next project.

                  Real programmers use butterflies

                  D Offline
                  D Offline
                  Dan Neely
                  wrote on last edited by
                  #10

                  I've enjoyed making UI in WinForms, WPF, UWP, and Ios over the years. MFC, Android, and HTML OTOH are :elephant:ing hell.

                  Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius

                  1 Reply Last reply
                  0
                  • H honey the codewitch

                    Does anyone actually like creating screens/user interfaces? I wish I had someone to delegate this to. I wrote some fantastic supporting code to make all the screens look pretty, with an easy(ish) to use API (given its complexity and large featureset) - that doesn't mean I want to have to use it myself! :laugh: It's a slog, making screens. Just rote code and very little problem solving or creativity. It's times like this that make me eager to move on to my next project.

                    Real programmers use butterflies

                    J Offline
                    J Offline
                    Jacquers
                    wrote on last edited by
                    #11

                    It can be a grind, but I'm actually enjoying Angular at the moment. There are plenty of interesting and challenging parts. Typescript, CSS, etc.

                    H 1 Reply Last reply
                    0
                    • H honey the codewitch

                      Yeah, I can't really do that in 300kB of primary ram and 4MB of 80mhz secondary ram on a CPU @ 240mhz attached at 20mhz to an 800x480 display. There's very little room for any niceties. I do support True Type on it though. :)

                      Real programmers use butterflies

                      A Offline
                      A Offline
                      Andreas Mertens
                      wrote on last edited by
                      #12

                      Reminds me when I worked on a WYSIWYG emulator app for HP LaserJet printers. This was back in the old DOS days (the original IBM PCs had just came out a few years earlier) and was written in assembler as a .COM app. I developed the user interface similar to Lotus-123. Was actually fun and something I still remember with a bit of pride...

                      1 Reply Last reply
                      0
                      • H honey the codewitch

                        Does anyone actually like creating screens/user interfaces? I wish I had someone to delegate this to. I wrote some fantastic supporting code to make all the screens look pretty, with an easy(ish) to use API (given its complexity and large featureset) - that doesn't mean I want to have to use it myself! :laugh: It's a slog, making screens. Just rote code and very little problem solving or creativity. It's times like this that make me eager to move on to my next project.

                        Real programmers use butterflies

                        L Offline
                        L Offline
                        Lost User
                        wrote on last edited by
                        #13

                        You must not be using MVVM. If you were, a visual designer would show up to do the visuals for you.

                        It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it. ― Confucian Analects: Rules of Confucius about his food

                        H 1 Reply Last reply
                        0
                        • L Lost User

                          You must not be using MVVM. If you were, a visual designer would show up to do the visuals for you.

                          It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it. ― Confucian Analects: Rules of Confucius about his food

                          H Offline
                          H Offline
                          honey the codewitch
                          wrote on last edited by
                          #14

                          Yeah, you don't get visual designers with these particular MCUs and frameworks. Nor a lot of RAM. Nor a lot of CPU. It's not like desktop or web development.

                          Real programmers use butterflies

                          1 Reply Last reply
                          0
                          • J Jacquers

                            It can be a grind, but I'm actually enjoying Angular at the moment. There are plenty of interesting and challenging parts. Typescript, CSS, etc.

                            H Offline
                            H Offline
                            honey the codewitch
                            wrote on last edited by
                            #15

                            Yeah, I like the idea of typescript but I can't make heads or tails of angular and similar frameworks, with all their "routing" and stuff. It confuses me.

                            Real programmers use butterflies

                            J 1 Reply Last reply
                            0
                            • H honey the codewitch

                              Does anyone actually like creating screens/user interfaces? I wish I had someone to delegate this to. I wrote some fantastic supporting code to make all the screens look pretty, with an easy(ish) to use API (given its complexity and large featureset) - that doesn't mean I want to have to use it myself! :laugh: It's a slog, making screens. Just rote code and very little problem solving or creativity. It's times like this that make me eager to move on to my next project.

                              Real programmers use butterflies

                              G Offline
                              G Offline
                              Gary R Wheeler
                              wrote on last edited by
                              #16

                              honey the codewitch wrote:

                              Does anyone actually like creating screens/user interfaces? It's a slog, making screens. Just rote code and very little problem solving or creativity.

                              I'll try not to take your comments personally. I've spent the last 20 years at my current employer doing the user interfaces and installers for our line of commercial ink-jet printing systems[^]. Our older products used C++/MFC, and our current ones C#/WPF. I genuinely enjoy what I do. The challenge comes in making the product's features available to the user in a way that they can easily discover and understand. WPF provides wonderful tools for making articulate, capable UI's in a fairly short amount of time. Our UI's are heavily graphical since they are acting as the control panel for a complicated piece of machinery. That said, the "screen stuff" that others in this thread have derided actually isn't as much of my job as you might think. My UI applications are multithreaded out the wazoo. They communicate with one or more Windows services that handle hardware control. We have external interfaces for control from customer workflow equipment. There's a substantial data management facet to things, keeping track of the machine configuration and setup. A major part of my job is to insulate the user as much as possible from timing and other dependencies imposed by the hardware. I acquired this part of my team's workload by default. Nobody else wanted to do it, which seems to correspond with the prevailing view in this thread. In my view, both the "screen stuff" and the underlying application require significant creativity and skill. The creativity comes from considering the user, the foremost priority when designing a user interface. Skill comes from mapping that consideration onto your product features flexibly and efficiently. I gain significant satisfaction from doing both.

                              Software Zen: delete this;

                              M 1 Reply Last reply
                              0
                              • H honey the codewitch

                                Yeah, I like the idea of typescript but I can't make heads or tails of angular and similar frameworks, with all their "routing" and stuff. It confuses me.

                                Real programmers use butterflies

                                J Offline
                                J Offline
                                Jacquers
                                wrote on last edited by
                                #17

                                Angular does have a lot of set up, but it's not too bad once you get the hang of it. The lexical parsing and other things you do hurt my brain... :laugh:

                                H 1 Reply Last reply
                                0
                                • J Jacquers

                                  Angular does have a lot of set up, but it's not too bad once you get the hang of it. The lexical parsing and other things you do hurt my brain... :laugh:

                                  H Offline
                                  H Offline
                                  honey the codewitch
                                  wrote on last edited by
                                  #18

                                  I swear that stuff only looks difficult because I'm the one teaching it. If it was truly difficult, I wouldn't be able to make anything of it either. :laugh:

                                  Real programmers use butterflies

                                  J 1 Reply Last reply
                                  0
                                  • H honey the codewitch

                                    Does anyone actually like creating screens/user interfaces? I wish I had someone to delegate this to. I wrote some fantastic supporting code to make all the screens look pretty, with an easy(ish) to use API (given its complexity and large featureset) - that doesn't mean I want to have to use it myself! :laugh: It's a slog, making screens. Just rote code and very little problem solving or creativity. It's times like this that make me eager to move on to my next project.

                                    Real programmers use butterflies

                                    M Offline
                                    M Offline
                                    Member 9167057
                                    wrote on last edited by
                                    #19

                                    Graphical UIs (not UIs in general, CLIs can often be hacked together easily which would explain why most CLI tools out there require arcane knowledge & a goat every now and then to use properly) are somewhat of a pain indeed. I came to regard that good old 80/20 rule as "you spent 20% of the work on actual functionality, 80% of the myriad UI details". Well, it really depends on how you regard the situation. When you're supposed to ship a product to end-users, then the GUI is indeed a crucial product feature. And it's not like doing GUI work sucked by default, it's just that it's a whole different kind of work from that algorithmic back-end work. However, I very much disagree on "little problem solving and complexity". Granted, that heavily depends on the product in question but I gotta say, the GUIs I'm working on require quite a lot of problem solving due to complex & (optionally) interconnected workflows the product is supposed to allow. The stuff I'm doing is not mundane dilligence-first creativity-never. And quite frankly, the moment there's no creativity involved, I'd write a GUI generator which takes my back-end data structures and just plops auto-generated GUIs on top of them. The biggest problem, aside from GUI being a whole different way to think (to, let's say, churning data in back-end), is the reliance on the product manager. As I said, the stuff I'm working on does a lot of (complex) things. That means that a dude talking to the users of this piece, discussing how the GUI could be set up to serve their needs, is invaluable. I sooooo wouldn't want to sit in customer seminars, let alone talking with customers! Who would apparently rather kill themselves, than say CLEARLY what they mean. So far, so good. The problem is, this dude isn't a developer. Meaning he doesn't quite get the concept of "If we talk about what we want in advance, this whole thing would take 1 week. If you keep on dropping tiny tidbits you want to have added after I'm basically done, it'll take a month." but I'm still glad to have him. And I think, such culture clashes are manageable. Meaning after I got proactive about suggesting potential extension points, defining by myself which kinds of changes could be dropped at which stage of that particular GUI development, things really got better. But yeah, if the GUIs I was doing required no problem-solving/creativity, I'd just automate the shit out of GUI building and call it a day.

                                    H 1 Reply Last reply
                                    0
                                    • M Member 9167057

                                      Graphical UIs (not UIs in general, CLIs can often be hacked together easily which would explain why most CLI tools out there require arcane knowledge & a goat every now and then to use properly) are somewhat of a pain indeed. I came to regard that good old 80/20 rule as "you spent 20% of the work on actual functionality, 80% of the myriad UI details". Well, it really depends on how you regard the situation. When you're supposed to ship a product to end-users, then the GUI is indeed a crucial product feature. And it's not like doing GUI work sucked by default, it's just that it's a whole different kind of work from that algorithmic back-end work. However, I very much disagree on "little problem solving and complexity". Granted, that heavily depends on the product in question but I gotta say, the GUIs I'm working on require quite a lot of problem solving due to complex & (optionally) interconnected workflows the product is supposed to allow. The stuff I'm doing is not mundane dilligence-first creativity-never. And quite frankly, the moment there's no creativity involved, I'd write a GUI generator which takes my back-end data structures and just plops auto-generated GUIs on top of them. The biggest problem, aside from GUI being a whole different way to think (to, let's say, churning data in back-end), is the reliance on the product manager. As I said, the stuff I'm working on does a lot of (complex) things. That means that a dude talking to the users of this piece, discussing how the GUI could be set up to serve their needs, is invaluable. I sooooo wouldn't want to sit in customer seminars, let alone talking with customers! Who would apparently rather kill themselves, than say CLEARLY what they mean. So far, so good. The problem is, this dude isn't a developer. Meaning he doesn't quite get the concept of "If we talk about what we want in advance, this whole thing would take 1 week. If you keep on dropping tiny tidbits you want to have added after I'm basically done, it'll take a month." but I'm still glad to have him. And I think, such culture clashes are manageable. Meaning after I got proactive about suggesting potential extension points, defining by myself which kinds of changes could be dropped at which stage of that particular GUI development, things really got better. But yeah, if the GUIs I was doing required no problem-solving/creativity, I'd just automate the shit out of GUI building and call it a day.

                                      H Offline
                                      H Offline
                                      honey the codewitch
                                      wrote on last edited by
                                      #20

                                      I guess I overstated it. Basically here's the thing - I'm working on a machine running @ 240Mhz, with 300kB of usable internal RAM, 4MB of PSRAM accessible via SPI @80MHz, and a display operating at 20MHz. You'd think I'd need a lot of creativity to make that work. I did. I already put all that creativity into GFX - the library I used to make these screens. Basically, in a sense I did automate the sh*t out of it. But I can't automate everything. For starters, typesetting true type fonts without some sort of sophisticated open-type layout system requires manual tweaking, as does just figuring out where to put everything in 480x800 (yes the display is in profile) I'm considering adding a .bmp save feature just so I can render the screens to files on PC (GFX runs anywhere but i don't have drivers for windows so it will only draw to bitmaps) and that would save some turnaround time because of the upload times on the device every time i make a code change. I haven't had time to build out my layout/"windowing" engine yet or this would be somewhat easier. The bottom line though is, the creative stuff is behind me. Now it's just placement and tweaking. The actual functionality of the UI is pretty limited due to the nature of the device. The only challenge was making it pretty on a machine this petty.

                                      Real programmers use butterflies

                                      M 1 Reply Last reply
                                      0
                                      • H honey the codewitch

                                        I swear that stuff only looks difficult because I'm the one teaching it. If it was truly difficult, I wouldn't be able to make anything of it either. :laugh:

                                        Real programmers use butterflies

                                        J Offline
                                        J Offline
                                        Jacquers
                                        wrote on last edited by
                                        #21

                                        I think some brains are just wired in a way that they can make sense of certain things (math, parsers, etc.) easier than others can :)

                                        H 1 Reply Last reply
                                        0
                                        • J Jacquers

                                          I think some brains are just wired in a way that they can make sense of certain things (math, parsers, etc.) easier than others can :)

                                          H Offline
                                          H Offline
                                          honey the codewitch
                                          wrote on last edited by
                                          #22

                                          and others can understand Angular. :laugh:

                                          Real programmers use butterflies

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups