Tag: javascript
Why I’ve Gone Hybrid Over Native For Mobile Apps
I started developing mobile Android applications in late 2011. It wasn’t until 2012 that I released my first application to the Android Marketplace, now known as the Google Play Store. Up until early 2014, I only made native Android applications using the official Android SDK. As of now, I have only been using web technologies to create mobile hybrid applications for Android and iOS.
The following will explain why I’ve chosen to develop using modern web technologies rather than native mobile languages.
Read MoreSolve A 2D Array Maze Using Recursion And JavaScript
To continue on the topic of popular interview questions for software engineering positions, I figured it might be appropriate to go over solving a maze that was created using a two-dimensional array.
A maze created from a 2D array can be solved using recursion similar to like we did for the previous Fibonacci article I made.
Read MoreCalculate If Duplicates Exist In An Array Using JavaScript
You’ll notice previously I did a post regarding the Fibonacci number, a popular interview question for programming jobs. To keep up with this trend of interview questions, we’re going to look into the different ways of finding duplicates in an array.
Finding array duplicates is a good question because it tests your knowledge of algorithm design and your understanding of various time complexities.
Read MoreThe Fibonacci Sequence Printed With JavaScript
If you’re familiar with the material I write on my blog, you’ll probably be confused at why I’m making such a post. Anyone who has been a part of a Computer Science program at a university will probably have dabbled with Fibonacci in their first semester of school. However, many Computer Science graduates don’t realize that this is a common job interview question regardless of the company or job level that you’re applying for. Whether you’re applying for a new graduate position or a senior level position, there is a good chance you’re going to be screened with a question on this topic.
With that said, I think this can be a refresher to anyone going through the interview process for a programming or software engineering position.
Read MoreSession Management In Your Express.js Web Application
I’ve still been doing a lot of fiddling with Express web framework for Node.js. I recently ran into an issue with saving data to sessions because much of the documentation online is outdated and no longer functional. However, I did get it working, and am going to discuss it in this guide.
If you’re not familiar with Express, you may want to take a moment and read my other article regarding installation.
Read MoreParse An XML Response With Node.js
A while back I wrote an article on how to parse XML using PHP. Since then I’ve slowly been transitioning away from PHP, yet XML continues to be a burden that I can’t get rid of.
Not all APIs return JSON so it is the application developers responsibility to handle the XML. Lucky for us there is a convenient package for Node.js called xml2js that will handle all the parsing for us.
Read MoreOTP Safe for Chrome Released
If you’ve been keeping up with my work, you’ll remember in 2014 I released an app called OTP Safe for Android and iOS. This was a hybrid application created with Ionic Framework, that manages time-based one-time passwords (TOTP) commonly used for two-factor authentication (2FA).
I’m starting 2015 off with a bang by releasing my first ever Google Chrome extension. OTP Safe for Chrome was designed to mimic the functionality of the iOS and Android versions, but for laptop and desktop computers.
Read More