#
mrt
Sorry if this has been covered but I couldn't find it.
I'm trying to understand the best way to use the SessionManager in modules I'm building. It's available in the module class but not in the domain classes. I'd like the domain classes to have business logic methods. Obviously I don't want to pass the session manager into the domain objects. It would also be good if I could use the domain objects without a module, but I'm not sure how to create my own session manager.
Could someone explain how the architecture is supposed to work? Most modules appear to have all their business logic in the module class.
I'm trying to understand the best way to use the SessionManager in modules I'm building. It's available in the module class but not in the domain classes. I'd like the domain classes to have business logic methods. Obviously I don't want to pass the session manager into the domain objects. It would also be good if I could use the domain objects without a module, but I'm not sure how to create my own session manager.
Could someone explain how the architecture is supposed to work? Most modules appear to have all their business logic in the module class.