ax1 / iridiumjs

🚀 Boost HTML horsepower
MIT License
1 stars 0 forks source link

Check if crud in controller breaks MVC pattern in the client side #10

Open ax1 opened 7 years ago

ax1 commented 7 years ago

when modifying the model, the changes are automatically passed to the view. The execute and paint operations could be also a a call to controller instead of in the model. Check what is best regarding MVC pattern

Another topic is that the controller is managing changes in the client and in the server. Should create read update delete used for the backend or used instead of model methods and rename the methods to something than updateRemote createRemote etc?

ax1 commented 7 years ago

also check flux

In general try to diverge from existing UIs and state management paradigms