-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Views refactoring #5
Comments
Mapping of proposed view based apps to model segregation. This is off the top of my head, not verified in the code, so consider it tentative!! Agents
Users
Resource types and recipes
Make stuff (and services)
Exchange stuff (and services)
Inventory
Customer orders (will need to separate out and call code in make stuff, exchange stuff)
Distributions
Accounting
|
Also, I'll just offer some info on the other random apps that exist in the code base. board: This was done for a local herbal network, which used it but may or may not keep going this coming summer. It has a bunch of hard-codings for them. It's feature is a trello-like board based on their exchange sequence. But very primitive UI for the trello-like board. It could be made more universal by adding exchange types into recipes and using that to drive it. equipment: This was done for Sensorica, meant to run on a phone and support use of their 3D printer. Very specific to them and also tons of hard-codings. This one is probably not worth keeping around except for maybe some sample code. Or really probably not. It was never used by Sensorica (grrrrr, but we did learn a lot). Neither one of these is worth doing any upgrading or anything else to. |
This is to discuss what might make sense beyond the models split, and to see if this validates or invalidates the proposed models split here #1 (comment).
@escanda I think has been starting to think about this.
Here is my first attempt to think about NRP (not including OCP work app) splits based on views (and templates would follow with the views). This was done by looking around the app, not looking at the code. There will be tons of views that will need to follow on, like all the ajaxy calls, etc.
Agents
Users (not sure if this should be separated out, but it seems like there will be different workflows for creating users, including the membership OCP piece, the "invite" option, etc. So this is the base minimum one. And I also don't know how the account app discussion affects this.
Resource types and recipes
Make stuff (and services)
Exchange stuff (and services)
Inventory (I made this separate, because it is integral to both making stuff and exchanging stuff. I think people may want exchange without producing, but not vice versa. And both will need the Inventory app. At the same time, Inventory could be a basis for resource access app later, so could be wanted as something separate.)
Customer orders (I made this separate because a customer order automatically creates a sale exchange and makes a work plan to create the ordered items if not onhand.)
Distributions
Accounting (there could be all the standard accounting reports here if people want them)
Note that in most of these, there are currently buttons or links that will require other apps to work, and sometimes pieces of logic - I'm thinking we can add "if x app exists, show button" kind of things in the templates, and if's in the logic.
The text was updated successfully, but these errors were encountered: