Welcome!

Java IoT Authors: Yeshim Deniz, Elizabeth White, Pat Romanski, Carmen Gonzalez, Liz McMillan

Related Topics: Java IoT, Microservices Expo

Java IoT: Article

User Interface Generation Tools: Silver Bullet or Fool's Gold?

User interface generation tools are something that has always been dear to my heart

User interface generation tools are something that has always been dear to my heart. I've enjoyed using them and have been fortunate enough to work on developing them. However, there's a huge tar pit to be avoided when using them on projects that I see people heading towards over and over again.

The problem crops up when one tries to automatically generate GUIs from a model. It doesn't matter what the model is; once upon a time it was a CORBA IDL or a relational database schema, today it's more likely to be a UML model, WSDL schema, RESTful API, or whatever the API du-jour happens to be.

The tool is pointed towards the model's metadata, wizards are launched, and, hey, presto. Alakazam, a brace of fully compliable screens are kicked out in seconds. Things are looking good so far - the application can connect to the messy backend, the GUIs will list elements with trees or tables of child elements, windows are peppered with Add/Edit/Remove buttons, typed attributes are turned into appropriate controls, and it looks like the project is off to a flying start. But beware - this is the same false feeling of well-being that occurs when walking downwind of a fast food restaurant on an empty stomach.

The first problem is that code-generated GUIs are just that - they look and operate as though they are, well, generated by a machine. I feel strongly that GUI software is more art than science, and that the GUI is the most important piece of any application. Musicians use technology to create sounds; animation studios to give life to cartoon characters; however the software's job is to let the artist get on with the job and facilitate the task, not replace them.

The problem with code-generated GUIs is when changes are required. The tool either has a zillion code-generation options that have to be mastered to tweak its output, or more likely you have to tell your users you can't change something awkward or clumsy because that's how the tool made it. This frustrates any skilled GUI developer who looks at the generated code and knows he is perfectly able to change it, but it's forbidden because it can't be round-tripped and would break the link from the model to the GUI.

At this point a standoff occurs between those who think that the model is the center of the universe and those who think that the GUI is more important. I'm firmly in the latter camp - I don't dislike modelling, but it's just a means to an end. The GUI developer has to have total and utter freedom to design something that is totally unconstrained in how it looks or behaves, how it navigates windows, how it reports errors, and so forth.

This has happened because we as an industry create new API protocols so fast that application developers are constantly chasing a shooting star looking for delivery shortcuts. Projects that start out backing one particular language, platform, and backend often find that by the time they're ready to ship the industry has moved on and their once state-of-the-art software looks obsolete.

However, rather than take this approach, I believe that the best route is to hold to the course and focus on the usability of the application and have first-class UI designers on your project to create something that looks like it's been built by developers who care about their user's experience and the beauty of their user interface, rather than the underlying data model. There is nothing wrong with code generation tools, however they should be viewed as cheap furniture - they'll hold up for a short period of time after which they'll bend/warp and crack before they need to be thrown away.  Great if you have a system to build with a short shelf life, however if the software is to have any longevity and you have a choice between investing in modellers who swear by code generation tools, or good developers who have the skill and knowledge to create good applications, for the sake of the user, back the latter.

More Stories By Joe Winchester

Joe Winchester, Editor-in-Chief of Java Developer's Journal, was formerly JDJ's longtime Desktop Technologies Editor and is a software developer working on development tools for IBM in Hursley, UK.

Comments (1) View Comments

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.


Most Recent Comments
Kennard Consulting 10/15/09 04:18:00 AM EDT

Hi Joe,

Great article. I was hoping to direct your interest to my Open Source project, Metawidget. It is a User Interface Generation Tool, but tries hard to address both the problems you outlined.

With regard to your first problem, Metawidget does not try to generate the whole UI: it doesn't 'own' everything. It only generates those parts that are monotonous and error-prone to code (typically input forms), leaving the developer and their existing gamut of UI tools to develop the rest of the application. It does not dictate which UI platform you use, and supports many different toolkits on many different devices.

With regard to your second problem, Metawidget does not use static code generation. When changes are required, there is no need to regenerate or edit generated code. Rather, Metawidget inspects objects and generates UIs for them at runtime.

I would be most grateful if you could take a look at Metawidget and let me know your thoughts.

Regards,

Richard.

@ThingsExpo Stories
SYS-CON Events announced today that Tappest will exhibit MooseFS at SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. MooseFS is a breakthrough concept in the storage industry. It allows you to secure stored data with either duplication or erasure coding using any server. The newest – 4.0 version of the software enables users to maintain the redundancy level with even 50% less hard drive space required. The software func...
Most technology leaders, contemporary and from the hardware era, are reshaping their businesses to do software in the hope of capturing value in IoT. Although IoT is relatively new in the market, it has already gone through many promotional terms such as IoE, IoX, SDX, Edge/Fog, Mist Compute, etc. Ultimately, irrespective of the name, it is about deriving value from independent software assets participating in an ecosystem as one comprehensive solution.
SYS-CON Events announced today that EARP will exhibit at SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. "We are a software house, so we perfectly understand challenges that other software houses face in their projects. We can augment a team, that will work with the same standards and processes as our partners' internal teams. Our teams will deliver the same quality within the required time and budget just as our partn...
SYS-CON Events announced today that delaPlex will exhibit at SYS-CON's @ThingsExpo, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. delaPlex pioneered Software Development as a Service (SDaaS), which provides scalable resources to build, test, and deploy software. It’s a fast and more reliable way to develop a new product or expand your in-house team.
In his keynote at @ThingsExpo, Chris Matthieu, Director of IoT Engineering at Citrix and co-founder and CTO of Octoblu, focused on building an IoT platform and company. He provided a behind-the-scenes look at Octoblu’s platform, business, and pivots along the way (including the Citrix acquisition of Octoblu).
SYS-CON Events announced today that Outscale, a global pure play Infrastructure as a Service provider and strategic partner of Dassault Systèmes, will exhibit at SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. Founded in 2010, Outscale simplifies infrastructure complexities and boosts the business agility of its customers. Outscale delivers a secure, reliable and industrial strength solution for its customers, which in...
SYS-CON Events announced today that Outscale will exhibit at SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. Outscale's technology makes an automated and adaptable Cloud available to businesses, supporting them in the most complex IT projects while controlling their operational aspects. You boost your IT infrastructure's reactivity, with request responses that only take a few seconds.
SYS-CON Events announced today that Systena America will exhibit at SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. Systena Group has been in business for various software development and verification in Japan, US, ASEAN, and China by utilizing the knowledge we gained from all types of device development for various industries including smartphones (Android/iOS), wireless communication, security technology and IoT serv...
DevOps at Cloud Expo – being held October 31 - November 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA – announces that its Call for Papers is open. Born out of proven success in agile development, cloud computing, and process automation, DevOps is a macro trend you cannot afford to miss. From showcase success stories from early adopters and web-scale businesses, DevOps is expanding to organizations of all sizes, including the world's largest enterprises – and delivering real r...
Five years ago development was seen as a dead-end career, now it’s anything but – with an explosion in mobile and IoT initiatives increasing the demand for skilled engineers. But apart from having a ready supply of great coders, what constitutes true ‘DevOps Royalty’? It’ll be the ability to craft resilient architectures, supportability, security everywhere across the software lifecycle. In his keynote at @DevOpsSummit at 20th Cloud Expo, Jeffrey Scheaffer, GM and SVP, Continuous Delivery Busine...
In order to meet the rapidly changing demands of today’s customers, companies are continually forced to redefine their business strategies in order to meet these needs, stay relevant and continue to see profitable growth. IoT deployment and development is integral in this transformation, and today businesses are increasingly seeing the value of investing their resources into IoT deployments. These technologies are able increase ROI through projects such as connecting supply chains or enabling sm...
SYS-CON Events announced today that CollabNet, a global leader in enterprise software development, release automation and DevOps solutions, will be a Bronze Sponsor of SYS-CON's 20th International Cloud Expo®, taking place from June 6-8, 2017, at the Javits Center in New York City, NY. CollabNet offers a broad range of solutions with the mission of helping modern organizations deliver quality software at speed. The company’s latest innovation, the DevOps Lifecycle Manager (DLM), supports Value S...
SYS-CON Events announced today that Peak 10, Inc., a national IT infrastructure and cloud services provider, will exhibit at SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. Peak 10 provides reliable, tailored data center and network services, cloud and managed services. Its solutions are designed to scale and adapt to customers’ changing business needs, enabling them to lower costs, improve performance and focus intern...
A strange thing is happening along the way to the Internet of Things, namely far too many devices to work with and manage. It has become clear that we'll need much higher efficiency user experiences that can allow us to more easily and scalably work with the thousands of devices that will soon be in each of our lives. Enter the conversational interface revolution, combining bots we can literally talk with, gesture to, and even direct with our thoughts, with embedded artificial intelligence, whic...
Everywhere we turn in our industry we can find strong opinions about the direction, type and nature of cloud’s impact on computing and business. Another word that is used in every context in our industry is “hybrid.” In his session at 20th Cloud Expo, Alvaro Gonzalez, Director of Technical, Partner and Field Marketing at Peak 10, will use a combination of a few conceptual props and some research recently commissioned by Peak 10 to offer a real-world consideration of how the various categories of...
SYS-CON Events announced today that Super Micro Computer, Inc., a global leader in compute, storage and networking technologies, will exhibit at SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. Supermicro (NASDAQ: SMCI), the leading innovator in high-performance, high-efficiency server technology, is a premier provider of advanced server Building Block Solutions® for Data Center, Cloud Computing, Enterprise IT, Hadoop/...
With major technology companies and startups seriously embracing Cloud strategies, now is the perfect time to attend @CloudExpo | @ThingsExpo, June 6-8, 2017, at the Javits Center in New York City, NY and October 31 - November 2, 2017, Santa Clara Convention Center, CA. Learn what is going on, contribute to the discussions, and ensure that your enterprise is on the right path to Digital Transformation.
Multiple data types are pouring into IoT deployments. Data is coming in small packages as well as enormous files and data streams of many sizes. Widespread use of mobile devices adds to the total. In this power panel at @ThingsExpo, moderated by Conference Chair Roger Strukhoff, panelists will look at the tools and environments that are being put to use in IoT deployments, as well as the team skills a modern enterprise IT shop needs to keep things running, get a handle on all this data, and deli...
SYS-CON Events announced today that SoftLayer, an IBM Company, has been named “Gold Sponsor” of SYS-CON's 18th Cloud Expo, which will take place on June 7-9, 2016, at the Javits Center in New York, New York. SoftLayer, an IBM Company, provides cloud infrastructure as a service from a growing number of data centers and network points of presence around the world. SoftLayer’s customers range from Web startups to global enterprises.
In his opening keynote at 20th Cloud Expo, Michael Maximilien, Research Scientist, Architect, and Engineer at IBM, will motivate why realizing the full potential of the cloud and social data requires artificial intelligence. By mixing Cloud Foundry and the rich set of Watson services, IBM's Bluemix is the best cloud operating system for enterprises today, providing rapid development and deployment of applications that can take advantage of the rich catalog of Watson services to help drive insigh...