» Posts by Varun Vachhar

Touch and Mouse Together

Written by Varun Vachhar

If you have built a web app in the past few years, you've probably had to deal with touch events. In many cases this was limited to handling tap and removing that pesky 300ms delay. However with touch devices becoming more powerful, we now have to implement more complex gestures— gestures that work for both mouse and touch. In this post we will walk through...

Read More »

Flattening Deep Hierarchies of Components

Written by Varun Vachhar

Components are an awesome tool for building interfaces. They allow you to break down the UI into distinct reusable elements. These can then be composed to build complex applications in a more sustainable way. Each component has its own well defined public API. In React this is defined by the component props. Whereas in Angular 2, it's inputs and outputs. The choice of this API...

Read More »

Two ways to build a location picker for a mobile AngularJS application

Written by Varun Vachhar

See the Pen 4d0c2a06e9671ec046baf30a16d811a8 by Varun Vachhar (@winkerVSbecks) on CodePen. Source Demo Building mobile apps often requires working with location information. While, the Cordova geo-location plugin makes it quite trivial to get the latitude and longitude values for the user’s current location, what we often want is location identifiers that are meaningful to the user - and not necessarily corresponding to the place where...

Read More »

Using the Ionic Framework to Supercharge Your Mobile App

Written by Varun Vachhar

The Ionic Framework is an open source front-end framework for developing hybrid PhoneGap/Cordova mobile apps with HTML5. We’re big fans. There are many reasons why we like this tool and why we’ve learned to use it to the best of its capability. Our lead Front-End Developer and Designer Varun Vachhar spoke to more than a hundred Toronto-area developers at our PhoneGap meetup...

Read More »