I can’t count the days since the last time I added a post to my blog and here I am with a new post. This is about WordPress and XML-RPC.
Several days ago, I made a huge and gigantic mistake to the company’s server. I formatted the disk. Oh my God! How dumb I was for not reading the instruction thoroughly. The consequence, I erased some critical scripts which had been used to pull content and saved it to the database. Fortunately, I didn’t erased any critical data. Well, there will always a bright side in every trouble, right?
So what did I do? Of course, I rewrote the scripts. Those scripts are not mine, but at least, I get the logic of it. It’s actually read some XML files, parse it, insert it to a WordPress database through XML-RPC, and delete all the XML files. Easy right? Continue reading
There was a time when I wondered, which one has better performance, NodeJS, Ruby, or PHP? And I decided to make a little test. I didn’t think this test would conclude overall performance, but specifically for this context, I would know which one was the best. The test were divided into 3 phases, they were: preparation, result, and conclusion. I hope my little research here will help you in your development. And for your information, this test is using NodeJS (0.8.9), Ruby (2.0.0p0), and PHP (5.4.17). Continue reading
It’s very exciting for me to announce that my very first book is out! Actually, I’m not the only author in this book, there are Giovanni Nugraha and Nia Mutiara whom I collaborate with to produce this great book. This book is about using devise in your rails application. It will helps the reader to start with devise, apply some customizations, add privileges, make remote authentication, and tests. So why wait? Go to the book website and make an order!
“Hey! What kind of stuff is PhantomJS?”. This could be the first time for you to hear or read or use PhantomJS, but for you guys who don’t, you still can read this article, because I still need your traffic (kidding).
So, what does “headless WebKit” mean? It’s like a browser (WebKit based browser), but without the GUI. So, you can use many kinds of WebKit functions in your own scripts. Then, you may ask “what is it used for?”. PhantomJS is used for headless website testing, page automation, network monitoring, and page automation.
The reason I play with this stuff is because I had a simple idea that capturing website automatically. People just give the URI of the page and the application will get the screen shot of it. Then, it can be shared or organized by that person. At first, I thought that I was going to have a tough journey to get thing done, fortunately I wasn’t. Continue reading
Paint on Canvas at Clodeo Lab
This idea came up when I needed to add new feature at clodeo. The basic idea was to improve current meeting room feature. The feature currently can only be used as a chatting room with manageable room, but in fact, chatting feature is not enough. I need something which can handle visual process like painting, adding image, or resizing image and that’s why I started this research. A virtual “white board” which is complemented with chat board, so users will be able to coordinate with other team remotely, for sure. Continue reading