Occasionally there are those eerie moments as developers where things seem too good to be true. You’re sitting at your desk. You’ve built a new and cool mobile app in low-code. You’re testing out some of the logic in your visual model. The app is running on your iPhone. You’re debugging the visual model. On a PC. Yep, I said, on a PC.
Then you wake up to find out you’re still using Chrome DevTools, and it was all a dream… or was it?
How Low-Code is Your Low-Code Platform? A Philosophical Question
There has been a recent proliferation of no-code and low-code development platforms as vendors look to accelerate how organizations build mobile apps. In their latest report on this market, Forrester tallied over 40. This comes as no surprise. Organizations are experiencing first-hand the benefits of developing solutions 10x faster, without the need for specialized skillsets and companies. Although the results often sound too good to be true, vendors want to capitalize on that market momentum.
The purpose of this blog, however, is not to educate you on the breadth of low-code solutions, as this has also been covered elsewhere. Instead, we pose a simple question: How low-code is your low-code platform?
By enabling developers (or even non-developers) to build mobile apps with visual models, low-code platforms address a number of problems plaguing IT. First, IT is able to deliver mobile apps significantly faster—which the business loves, of course. Second, IT is able to deliver those apps with their existing teams; therefore, there’s no need to look for expensive mobile specialists—which IT loves, of course. Third, visual models are much simpler to understand, which means simplified maintenance and knowledge transfer. So, no creation of technical debt.
But here’s the problem with current low-code platforms. Actually, there are two problems. First, most low-code platforms don’t let you create true mobile apps. Instead, you have to make do with responsive web apps. No integration with the capabilities of the device? Slow screen rendering? No offline? Good luck winning new users with that app.
Okay, so let’s focus on low-code platforms that actually let you build mobile apps people want to use. Development of the app is accomplished with a drag-and-drop approach. New screens quickly come to life; features and functions deliver new experiences customers never dreamed of. Then it comes time to try it out on the mobile phone and… it doesn’t work.
Houston, we have that second problem. When the time comes to debug mobile apps, you have to step out of the comfort zone of low-code. Assuming your troubleshooting strategy doesn’t involve a series of strategically placed print statements (yes, I may have been guilty of this in the past), how does debugging work for mobile apps in this new world? While there are many different approaches they generally involve the following:
- Configuring various network settings
- Different types of memberships (Adobe, Apple Developer, etc.)
- Generating certificates
- Configuring devices
- Connecting your favorite development tool
- Repeating steps 1 thru 6 for each permutation of device and developer operating system
- Debugging the code
Wait, run that last step by me one more time. Debugging code? I don’t think I signed up for that. Let’s take steps 1 through 6 out of the equation. It’s left as an exercise for the reader to search for the term “mobile debugging” + [low-code vendor name] to see some of the shenanigans involved just to get ready to debug. Even without all of this setup, you’re still left with a fundamental problem. To debug that mobile app you carefully crafted in low-code, you have to debug actual code.
What’s the Big Deal?
Yeah, what’s the big deal? Maybe my code won’t have any bugs [insert alternate reality here]. Not surprisingly, it turns out developers spend, depending on the source you choose to believe, between 25% and 50% of their time debugging applications. And this isn’t time developers tend to look back on fondly.
After the delight and simplicity of building your mobile app with low-code, this is quite the slap in the face. Worse still, what if you don’t have the technical expertise to do this? Remember the second promise of low-code from up above? IT should be able to deliver mobile apps with their existing teams.
How Debugging Should Work
The real solution to this problem is simple, conceptually. You should be able to debug your low-code apps using the same visual models that you used to define them. These are the models you created after all: your logic, your business rules, your data structures. You should not have to step through some sort of generated code written in a language you may or may not understand.
We had already come to this realization for developers who were building web applications some time ago. They needed a complete low-code solution—including the ability to visually debug logic running on the server. With the release of OutSystems 10 last year came an entirely re-architected approach to mobile applications. For the first time ever, developers could build sophisticated mobile apps entirely with low-code visual models. These apps run complex logic on the device, removing the need to go back to the server any time a decision needs to be made. These apps connect to native device capabilities like sensors, calendars, contacts, touch ID, to create a completely immersive experience. These apps support different patterns for synchronizing offline data to address the most complex of requirements. These mobile apps needed the same intuitive approach to debugging as the server-side code.
With this most recent release and some amazing feats of engineering, developers can now debug mobile apps in exactly the same way they are used to debugging server-side visual models. Check out how to use it here. Set breakpoints, examine variables, step through your visual code—no problem. Simply attach your iPhone or Android device and you’re off. No arduous setup process. No additional tools. No special skillsets. This is exactly how debugging should be for mobile apps built with a low-code platform.
So, how low-code is your low-code platform? If it doesn’t support simple debugging of your mobile apps, then the answer is simple. It’s not low-code enough.