Hyperloop to the Rescue — a Developer Experience

18 Flares 18 Flares ×

Yanko Valera is a freelance mobile & web app developer with 10+ years of experience working for clients in Australia, USA, UK, Puerto Rico and Spain. In the last few years, he has worked developing cross-platform mobile applications with Axway Titanium. Feel free to follow him on Twitter or connect with him in LinkedIn.

I’ve been a Titanium Mobile developer for 3+ years — building native cross-platform mobile apps for Android, iOS and Windows. Titanium is perfect for my needs — I can code with JavaScript and create and build native cross-platform apps for my clients in a fraction of the time it would typically take. Better still, I can share over 90% of my code between platforms meaning it’s quick and easy to build and maintain going forward.

Sometimes when building apps, I come across a project where I have to integrate a specific SDK or add some functionality that’s not part of the core Titanium API. In these cases, I’ve had to look at native modules, written in Objective-C or Java.

(There’s a lot of native modules available for Titanium — I’d recommend using gitt.io as a way to search for, and install them in your projects).

Typically, I can find the modules I need from Gitt.io or directly from Github — but recently I had a need I couldn’t solve with an existing native module. I was working at a client’s office, and we had some requirements that needed to use native code. That wasn’t a problem, and we found some modules that worked, but then they needed the app to be integrated with a Bixolon Printer.

The good news was there was an Android SDK they could use. The bad news was there was no native module, so I either had to write a native Java module or use Hyperloop. I’m not a native Java developer and had never produced a module, so I decided to try Hyperloop. After all, it says I can develop directly to the underlying SDK using just JavaScript.

We worked on adding the Android SDK and writing a Hyperloop module to integrate it with — there was some trial and error, and a little debugging and testing, but eventually, we had the printer working!

The whole process took 2-3 hours — I was writing JavaScript code and integrating an Android SDK directly into my project without writing any native Java code!

There’s no way I could have worked on-site, under that pressure and tight deadline and developed a native module in that time OR found something that would have worked. The ability to code directly to the underlying SDK with Hyperloop using JavaScript saved the day, and we completed the work.

Hyperloop is a game-changer, and I’ll be using it in future!

You can find the Bixolon Hyperloop module here.

18 Flares Twitter 0 Facebook 0 Google+ 0 LinkedIn 18 Email -- 18 Flares ×

4 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

  1. Chrystoffer Kugler Horochovec

    Ever since HyperLoop was announced, I’ve always found it interesting. When I was added to the indie plan, I started using it and encouraged my colleagues to use it as well.

  2. Bert Grantges

    Hyperloop is an incredible addition to the Titanium SDK. Now that its embedded as part of the SDK it will be even easier to leverage.

    Being able to maximize cross platform functionality, while being able to tap into the lower level native code where needed is a great experience as a developer.

    Been using it from the beginning, and love the progress its made. Also like that I can leverage tools like PaintCode to generate SWIFT code that easily translates to Titanium JS code.

  3. Waqas

    Are there some more documentation on hyperloop usage other than Appcelerator own documentation.

    I mean somebody writing blog on hyperloop. Ideally, community should post their hyperloop sample work in blog so that developers like me or others can better learn and understand to use it effectively.

Sign up for our blog!

computer and tablet showing Appcelerator software
Start free, grow from there.
18 Flares Twitter 0 Facebook 0 Google+ 0 LinkedIn 18 Email -- 18 Flares ×