Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

New answers tagged

0

Maybe you could use a plugin architecture. Suppose client X has specific requirements regarding component C of the standard product. You have to replace component C by component C', which is a modified version of C. Then you could do this: Try to separate component C from the kernel of the standard product, such that the kernel only communicates with C ...


2

Your question is very broad, so expect only to get a broad answer. The general strategy for solving these kinds of problems is to make the requirements customizable. This can be done by introducing run time or compile time switches, configuration files, special code which is only used for a specific customer, "plugins", and so on. From what you wrote, in ...


1

Put the version number in its own file and don't ever merge that file.


0

I have that problem quite a lot, and it takes ten seconds to resolve the conflict. So it's not something I worry about.


0

The version numbers not quite a part of code. I'd rather say it is meta information and ideally shouldn't be in the repository alongside with the source code. It should be added only on the building phase. But the world isn't ideal place so sometimes indeed you need to have the version hard coded in your code. For these cases it is expectable and fine to ...


1

Performance is not the issue here. The real issue comes in when resolving the dependencies for the code using the "static" class (btw, a class is a Function object in JavaScript or just an object literal that can still be passed around like any other value). If the "static" class is being pulled in to the page asynchronously using something like require.js ...


1

When it comes down to SSL configuration (or to be more correct HTTPS configuration) i would recommend you test your setup at https://www.ssllabs.com/ssltest/index.html and adjust to get an A grade or A+. Then you apply this config at your customers. HTTPS isn't such a dynamic topic that it changes every month. If your grade drops with the time do B it's ...


1

Some things will have to be set up on a machine by machine basis. The unfortunate truth is that TLS (the current version of SSL) is just tricky to get right. If you have a number of servers to get set up, you can use Spring Cloud Configuration Server, which will help you centralize the configuration. It works well when you need to spin up another instance ...


1

Q: My question is this: Is it better for performance or any other reason to host both the API and the SPA on the same origin? It's not a matter of performance. Security and performance rarely get along. I would dare to say it's a matter of convenience. Organising applications under the same "umbrella" (domain) ease the handling of CORS, cookies and session ...


0

The other answers here provide some great history and explanation of web design, but do not answer your exact question directly: why are there so many different, competing frameworks? The answer is because web application development as we know it is basically just around a decade old. The Web Development industry is in its infancy inside the larger ...


Top 50 recent answers are included