Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
So you randomly access the database from within the frontend code or what? Web is inherently strict mvc.
-
leanrob35637yMVC has the flaw of assuming that the data you need will consistently be there when you call for it.
Many large scale systems (some estimate 50% of managed APIs by 2020) are event-based systems.
One of the biggest things to understand about event-based architecture is that because of its design it is “eventually consistent” meaning that your asynchronous event bus (basically a queue) is parsing events in order.
With current crazy speeds of over 50,000 reads per second, it can be tempting to treat this as “consistent” but in the end if you design a system around this consistency then the system will fail at scale.
MVCs reliance on calling data and expecting it to be there will not mix with the streaming event architectures of the future and will likely not be the “right” (subjective) choice for many companies at scale.
Just my 2 cents from working in Angular1/React and Golang/EventStore systems. -
SOLID principles and Design Patterns mate. Coding best practices also will greatly help. Believe me cheers! 👊 😎
-
Every single framework or methodology is mvc. It has no meaning. Just move on and don't give a crap!
So how on earth is Strict MVC good for web dev. A variation of MVC works well but strict principles no!!!
rant
mvc php