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
Single Project, Multi Purpose Enterprise Applications come in multiple flavors these days: Rails, Sinatra, Grape, ZMQ. Let's explore a multi-site mulit-purpose single project architecture which serves all aspects of an enterprise design, heavily seated in RACK. Special attention to Rails, Sinatra, Grape, Rack and ZMQ/EventMachine/ZMQMachine/DripDrop. Help us caption & translate this video! http://amara.org/v/GZC9/
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 the presentation titled "One Ruby App to Rule Them All," Ian Hunter discusses creating a robust web application using Ruby, emphasizing a multi-purpose architecture. His motivation stems from the need to develop an operational application for his company in a limited timeframe of two and a half weeks, alongside his experiences from a soft launch at South by Southwest. Ian introduces a technical stack that comprises significant Ruby frameworks and libraries, specifically: Rack, Sinatra, Padrino, Grape, and ZMQ for messaging. ### Key Points Discussed: - **Technological Stack Overview:** - **Rack:** Acts as a thin layer crucial for Ruby applications. - **Sinatra:** A minimalistic gem built on Rack, known for its clarity and semantic structure. - **Padrino:** A framework that extends Sinatra to include a larger web stack. - **Grape:** A fast API layer inspired by Sinatra, supporting multiple formats. - **ZMQ:** A high-performance messaging library simplifying messaging complexities. - **Architecture Setup:** - Ian explains how to bundle these technologies together, starting with Rack as the interface. - He opts for Rails examples, despite his preference for Padrino, to ensure relevance to the audience. - **Rack Cascade:** An approach that allows for managing multiple applications by sequencing them and generating appropriate responses. - **Authentication Management:** - The presentation included code for setting up Rack session cookies to manage sessions across applications using authentication from Twitter and Facebook. - Shared modules were created for maintaining organized session management code while implementing OAuth path mappings for login and controlling specific providers effectively. - **EventMachine and WebSocket Implementation:** - Discussed setting up EventMachine and DripDrop for handling server interactions; emphasizes the need for understanding WebSocket server configurations and the potential deployment on Heroku using a YAML file. ### Conclusion/Takeaways: - Ian Hunter's talk highlights the efficiencies gained by using a consolidated Ruby application architecture, addressing quick setup needs in a practical environment. - The session illustrates a modern approach to web app development that integrates multiple technologies seamlessly and encourages developers interested in complementary Ruby frameworks to embrace this architecture. - Ian concludes by promoting his startup in San Francisco, looking for Rails programmers, and acknowledges the supportive community and valuable interactions during his talk.
Suggest modifications
Cancel