Comments (3)
Mark had some excellent ideas on this. Mark can you elaborate.
On Wed, Oct 26, 2011 at 1:29 PM, amarder <
[email protected]>wrote:
Reply to this email directly or view it on GitHub:
#36
from formhub.
Hmmm here goes...
I think it would make sense to separate the idea of a survey that the user is trying to perform from the actual form that is generated and used on the phone. If we add an extra level of containment such as a survey can have multiple form versions, then we can actually save all of the forms as they are now, and sort of group them in a versioned fashion under the survey. The user can "add a new version" or maybe simply "update your survey form." This would save a completely new form with it's own id and version number under the given survey. This way we would have less of a need to delete old forms (just make a new version) and could continue to collect data for a given survey using an older version of the form (for example, maybe all the phones are not up to date). One thing that might be necessary would be to embed the version id inside the xform such that submissions to the user's url could be directed to the correct survey form version. There may need to be some trickery to make sure that the forms show up on the phone in a nice way (my form (v1) or whatever). The nice thing about this, though, is that it keeps the user thinking about the continuity of their data collection as surveys whereas the backend can see things as separate for the needs of data integrity and uniqueness of ids. What is more is that you would have all of the versions of the forms/data together and could export all of them if you wanted to attempt to merge them offline.
Anyways, I am sure there are other issues, but I think that something along these lines would make sense. Would like to know your guys' thoughts/feedback. Maybe a skype call or something would be better...
from formhub.
I vote to move back to delete actually deleting XForms. We should give
users two options:
- Archive, this will act like archiving in gmail. The form will be
moved out of the inbox so it won't show up on the front page, but we
can look at all forms by clicking all forms. - Delete, this will delete the form and everything connected to it.
It sounds like users need to be able to delete surveys, we just have
to make the warning message is clear about what they're deleting.
Having delete not actually delete has been getting in the way of how
this application works.
I do like the idea of a survey having multiple versions and all those
versions being merged together well, but that's going to be extremely
difficult to implement. We'd have to do data migrations for XForms.
Think about how hard south is to use, and then think about
implementing south for XForms, that's a big project. I think we could
get a hack job working, but it will be more confusing for users than
not having it.
Andrew
On Wed, Oct 26, 2011 at 2:25 PM, Mark Johnston
[email protected]
wrote:
Hmmm here goes...
I think it would make sense to separate the idea of a survey that the user is trying to perform and the actual form that is generated and used on the phone. If we add an extra level of containment such as a survey can have multiple form versions, then we can actually save all of the forms as they are now, and sort of group them in a versioned fashion under the survey. The user can "add a new version" or maybe simply "update your survey form." This would save a completely new form with it's own id and version number under the given survey. This way we would have less of a need to delete old forms (just make a new version) and could continue to collect data for a given survey using an older version of the form (for example, maybe all the phones are not up to date). One thing that might be necessary would be to embed the version id inside the xform such that submissions to the user's url could be directed to the correct survey form version. There may need to be some tricke
ry to make sure that the forms show up on the phone in a nice way (my form (v1) or whatever). The nice thing about this, though, is that it keeps the user thinking about the continuity of their data collection as surveys whereas the backend can see things as separate for the needs of data integrity and uniqueness of ids. What is more is that you would have all of the versions of the forms/data together and could export all of them if you wanted to attempt to merge them offline.Anyways, I am sure there are other issues, but I think that something along these lines would make sense. Would like to know your guys' thoughts/feedback. Maybe a skype call or something would be better...
Reply to this email directly or view it on GitHub:
#36 (comment)
from formhub.
Related Issues (20)
- performance of /formList and /xformsManifest
- Images in documentation broken HOT 1
- Use Enketo API for all webform URLs (no hardcoded webform urls)
- fix [email protected]
- Delete REST Service does not delete REST service
- Offline map tiles? HOT 6
- Geo vector feature selection field type? HOT 3
- VirtualBox install manual does not state the login password HOT 5
- the link to the updated installaion guide is broken HOT 1
- QR codes the same for all forms
- Allow HEAD request to /formList
- How to HTTPS the traffic? (Running my own Formhub on AWS) HOT 1
- can i deploy data on premise? HOT 1
- Error on submission with attachment
- DatabaseError: DatabaseWrapper
- Command doesn't accept any arguments HOT 7
- Error Django - Version 1.7.11 is compatible with formhub ? HOT 4
- [Errno 12] Cannot allocate memory HOT 1
- formhub.org offline?? HOT 5
- formhub install on a cannel account ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from formhub.