Log in Sign up
1 Matching Annotations
  1. Sep 2024
  2. stackoverflow.com stackoverflow.com
    Rails Observers - When to and when not to use observers in Rails
    1
    1. TylerRick 16 Sep 2024
      in Public
      Rails' observers were partly inspired by aspect-oriented programming -- they're about cross-cutting concerns. If you're putting business logic in observers that is tightly coupled to the models they're observing, you're doing it wrong IMO.
      aspect-oriented programming observer pattern software development: code organization: where does this code belong? tightly coupled
    Visit annotations in context

    Tags

    • tightly coupled
    • observer pattern
    • software development: code organization: where does this code belong?
    • aspect-oriented programming

    Annotators

    • TylerRick

    URL

    stackoverflow.com/questions/4866509/rails-observers-when-to-and-when-not-to-use-observers-in-rails
Share:
Group. Only group members will be able to view this annotation.
Only me. No one else will be able to view this annotation.
Hypothes.is
  • About
  • Blog
  • Bioscience
  • Education
  • Jobs
  • Help
  • Contact
  • Terms of Service
  • Privacy Policy