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
I want to present on why, where, and when backbone would be beneficial to use. We went through the whole motion on our rails project and I want to share in detail how we came about utilizing backbone on our project and hopefully you can too! In the end, implementing Backbone and jasmine led to a cleaner, more organized and better tested code base. Help us caption & translate this video! http://amara.org/v/FGdN/
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 'Backbone.js, Jasmine and Rails: The Lust Story' at the LA Ruby Conference 2013, Austin Fonacier, a senior software engineer at Spokeo, shared insights into using Backbone.js and Jasmine within a Rails project to achieve a cleaner and more organized codebase. The talk covered several critical aspects of these technologies and how they improved the development process. Key points discussed include: - **Introduction of Tools**: Austin introduced Backbone.js as a JavaScript framework that assists with front-end development and Jasmine as a JavaScript BDD (Behavior Driven Development) testing framework that resonates with RSpec from the Ruby ecosystem. - **Initial Challenges**: The team faced issues with bulky JavaScript files in their Rails application. Modifications to the 'application.js' led to difficulties in managing and updating their code effectively. - **Transition to Backbone**: By adopting Backbone, they were able to modularize their code—creating individual JavaScript classes for models and views. This led to enhanced organization and maintainability. - **Use of Collections**: Austin discussed how Backbone collections simplified their interactions with an array of models, enhancing performance and readability by leveraging built-in functions like filtering and sorting. - **Testing with Jasmine**: The integration of Jasmine allowed the team to create structured tests that helped to maintain their code quality. Stubbing server calls and using fixtures became essential practices during testing. - **Event Management**: Backbone's event-driven architecture helped streamline communication between different views, reducing the complexity typically associated with DOM manipulation in JavaScript development. - **Final Outcomes**: The transition to Backbone and Jasmine led the team to develop robust, scalable features while decreasing the manual code they had to write. Advantages included improved code organization, clarity, and maintainability. The presentation concluded with Austin highlighting that while Backbone started as a tool for specific situations involving model transfers, its organization benefits made it a suitable choice for broader use. He emphasized the importance of testing through Jasmine and encouraged developers to embrace these tools for enhanced software development. Overall, Austin's insights offered a comprehensive overview of how Backbone.js and Jasmine can significantly enhance a Rails development project, resulting in better-structured code and improved testing frameworks.
Suggest modifications
Cancel