M MrFreeze Member Jun 29, 2024 #1 There are basically 2 methods used to store data on forms. a) formAction b) Services Why and when do you use which one?
There are basically 2 methods used to store data on forms. a) formAction b) Services Why and when do you use which one?
Jeremy P XenForo developer Staff member Jun 29, 2024 #2 Form actions are primarily used for very simple CRUD, typically in the admin panel. Services are primarily used to encapsulate more complex behavior and can be easily reused in different contexts.
Form actions are primarily used for very simple CRUD, typically in the admin panel. Services are primarily used to encapsulate more complex behavior and can be easily reused in different contexts.