Talks
Speakers
Events
Topics
Search
Sign in
Search
Home
Talks
Speakers
Events
Topics
Leaderboard
Use
Analytics
Sign in
search talks for
⏎
Suggest modification to this talk
Title
Description
Ruby is an excellent choice for building desktop apps with a native GUI (Graphical User Interface) that looks familiar on Mac, Windows, and Linux. In fact, Ruby pushes the boundaries of developing such apps in brand new ways not seen in web development by supporting very lightweight and declarative GUI syntax including bidirectional data-binding, thanks to Glimmer DSL for LibUI, a gem that won a Fukuoka Ruby 2022 Special Award. In this talk, I will cover concepts like the GUI DSL, data-binding, custom controls, area graphics, drag & drop, MVC/MVP pattern, and scaffolding, with sample demos.
Date
Summarized using AI?
If this talk's summary was generated by AI, please check this box. A "Summarized using AI" badge will be displayed in the summary tab to indicate that the summary was generated using AI.
Show "Summarized using AI" badge on summary page
Summary
Markdown supported
In this presentation at RubyConf 2022, speaker Andy Maleh discusses the development of native GUI (Graphical User Interface) applications using Ruby, emphasizing the unique capabilities that this approach provides compared to traditional web development. ### Key Points Discussed: - **Understanding Native GUI Apps**: Native GUI apps utilize operating system-specific libraries and allow for applications that run independently of web browsers, promoting ease of user interaction and providing a faster experience. - **Benefits of Native GUI Apps**: These apps can be built to enhance productivity and can function offline. They also enable tailored applications for specific user needs, secure data interaction, and offer performance advantages over non-native solutions. - **Introduction to Glimmer**: The talk focuses on Glimmer DSL for LibUI, a Ruby gem that simplifies GUI development with a straightforward, declarative syntax. It emphasizes creating components with minimal code, enhancing rapid development. - **Real-World Applications**: Maleh shares examples like: - **Math Bowling 2**: A children’s math game. - **Are We There Yet?**: A project management tool designed in just 11 days. - **Ruby Radio**: An internet radio application. - **Gladiator**: A code editor tailored for specific programming needs. - **Glimmer DSL Frameworks**: Maleh outlines various Glimmer DSLs, including those for LibUI, TK, GTK, and more, noting that the LibUI library won an award in 2022. - **Learning and Usage**: No prerequisites are needed to start using Glimmer; simply install the gem and run sample apps to see how they work. Essential topics include controls (widgets), control arguments, and data binding, which are critical for efficient app development. - **Architecture Patterns**: Explains the Model-View-Controller (MVC) and Model-View-Presenter (MVP) patterns, along with the advantages of utilizing bi-directional data binding for dynamic UI behavior. - **Advanced Features**: Maleh discusses area graphics and drag-and-drop capabilities, enabling the creation of unique interactive elements within native apps. - **Contribution and Community**: By concluding, Maleh encourages the audience to contribute to the Glimmer project, indicating opportunities for developing new tools, enhancing graphics, or creating custom controls. ### Conclusion: The talk emphasizes Ruby’s potential for building native GUI applications via the Glimmer DSL, urging developers to explore this tool for creating efficient and visually appealing apps. With rich capabilities, Glimmer offers a streamlined path for developers to transition into GUI app creation efficiently. This presentation highlights not just the technical aspects of building applications but also the thriving community around enhancing Glimmer's functionalities, encouraging collaborative growth in the Ruby ecosystem.
Suggest modifications
Cancel