Relative Content

Tag Archive for separation-of-concerns

Is this a good practice or not?

I have a colleague who has come up with a way of ‘genericizing’ information from a database so that all his web application’s drop-down lists can share the same object in his MVC.NET C# code and Views, which can contain different data depending on what tables it is being used against.

Is this a good practice or not?

I have a colleague who has come up with a way of ‘genericizing’ information from a database so that all his web application’s drop-down lists can share the same object in his MVC.NET C# code and Views, which can contain different data depending on what tables it is being used against.

Separation of concerns between objects

I have two objects which work together to provide interaction with HIDs on a machine. One object is responsible for the communication (read/write) to the HID and the other object is responsible for modelling the HID. Information is read and written to the HID as byte arrays.

How to write JavaScript while keeping HTML/CSS out of it

What is / are some recommended ways to write JavaScript as to control behavior of showing HTML on screen, while keeping well-maintainable code? Basically, I started to look for ways to keep HTML/CSS out of JS (assuming it’s the recommended practice), but I might as well check into the latest ways of writing JavaScript well. See below for more details.

How to write JavaScript while keeping HTML/CSS out of it

What is / are some recommended ways to write JavaScript as to control behavior of showing HTML on screen, while keeping well-maintainable code? Basically, I started to look for ways to keep HTML/CSS out of JS (assuming it’s the recommended practice), but I might as well check into the latest ways of writing JavaScript well. See below for more details.