Programação GUI com jRuby
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
1,172
On Slideshare
1,172
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
1
Comments
0
Likes
1

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Programação GUI com jRuby porque não só de web vive o RubyWednesday, June 8, 2011
  • 2. SubDB Match de legendas baseado em algoritmo de hash SubDB APIWednesday, June 8, 2011
  • 3. The jRuby!Wednesday, June 8, 2011
  • 4. Java APIWednesday, June 8, 2011
  • 5. Conversão de Java Beans x.getSomething() -> x.something x.setSomething(3) -> x.something = 3 x.methodName() -> x.method_nameWednesday, June 8, 2011
  • 6. Conversão de TiposWednesday, June 8, 2011
  • 7. Acessando classes Java import javax.swing.JButton include_package “javax.swing”Wednesday, June 8, 2011
  • 8. Implementando Interfaces class SomeJRubyObject include java.lang.Runnable include java.lang.Comparable endWednesday, June 8, 2011
  • 9. Closure ConversionWednesday, June 8, 2011
  • 10. Closure Conversion JavaWednesday, June 8, 2011
  • 11. Closure Conversion Java button.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { //Execute when button is pressed System.out.println("You clicked the button"); } });Wednesday, June 8, 2011
  • 12. Closure Conversion Java button.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { //Execute when button is pressed System.out.println("You clicked the button"); } }); jRubyWednesday, June 8, 2011
  • 13. Closure Conversion Java button.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { //Execute when button is pressed System.out.println("You clicked the button"); } }); jRuby button.add_action_listener do |e| puts "You clicked the button" endWednesday, June 8, 2011
  • 14. SubDB SyncWednesday, June 8, 2011
  • 15. UI DesignWednesday, June 8, 2011
  • 16. Documentação!Wednesday, June 8, 2011
  • 17. Documentação!Wednesday, June 8, 2011
  • 18. OS Drag & Drop FileDrop!Wednesday, June 8, 2011
  • 19. Deploy Standalone Jar Mac Application DMG para Mac Windows exe Geração automática atravéz de RakeWednesday, June 8, 2011
  • 20. One More Thing...Wednesday, June 8, 2011
  • 21. One More Thing... Não esqueça a flag “b” ao tratar arquivos!Wednesday, June 8, 2011
  • 22. Links jRuby - http://www.jruby.org Scripting jRuby - https://github.com/jruby/jruby/wiki/ CallingJavaFromJRuby SubDB: http://www.thesubdb.com SubDB Sync: https://github.com/wilkerlucio/subdb-syncWednesday, June 8, 2011
  • 23. Valeu! Wilker Lúcio <wilkerlucio@gmail.com>Wednesday, June 8, 2011