Why Have People Started Deeming it Necessary to Separate JS hooks from CSS hooks in HTML?
Edit: Point of clarificatioon, IDs and classes as separate hooks is just one form of the applied idea in question which is to never use the same hooks for CSS as you do in JS. I’ve also seen people want things like js-combo_box and css-combo_box as classes on the same element.
Better OOP in Javascript – multiple methods or methods with options?
Let’s say I have an object like this:
Separation of concerns: Whose concern is this?
My senior reviewer colleague wants me to do the following.
Extracting domain logic from the forms to which they are coupled?
Many applications do nothing to separate the interface from domain logic. I’ve been programming for a couple decades and have worked at more than a dozen shops and none of them have taken any measure of separating the interface from the domain logic. That is, they’re all using the Autonomous View pattern. This runs counter to all the wisdom I’ve read about separating concerns. When the user needs to choose an item from a set of items, that selection is directly tied to a combo box rather than an abstraction.
Is it completely impossible to have total separation without leakage of any kind in a design? [closed]
It’s difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago. For the past week I have been attempting […]
Complex fetching of Domain Objects
Usually whenever I want to fetch an aggregate root by ID I just use some type of Repository::findByID(…) function
MVP Implementation at the UserControl Level
I’m trying to figure out how MVP should be implemented at the UserControl
level. I thought I had it, but I ended up reading a blog post that pretty much shut me down. Now I’m back at the start and with no idea how to proceed.
What is meant by, “A user shouldn’t decide whether it is an Admin or not. The Privileges or Security system should.”
The example used in the question pass bare minimum data to a function touches on the best way to determine whether the user is an administrator or not. One common answer was:
What is meant by, “A user shouldn’t decide whether it is an Admin or not. The Privileges or Security system should.”
The example used in the question pass bare minimum data to a function touches on the best way to determine whether the user is an administrator or not. One common answer was:
How to explain to my manager the importance of separation of concerns?
I’m an extremely novice web programmer working at a 2 person shop building websites, and we’re in the process of writing a simple website template system in PHP from scratch. My manager is entirely self taught. He has been insisting that we put our HTML directly quoted in variables, mixing our back end code with the front end stuff.