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
Whenever you say that you're building a web application with Ruby, its almost implied that you will be using Rails to do so. But imagine for a second that Rails does not exist at all. What kind of Ruby code would you write to make a web application work from scratch? During this talk we will think about and implement some of the MVC patterns that are taken for granted when using a framework like Rails, while at the same time write a web application with only a little help from Rack David Padilla is CEO at Crowd Interactive, a leader Ruby on Rails consultancy based in Mexico. Through his career, he has been devoted to promoting the Ruby on Rails community in Mexico through rails.mx and the organization of the only Ruby conference in the area: Magma Conf. Help us caption & translate this video! http://amara.org/v/FG1Q/
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 talk at RailsConf 2014, **David Padilla**, CEO of Crowd Interactive, explores the concept of building web applications using **Ruby** without relying on popular frameworks such as **Rails**, **Sinatra**, or **Padrino**. The session emphasizes the foundational principles of the **MVC (Model-View-Controller)** architecture and introduces attendees to creating a web application from scratch using only **Rack**. ### Key Points Discussed: - **Introduction to MVC**: Padilla shares his early experiences with **ASP Classic** and how it inspired him to implement structured patterns to improve code organization. - **The Limitations of Frameworks**: He discusses how frameworks like Rails can abstract away complexity, leading to a lack of understanding about how web applications work behind the scenes. - **Using Rack**: The session introduces **Rack** as a minimal interface for developing web applications. Padilla demonstrates basic Rack setup, including how to handle requests and responses with a simple example. - **Live Coding Session**: Padilla performs live coding to build a basic web application, showcasing: - The structure of a Rack application with a `config.ru` file. - The implementation of a router and handling different routes. - Creation of controllers to manage views and application logic. - Separation of views to enhance maintainability using **Haml** for templating. - **Dynamic Data Handling**: The discussion also covers how to include dynamic data in views, emulate Rails-like functionality without the framework, and manage request parameters. - **Encouragement to Understand Fundamentals**: The speaker encourages developers to explore behind-the-scenes functionality to become better programmers, even suggesting they might want to create their own frameworks one day. ### Conclusions & Takeaways: - Understanding how to build web applications without frameworks reinforces programming fundamentals. - While building applications the traditional way can be complex and slower than using frameworks like Rails, it enhances knowledge and mastery of web technologies. - Developers are advised to appreciate the efforts made by framework creators and to continuously seek knowledge in their craft. Padilla humorously concludes by reminding the audience that although using frameworks might seem more straightforward, grasping the underlying principles is critical for long-term growth in software development.
Suggest modifications
Cancel