Start to End : Twitter client in Shoes
Prerequisites :
- I hope you have Shoes installed on your machine, operating system does not matter :)
- oauth gem (gem install oauth will do the trick or sudo if you have to!)
- json gem as well(to parse the response) (gem install json)
Let’s start :
Step 1 : Register your application at Twitter (HERE), give some cool name like “Rubydubee”(not this x-( ).
Step 2 : Lets first write our own library(ehh? don’t worry you can just copy the code here :) ), But you can try to understand that… very small & simple if you know the OAuth protocol.(the oauth gem does all the magic.)
Step 3 : Let’s write our Application
The code is intuitive! isn’t it? if you need any help plz comment!
After you run this “shoes main.rb” it will look somewhat like this :
Thanks for reading this post!
Next post will bring following points :
- Error handling
- Sophisticated architectural design and UI
- More features
Keep reading!!! :)
Ruby GUI - Web to Desktop
Hello! to all those good looking(:p) unhealthy smart creatures out there, A very very good morning(its 2:35 AM here :D ).
You might have made some guesses about this post from the title, and if you are excited to read the whole post then let me tell you that you are the right kind of person to do this. Please go on —-
There are thousands of web developer who are master at designing a web gui. but when it comes to designing the similar kind of gui for desktop application, it becomes very very tough for them to get the same look and feel.Hence for those i propose a very very simple way to port the web gui to desktop application.
I have started a project (webtodesktop) which will convert an HTML file into a desktop application along with the same styling.
See the demo … Check README.
Will soon be writing more HowTos on that…Cya!!!
Shoes example like Adidas or NIKE
As i already told Shoes is like designing web GUI, 100.times {very.easy}. But ofcourse you need to start somewhere… if you haven’t yet tried this before… you must give it try. Simple to install and start(especially if you are on windows ! you know its like you can anytime climb on windows with your shoes on! ;) ).
So tie your shoe laces tightly… we gotta roll on …
1.install … like do anything i don’t care about this
2.start writing! that’s it… How?…Read shoes manual that comes bundled with it …. its easier than ever starting point for beginners.
Shoes and Chappals!
Nobody Knows Shoes?
Haha are you kidding?
No! but you must read that!(what? dont know?) . Its the only official document available for Shoes.
Shoes Intro:
Shoes is a very tiny Goeey(uh oh GUI) framework for Ruby. Have you listen to it? I’ve said very TINY !! Because it only has 10 things to show!….. i.e you can only draw 10 things and thus only have to remember 10 things.
Para … Buttons … Links … Flows … Stacks … Images … eh etc.. etc .. anyways i dont like to use anymore …
What do you use on WEB ? JLabel? or JSomething? or Just DIVs?
Stacks, Flows in Shoes are like DIVs .Paras are Ps, Links are As, Images are IMGs, Buttons are BUTTONs, and so on…
So the best thing is that you can imagine the Goeey on web and then just use the appropriate brother for it to create your desktop application. Howzzat!
More Drawings and Painting later ! thanks for stopping by!

