Depois de muito tempo sem blogar, resolvi atualizar um pouco as coisas aqui.
O ano passado, teve o Yahoo Open Hack, onde mais uma vez, tive a oportunidade de participar. Para o evento, meu hack foi o YQL! Console for NetBeans and Meme Robot.
Apesar de não ter levado o prêmio, gostei muito do trabalho realizado, pois foi um verdadeiro hack, pois todas queries executadas pelo YQL Console no Netbeans, foram utilizando uma página do Yahoo, que descobri utilizando Wireshark.
O plugin chamou a atenção de Geertjan wielenga, que me convidou a escrever um artigo para a DZone.
Segue abaixo o texto, para acessar o artigo original, clique aqui, que foi copiado do DZONE,
Recently, Yahoo provided a nice API called YQL, which stands for "Yahoo! Query Language". It's an API that exposes an SQL-like syntax (from SHOW and DESC to INSERT and DELETE commands) that is very familiar to developers. It lets you make great things: with this language, developers can use a single language to query, filter, and join data across web services. You can even create your own open data table (see http://datatables.org) that can make your data YQL-accessible.
To test your queries and data tables, Yahoo created the YQL Console to help developers test their own queries and funcionalities, it's quite useful for YQL Developers.
This year (in March), Yahoo sponsored a contest called 'Yahoo Hack Day', an open contest for developers to create hacks using these Yahoo APIs. My contribution to this contest was the plugin "YQL Console for NetBeans", which is the YQL Console embedded into NetBeans IDE:
To make it work, I used wireshark to sniff the network to see what was happening. In that way, I was able to hack some Yahoo PHP pages that let me "clone" the console inside NetBeans IDE. I'm using some APIs like Bean Bindings and Swing Application Framework for the UI, Jakarta Commons HttpClient for accessing resources via HTTP, as well as RESTClient to format XML and JSon code, and a couple of NetBeans APIs, such as the Window System, Utilities, UI Utilities and Settings.
Bem, e isso ai, para download do plugin, conforme citado acima, acesse o link
http://plugins.netbeans.org/plugin/27552/yql-console-for-netbeans
Diversão Garantida!!!
0 comentários:
Postar um comentário