#architectural_patterns
Explore tagged Tumblr posts
devsnews · 2 years ago
Link
Most applications used to be built using Monolithic Architecture, in which all aspects of the application are built and deployed as a single unit. Microservices architecture enables large teams to build scalable applications composed of many loosely coupled services. This allows for more flexibility and scalability, as each microservice can be modified or replaced without affecting the rest of the application. Over time, several issues began with the microservices architecture. To solve these problems, so many solutions have been put in place. These solutions pertain to various patterns currently considered today’s best practices for constructing a scalable microservices architecture. This article has pointed out some of these patterns.
0 notes
tarikdivers · 7 years ago
Photo
Tumblr media
Under construction facade detail ! Coming soon . . . #chantiersdumaroc #tarik_zoubdi #architectureinafrica #architecturedumaroc #godisinthedetails #worker #architectural_drawings #architectural_patterns #sun_shading #clostra #moucharabieh https://www.instagram.com/p/BoJhKvqBTMv/?utm_source=ig_tumblr_share&igshid=1sxlve8r395s2
0 notes
phulkor · 8 years ago
Text
An MVC refresher
> As I was refreshing my memory on MVC and trying to understand Angular's two-way-binding and linking it all together I touhgt it was a good idea to go through the different patterns that are used to render data and update it in today's IT landscape.
Decoupeling is what it is all about. The data that is displayed to the user needs to come frome somewhere and when the user updates it, that information needs to be saved eventually. So smart people came up with solutions to manage that kind of problem in a reusable way.
MVC
Model-view-controller divides the application in 3 distinct parts.
Tumblr media
The model is the representation of your business in the system and is the central part of this pattern, it needs to be informed of any changes from the UI and it needs to notify when it changes.
The view is what the user sees, it can be a web page or a desktop application window (for those who still use those) or even the output to a console. It is possible to have multiple views for the same data or model. Think of photoshop that displays a zomed version of the photo you work on with a little thumbnail of the whole picture. These are two representation of the same picture, the model
The controller is the piece that allows decoupeling of the model and the view. The controller is responsible to fetch the model (for instance frome database). It also recieves events from the view to update the model.
MVP
A problem with MVC is that it is not always trivial to test user interfaces. For that purpose a derivation of the MVC pattern replaces the controller with a presenter.
Tumblr media
The presenter is an interface that represents the view and that can be called by test frameworks directly. In this case the view calls the presenter directly and the presenter acts as a controller. It is also the responsibility of the presenter to bind the view to the model.
A good representation to understand the difference between MVC and MVP is the following:
Tumblr media Tumblr media
MVC and MVP are pretty old patterns and writing the controller might prove cumbersome for all the operations. Frameworks like angular and react provide functionality to handle the propagation of change from the view to the model automagically but with slight differences.
1-way data binding
1-way data binding automagically binds the changes in the model to the view, however changes from the view to the model are still propagated through events.
Tumblr media
1-way data binding is used by react.js.
2-way data binding
2-way data binding automagically binds the changes in the model to the view but also from the view to the model. This makes the life of the programmer simple but makes everything happen under the hood.
Tumblr media
2-way data binding is used by angular.js.
That's it for part 1 of the MVC refresher. In part 2 I will go over the paradigm introduced by Flux to deal with cascading updates from the model to the view
Tumblr media
sauce:
architectural pattern
mvc pattern
mvp pattern
1-way vs 2-way data binding
action-dispatcher-store
0 notes
devsnews · 2 years ago
Link
SOLID is a set of five design principles. These principles help software developers design robust, testable, extensible, and maintainable object-oriented software systems. Each of these five design principles solves a problem that might arise while developing software systems. This article shows you the SOLID principles.
0 notes
devsnews · 2 years ago
Link
AWS recently released a reference architecture and a set of reference implementations for deployment pipelines. The recommended architectural patterns are based on best practices and lessons collected at Amazon and customer projects. Read this article to learn more about The Deployment Pipeline Reference Architecture.
0 notes