-
Notifications
You must be signed in to change notification settings - Fork 6
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
Browser support #1
Comments
It needs to be integrated with Browserify, but I am not very familiar with how that works yet. If you want to take that challenge on, you are very welcome to create a pull request! |
@colinskow I'm still investigating whether sofa-model is a good fit for my current project. If we finally decide to use it I will probably help on this. I'm uncertain whether we should put the validation logic separately like in sofa-model or make it into couchdb |
@ybian Since a browser client cannot be trusted, it is important to validate your data on the sever. SofaModel is designed for a NodeJS backend. If you want your client to post updates directly to CouchDB, then On the front-end I mostly use AngularJS which has very good built-in validation, so I haven't found a personal need for SofaModel in the browser. |
@colinskow Thanks a lot for your comments. Yes, my case will probably don't need SofaModel in the browser either. You can close this issue or leave it open for someone who has a use case to pick it up. |
Hi,
It says in README that:
How soon do we expect to have that? ;-)
The text was updated successfully, but these errors were encountered: