Architecture


Optimistic locking is one of the concurrency control mechanisms. It can help avoid situations when one user overrides changes made by another one. When 2 users want to save the same object at the same time, we will reject one of them. The rejected user should review the new state of the object and decide if he still wants to do the update.

Choosing a framework is quite an important and binding decision, which is difficult to change later. This decision will significantly affect the development of the application, as well as its future maintenance costs. Do we have to make it for sure?

I have been developing projects with and without frameworks. Now for some time, I develop applications without frameworks, and you know what? - it’s not so complicated at all. You can feel a lot of lightness and flexibility in your application.

Generally speaking, an application that does not use the framework is more independent, and I will try to explain this below.