How To Use PhoneGap To Auto Subscribe

Phonegap was once popular solution to build ios app with web skills. But now there are more better choices, such as React Native or NativeScript, but I think Phonegap’s advantage is a lot of plugins. In the past half year, I spent a lot time to use cordova-plugin-purchase to support auto subscription, though this plugin has some problem and author doesn’t provide server receipt validation code or even explanation, but it seems it is still the best purchase plugin. After a lot struggling, finally I figure it how to do it.

rxjs introduction

RxJS is a JS implementation of Reactive

DotNet: I'm back

A side project requires Asp.Net. I don’t want to go back to DotNet, though it’s a good platform, but I don’t touch Windows for 4 years, I don’t use it for 8 years. Now I cannot image work with Windows, not Mac. As an engineer, we should keep curiosity for everything, right? The more important is Windows changes a lot in recent year, more open. That’s why DotNet can work on Mac. Now let’s setup everything on Mac.

prepare-fb-interview

Most engineers may want to join Facebook. It’s better to prepare before your interview so you can have bigger chance to get offer. Also I want to let you know Google and Facebook interviews are not as difficult as you think. Don’t be scared by someone’s idea, such like “how to get google offer”. Of course you have bigger possibility to get offer if you can know everything including the much complex data structure and algorithms, like B tree, B+ tree, A* algorithm … But you must know Graph or Tree DFS/BFS.

typescript-for-nodejs

ts-node

host angularjs with s3 and cloudfront

For SPA application like AngularJS project, it’s easy to use s3 to host it. But if you want to use SSL, you have to use CloudFront for help, because S3 doesn’t support SSL directly. But there is some special issue to solve when you host AngularJS project, such as url issue for html5mode and enable SSL for CloudFront.

angularjs2.0

AngularJS 2.0 is coming, even is still in beta and something is still changing, but most stuff works well. It’s a good time to start to try it. In our recent demo we find its Component is very cool.

Interview Questions

Recent days knows a lot of interview questions, some of them are interesting.

Learn React.js

Finally have chance to learn React.js, because we need choose one from Angular.js 2 and React.js. To learn React.js, I find some good articles to start.

Toptal is funny

Toptal is a freelencer site which provides top 3% web freelencers. To join it, you have to pass their test first. There are a lot of people waiting to join it, so you have to wait for some time until some screener will come to talk and interview you. If want to get priority, you have to do something like what I’m doing right now, writing a blog about Toptal, to show you’re eager to join it, and it’s so great to join it. So everyone read this blog is moved to join it.