ISB Vietnam's skilled software engineers deliver high-quality applications, leveraging their extensive experience in developing financial tools, business management systems, medical technology, and mobile/web platforms.
In 2014, during the Hacker Way conference, Facebook introduced Flux architecture as an alternative to MVC.
Flux architecture is a software design pattern that helps manage the flow of data in complex applications.
It provides s unidirectional data flow, which makes it easier to understand, maintain, and debug applications.
1. What is Flux architecture
Flux is an architectural pattern proposed by Facebook.
These are four parts: Actions, Dispatcher , Stores, Views
Actions: Contains all information necessary to do some action
Dispatcher: Is a Single Object that broadcast (actions) to all stores
Stores: Manages the state ( data ), the store is an event emitter
Views: Is the user interface component, Views listen for store changes
2. Flux architecture with QML
Views: Are QML files
Actions: Is a Data type that include event name and data
Dispatcher: Is Singleton design pattern that is control center forward actions to all stores
Stores: Use C++ models with QML
The following application creates a Data Object class with Q_PROPERTY values that will be accessible as named roles when a QList<DataObject*> is exposed to QML
3. Why do we should use Flux architecture
Today, there are two popular architectures : MV*( Model-View-Control, Model-View-Presenter, …) and flux
Comparison table between MVC and Flux architecture
ISB Vietnam's skilled software engineers deliver high-quality applications, leveraging their extensive experience in developing financial tools, business management systems, medical technology, and mobile/web platforms.
What is Power Apps? Starting Your Digital Journey from Zero – Part 1
Welcome to the first part of our blog series: “From Zero to Digital Hero with Power Apps” If you’ve ever thought only programmers can build apps, this post will change your perspective completely.
We've all been there. You need to generate a large report. This might be a massive CSV file, a sprawling JSON for an API, or a huge chunk of HTML. At the heart of these tasks is a simple operation: string concatenation.
Exploring C# 14: Cleaner Syntax, Smarter Spans, and More Flexible Lambdas
Released alongside .NET 10 and supported in Visual Studio 2022, C# 14 introduces a set of thoughtful improvements aimed at making your code more concise, efficient, and expressive. Whether you’re maintaining large-scale applications or writing performance-critical components, these enhancements will help streamline your workflow.
In this article, we’ll explore the standout features of C# 14, explaining their benefits and providing practical examples so you can start using them right away
At ISB Vietnam, we are always open to exploring new partnership opportunities.
If you're seeking a reliable, long-term partner who values collaboration and shared growth, we'd be happy to connect and discuss how we can work together.