Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How did we manage to lose GUI editing of HTML, as in Dreamweaver, and GUI editing of user interfaces, as in Visual Basic?


We also lost GUI editing of interactive vector animation, as in Flash.


I know. It used to be common to build the 2D UIs of games in Flash. The Adobe design tools were OK, and there are third-party libraries for running Flash. There's even a Flash runtime in Rust.


Yes. I was one such designer. You could do a UI in Flash and then export all its animations to cryengine. The actual design tools in Flash were mediocre, but some animators really loved them. For designers, it played well with Illustrator... if an illustrator vector file updated you could re-import it and reuse the animation. You'd just draw your UI gizmos / HUD / whatever, assign anything to be a sprite and hook it from code. Any complex vector animations could be created visually and then triggered. It even had full 3D capabilities, worked really well on mobile chipsets and could leverage a GPU, although in the UI-as-export for games context it would run on the CPU.


It's tricky to do GUI editing when your design is expected to be responsive to different aspect ratios, input methods, and screen sizes. :(


The myth of "omg only html has different screen sizes" is so pervasive, it's mind boggling.

Desktop apps have had "different screen sizes" forever. This is called "resize your window in any way you want".

I have a rant/thread on this: https://twitter.com/dmitriid/status/1424052193951354881?s=20...


Sure, but I don't recall many programs / games / thick clients that would reorganize the layout of the application (adding or removing elements, reorganizing rows as communs, etc...) At least not 90s era windows programs, and certainly not dos.

Résolution was taken into account in games, to compute a scaling factor, maybe add some screen bars, and that was nearly all - fundamentally, because hardly any program was going to be used in a small, top to bottom screen at all.

So html was just the first one to have to do it pervasively because of desktop + mobile web browsing of the same source - but it could have happened before.


> Résolution was taken into account in games, to compute a scaling factor, maybe add some screen bars, and that was nearly all - fundamentally, because hardly any program was going to be used in a small, top to bottom screen at all.

Are you comparing applications or games? Because games don't have a fluid layout anyway[1], whether HTML5 or native application.

> So html was just the first one to have to do it pervasively because of desktop + mobile web browsing of the same source - but it could have happened before.

No. All the GUI toolkits I have used to produce native GUI applications since at least 1998 had support for ensuring that elements were still accessible after resizing[2]. Even in 1998, Delphi's "anchor" worked better than anything in HTML today.

HTML was the last GUI development system to get this sort of thing.

[1] You can choose one of a dozen preset WIDTHxHEIGHT resolutions. You couldn't narrow the window and still expect to see all the game elements.

[2] I don't remember many native GUI applications that were broken when you halved the width, or halved the height.


Hmmm, HTML has had layout behaviour that works at all viewports since its inception -- it's just that web developers have often implemented markup that that is inflexible. Just as you could make static/inflexible layout in any of the tools you mentioned, so could you do so with HTML. The regular flow of content on a web page has always been basically equivalent to "word wrap" (I don't know the proper term if there is one). The only noteworthy feature specifically regarding viewport resizing for web pages is "media queries" which wasn't necessary for ensuring a flexible layout.

It was always technically possible to have a flexible layout, it just didn't become popular/"standard" until around when mobile started being a popular medium via which to view that content. The prevalence "best viewed at 1024x768 or higher" was just a symptom of inflexible design & implementation, not an actual technical limitation of HTML.

P.S. I will definitely agree that laying out content in HTML has always been awkward, tedious, and inconsistent across browsers, hahah :)


One of web's crowning achievements, flex, was available in Qt in early 00s, if memory serves me right.


Do you remember a popular QT app that would turn a row of elements into a column of elements when shrinking a window, though ?

Was it also common to make sure your Qt app was working fine on the small portrait resolution of the mobile computers that were going to be invented any decade now ?

Flex is a layout system (a fairly good one, that I wish had existed on the web since the start. Rows, columns, wrap. Good.)

; responsive is a design considération (what do I as a human being decide should be visible when the screen is just too small to show everything.)

My claim is that "responsive" as a design issue is deeply linked to mobile computers, so it's not a surprise that it was not a big conxern before.


Boy do I have a story for you :-)

WriteNow https://en.wikipedia.org/wiki/WriteNow was a word processor available for the Macintosh from 1985. Its windows could be resized from full screen (512x342!) down to so small that only part of one character was visible. There was zero reason to support windows so small other than programmer amusement. The interesting thing was that the scrollbars were perfectly usable at any window size, and changed not just their size but their layout to do so. From memory: at a normal size window, the vertical scrollbar looked normal: something like this:

^

|

|

v

At a smaller window size, the scrollbar got narrower, with smaller arrows. This made some sense.

At a still smaller size, the scrollbar shrank again, and the arrows changed shape to be smaller. At this point the window might be displaying two lines of text and the scrollbar was only 20 pixels tall. This was a pointless window size.

At a still smaller size, the scrolling area itself would disappear because the arrows began to overlap. This was a ludicrous window size.

At a still smaller size, the vertical scrollbar changed to horizontal, with two tiny arrows only a few pixels tall, and a teeny scrollbar between them. This was completely pointless.

All of the scrollbar designs were functional.


It did happen before, X Windows Athena and Motif used layouts, because no two X Windows Thin Clients were alike.

Same applies to Tcl/Tk and Java Swing that build on the same principles.

On Windows side, Windows Forms introduced layout manager, Delphi and C++ builder did the same with VCL.

Qt and wxWindows also have layout managers since the early days.

What happens is that people cargo cult how native programming used to be like, and youger generations only care about Web and mobile.


In the 90s we went from 640x480 to 800x600 to 1024x768 in fairly rapid succession, and Windows could be running in any of those modes depending on the user's hardware. Many apps were able to run in any of those responsively, though some would refuse to run without a minimum level.


> (adding or removing elements, reorganizing rows as communs, etc...)

The main reason you don't recall apps doing that is that it is a pretty horrible idea in virtually all cases.


Removing big nav bars and moving their contents into drop-down menus is pretty much the standard way of handling resizes across the web. Same goes for multi-column layouts. It would be a horrible idea to keep those things on a phone, just like it's a horrible idea to scale up a phone interface to a desktop browser window.


Having distinct layouts for mobile devices can be a good idea.

Having the interface add/remove elements for this dynamically is (a) obviously not necessary, as my desktop doesn't suddenly turn into a phone while I am browsing, and (b) not a good idea.

It seems like a neat generalisation, but it really isn't.


Just to point out why your statement is misinformed, your tablet turns from a desktop to a phone when you rotate it.

I've been designing web frameworks from the ground up since 1995. Two sizes is not how it works. You don't read the initial size of the browser window, or parse the device data to see if it's mobile, and decide from there which of two layouts to draw (mobile or desktop). You read it on the fly and redraw as necessary. All parts of the interface and the content working together.

Bootstrap, for instance, has xs, sm md lg xl classes and mixins. Often you don't hide interface elements but simply resize them. Font leading and size may change 20 times subtly as you resize a window.

If you don't believe me, load any major website in a desktop browser and play with resizing the window from narrow to wide.


I know that's how people are doing it.

I am just saying it is bad.

How do I know it is bad? I know it because I have to use this stuff.


If done wrong, it's bad because you're on a desktop and seeing a mobile interface when you shouldn't. The Charles Schwab website is an example of that. If done right, it should feel natural on any size screen, and you should have visual cues as you resize. Again, in many cases it's not about hiding UI elements completely, but about simplifying them so they degrade from word+icon, to smaller font, to just icon, to drop menu. Although it's hardly an example of cutting edge design, the overall AWS console handles this pretty well, shuffling what you need into smaller compartments. (Some individual services do better than others). If you open 4 of them on a desktop it's still fairly easy to find what you need, and hasn't yet degraded all the way to a mobile interface. In my app designs there are at least three levels, usually four.


No.

NeXTStep had resizable windows.

NeXTStep had Interface Builder.

Worked like a charm.


It's still there in MacOS's XCode


When I've looked in the past, Interface Builder was (as far as I could tell) a first-step-and-don't-return thing. Meaning you could lay out an interface visually, but when you want to start coding it becomes a code definition of that interface, and once you start updating that, you can't (easily) return to the visual interface-definition interface. Has that changed, or was I wrong?


Sadly, that's what it has turned into.

Used to be a lot better.


I think "it's tricky" and "it exists" are compatible sentiments.


Ok, how about "scrollable page" as the underlying mental model?


Drag and drop a scroll bar: now you have a scrollable page.

Do whatever you want to it.


People who never wrote fluid designs are always the first to tell you it's never been done.


Not tricky if you spend the time. I'm always speechless when people claim that lack of responsive screen adjustment was the death knell of Flash/AS3. Any language or stack is going to suck on some screens unless you test it on those screens and write code accordingly. Nothing had better performance in this than Flash, up until Google decided to stop letting Chrome fire off new window boundaries on resize until the click/drag was let up. I wrote practically a whole operating system with window managers and apps in a resizable browser window in 2008 using that tool in under 300k. And large portions of the graphical elements were done through the GUI. Do you realize how much more boring and time consuming it is to write every media size CSS subclass and have to test it compared with just drawing multiple sizes of things and changing their positions and filters?


>and write code accordingly

That is exactly the point — now you have to write code, not use a graphical editor.


No, but the sprite/graphic implementation was much less tedious when you could use a good GUI to set up all the small bits instead of relying on a mental map of flex/grid/css to resolve every little padding or margin.

I often write 99% of an app now and spend days dealing with single-pixel discrepancies on screens whereas before, the layouts would likely be implemented before the code to swap between them even started being written.

You always also had to write code.


Have you seen Retool (https://retool.com)? It feels familiar to HyperCard / Visual Basic, but now in the cloud. I’ve used it and like it.


Relying on a SaaS today is not too bright.


LiveCode is also a SaaS, locked behind a subscription iirc.


Not so -- there is a starter plan at significantly reduced cost that has deployment restrictions, but with the standard plan you build your own standalones and they work forever.


We didn't, of either.

If you have a WordPress blog, you would be surprised how much you can edit in GUIs. .NET/Delphi/etc. are still around. Heck, you can GUI edit a Swing app right now if you want.

The trouble is that GUI editing is super limited, so it is worth learning to write the code yourself. And frankly, HTML with CSS3 is not that hard to make by hand; organize div and spans and other tags around what you need, then open the page in Chromes dev tools and adjust margins etc., until it looks like what you want, then save the CSS file it generates.

This is much better than fighting with a GUI tool.


It’s better than fighting with a gui tool if you care about gui. I just need something to work and then give it to someone. I still haven’t found anything productive outside something like retool (cannot use cloud for the work I do) that works for me. Most wysiwyg tools now use drag and drop to containers that are responsive etc which I find impossible and tedious to use. I want to throw stuff on a canvas and hook it up to the backend I made, test it and then throw the code to a frontend colleague. Found nothing usable like Delphi (used it for 10 years in the 90s/00s) but for html for that yet; it’s all tedious, slow and usually incredibly buggy.

I am a senior (30 years+) software engineer and html/css really doesn’t work for me. I can do it but I find it boring and annoying.


If you just want to slap something together, why not use a GUI to edit a Swing frontend?

Or do you specifically mean an interactive HTML front-end, something I don't think you could make in DreamWaver either?


Livecode offers exactly what you're describing: GUI editing of a live user interface, with code able to be built-in to every object. https://livecode.com

It's based on HyperCard, so the language isn't to everyone's taste. But it's updated to include color, unicode, more advanced coding techniques, database access, multi-platform and more. But the basic concept -- I want a button here, and a field there, and a slider there -- is still 100% there.


Google Web Designer which is closed source has Dreamweaver features including templates. see https://webdesigner.withgoogle.com/


Professionals in every domain like to maintain a certain level of difficulty to keep amateurs out. The tools of a trade can never be too easy, the tax code can never be simplified, legal writing and procedure has to be opaque etc. as professionals subconsciously reject job security threating ideas.

This sabotage is subtle: A wide variety of technical decisions can be made at any time, with complex trade-offs, bounded by what the majority of developers is willing and able to handle. As we move our servers to the cloud to make our lives easier and get admins fired, the exact right level of complexity shows up in AWS and Azure to enable stable and well-paid cloud expert jobs. For that difficulty-goldilocks-zone, Visual Basic was too easy, and things like functional programming are too hard.


This is nonsense. The tax code is complex to close loopholes that smart money-motivated people find in it. Similarly, programs are complex because they solve complex problems. Of course you can write very simple programs, but they simply don't solve the complex problems. None of this is about gatekeeping anyone, all of this is about what value we actually provide.


There are some complex problems out there, but the vast majority of requirements are rather trivial, no? Heavy websites that don't do much, but with enough javascript to harm usability seem to be an issue HN readers agree on. Opening a car glove box is another simple problem that now has complex solutions (https://www.youtube.com/watch?v=lRB0gbYO3fE). Isn't it weird how those things come about? It can't possibly be incompetence, nor would it be outright evil.

I suspect it's a subconscious process where we like to build a framework that appeals to us, where we get to be 'senior' and shape the world the way it is convenient for us. The antidote is a clear commitment to simplicity, to meditate over Picasso's Bull and apply that to our work.


The tax code is complex to create loopholes for the wealthy to exploit.


Not every country in the world has the same problems as the US.


> Professionals in every domain like to maintain a certain level of difficulty to keep amateurs out.

Not all of us. I fervently wish that implementing the various platform-specific accessibility APIs, and the corresponding tricks for canvas-based GUIs in web applications, was easier, so more GUIs would be accessible. I wish I wasn't one of maybe a few hundred people in the world who had substantial experience with the UI Automation API on Windows, for instance. I'm working on an open-source project to try to package up that specialized knowledge in a reusable implementation. But it takes work to make inherently complicated things easier.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: