Many of us developers love arguing about architecture that we dislike and refactoring our code to loosen coupling and weaken dependencies between our objects. Unfortunately, some overarching parts of our applications, like persistence, networking, notifications, logging, auditing, are scattered in our code, forcing us to specific explicit dependencies between them and our domain objects.
Aspect-oriented programming is a solution to the problem of some features affecting virtually all business requirements, and expresses that problem in a compact and DRY way.
In this practical talk, Camille will:
- introduce the basic concepts of AOP, and how it is still relevant even in a non-statically typed language like Ruby
- show you how to easily and quickly leverage some AOP principles in your Rails application
- play with some AOP-friendly constructs in Ruby 2, in particular TracePoint
- walk you through two existing Ruby frameworks to practice Aspect-Oriented Programming
She will even attempt to prove that not all things coming from the Java world are necessarily bad.
YOU MAY ALSO LIKE:
- Masterclass: Reducing Technical Debt with Michael C. Feathers (in London on 7th - 8th November 2018)
- P3X - People, Product & Process eXchange 2018 (in London on 8th - 9th November 2018)
- Uncle Bob's Advanced TDD (in London on 29th - 30th November 2018)
- Test Driven Development (TDD) Workshop with Damjan Vujnovic (in London on 18th - 19th July 2019)