Posts

Showing posts from January, 2016

RESTful Web Services

Latar Belakang Web Services (Programmable Web) Website yang kita buat tentu kita desain agar  manusia dapat dengan mudah dan nyaman untuk mengakses informasi yang ada didalamnya. Namun,  bagaimana jika yang mengakses website kita adalah sebuah program komputer? Sudah menjadi rahasia umum, jika programmer sering menggunakan cara tidak resmi untuk mendapatkan informasi yang ada dalam sebuah website  dengan teknik screen-scraping misalnya. Namun sayang, program komputer tidak se-fleksibel manusia dalam hal menafsirkan data yang ada dalam sebuah website. Maka, muncullah teknologi seperti RSS, XML-RPC, SOAP, RESTful Web Services, dll. Teknologi-teknologi tersebut dibuat untuk membuat website kita lebih mudah dibaca atau ditafsirkan oleh program komputer. Apa Itu RESTful Web Services? RESTful Web Services mengacu pada sebuah cara atau gaya dalam membangun sebuah sistem web services dengan memanfaatkan semua fitur/potensi yang dimiliki oleh teknologi HTTP (Hypertext Transfer Prot

Google News Feed API Alternative

Image
As a web developer, I used Google News Feed API for converting RSS Feed to JSON format. I like more JSON than XML format, because it's easy to parse from my programming languages (Javascript or PHP or Python). Since google announced that they had deprecated this service, I was looking for new service that has ability like Google News Feed API. I opened google.com and type "Google News Feed API Alternative" and I found YQL (Yahoo! Query Language). YQL has ability to access RSS Feed data with SQL-like commands and parse the result to JSON format. For example, I'll show you how to get feed data from Yahoo! News Top Stories (http://rss.news.yahoo.com/rss/topstories)  using jQuery ajax function. See the Pen Yahoo! Query Language (jQuery) by Yuda Sukmana ( @ydatech ) on CodePen . According to the example above, these are some important things to use YQL on your project : 1.  YQL API URL/Endpoint We have to send a GET request to https://query.yahooa

Showcase: Indonesian Youtubers with Riot.JS and Phonegap Build

Image
In this post, I'll show you an android app that I've created with my favorite UI library Riot.JS and Phonegap Build. It's called Indonesian Youtubers. It will help you to find out top Indonesian Youtubers who have many subscribers, videos, and views. Indonesian Youtubers is avalilable on Google Play, you can download and try here . These are screenshot of Indonesian Yourubers app : Home Videos List Channel Details