Best Method of function parameter validation
I’ve been dabbling with the idea of creating my own CMS for the experience and because it would be fun to run my website off my own code base.
Approach on Software Development Architecture
I am planning to standardize our way of creating project for our new projects.
How can I implement a database TableView like thing in C++?
How can I implement a TableView like thing in C++?
How to Be a Software Engineer? [duplicate]
This question already has answers here: Why sacrificing good software engineering practices is typically the first choice for software development projects assuming “good enough” quality [duplicate] (6 answers) Closed 9 years ago. My problem is kind of weird so please bear with me. I have been working in a start up concerned basically with mobile […]
Caching factory design
I have a factory class XFactory
that creates objects of class X
. Instances of X
are very large, so the main purpose of the factory is to cache them, as transparently to the client code as possible. Objects of class X
are immutable, so the following code seems reasonable:
Testing of visualization projects
We develop small to large visualization projects for different tasks and industries and sometimes while rewriting them a couple of times in the process we hit walls because we discover that we need to add a lot of code to support new requirements. Now we have established a design process that seems to work well (at least we reduced the development time for each new project quite a bit), but we’re still left scratching our heads around this question: what exactly should we test when testing visualizations?
Motivation for a service layer (instead of just copying dlls)?
I’m creating an application which has 2 different UIs so I’m making it with a service layer which I understood is appropriate for such scenario.
What Design Pattern is separating transform converters
For converting a Java object model into XML I am using the following design:
How to prevent duplicate data access methods that retrieve similar data?
In almost every project I work on with a team, the same problem seems to creep in. Someone writes UI code that needs data and writes a data access method:
In PHP, what are the different design patterns to implement OO controllers as opposed to procedural controllers?
For example, it’s very straightforward to have an index.php controller be a procedural script like so: