CinJUG: "How Should Java Developers Build Front-Ends for Web, Mobile, and Desktop Today?"
Talk
The Cincinnati Java User’s Group hosted monthly talks. I was honored to talk about “How Should Java Developers Build Front-Ends for Web, Mobile, and Desktop Today?” on Wednesday, January 20, 2021.
Thank you to Mark Wehby and James Carman for organizing this!
Abstract
Users accessed applications on PCs and mobile devices at the time. There were two obvious ways to build front-ends for these devices: web applications and native applications. Cross-platform UI toolkits combined advantages from both approaches. Examples were Facebook’s React Native, Google’s Flutter, Microsoft’s Xamarin, and JavaFX. I looked at these toolkits from the perspective of a Java developer. My talk suggested which toolkits to use, what their sweet spots were, and when to avoid them.
In 2019, I developed a mobile app prototype with Flutter and a progressive web application. I then decided to use Flutter for native mobile apps in my project at the time. I demoed these apps and the development tools I picked in the talk. Finally, I highlighted typical issues with Flutter and how to solve them.
Slides
The slides were available as a PDF (7 MB); the PDF version is available for download here.
The slides were also available in their original Keynote format (40 MB, including two videos) — animated, with a look behind the curtain of individual effects; that version isn’t available for download here.
Attributions
The slides used the following images:
- One Finger Touch by Felix Westphal from the Noun Project
- Sceptic Emoticon from Wikimedia Commons
- Apple Watch from Wikimedia Commons
- Samsung Galaxy Watch from Wikimedia Commons
- Apple TV from Wikimedia Commons
- Google Chromecast Ultra from Wikimedia Commons
- HTML 5 logo from Pixabay
Demos
My talk mentioned a Flutter prototype I built in the summer of 2019. Here it is:
My talk also mentioned a progressive web app prototype I built at the end of 2019. Here you go:
Getting Started
Flutter & Dart
The Flutter website was a good place to get familiar with Flutter. Flutter uses the Dart programming language. Both Flutter and Dart could use plugins from a great portal.
Installing Flutter
Here were the instructions, straight from the Flutter website:
Learning Dart
You started with the Dart language tour. Java developers took the “Intro to Dart for Java Developers” next. Then there were options:
- Google had several free tutorials for Dart.
- Code with Andrea had a 10-hour Dart course.
Learning Flutter
Here’s a selection of Flutter tutorials and courses:
- Google had a number of free tutorials for Flutter.
- freeCodeCamp had at least two free Flutter courses:
- a one-hour course for mobile apps, and
- a three-hour course that claimed to include desktop & web, too.
- Code with Andrea had two paid courses:
- a 2.5-hour “Flutter REST API Crash Course” (I took it & liked it a lot!), and
- a 21-hour course on Flutter & Google Firebase.
- Finally, academind had a 41-hour Flutter course. I used the 2019 version to learn Flutter and can highly recommend it!