Skip to content
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

Request: Universal validators, to share between backend & frontend #45

Open
3 of 4 tasks
jackkoppa opened this issue Feb 7, 2019 · 5 comments
Open
3 of 4 tasks
Labels
request A request for talks on a given topic

Comments

@jackkoppa
Copy link
Member

jackkoppa commented Feb 7, 2019

Talk Request

Topic(s):
Universal validators

Additional Notes:
Anyone with experience writing universal validation methods for form inputs, to be shared between front & back end validation.

Most likely, this could take the form of something like joi: https://www.npmjs.com/package/joi

Though I'd be interested in any approach that people have taken to synchronize front & back end validation, including making all validation requests async.

What would the ideal length be?

  • 5-15 minutes (lightning talk)
  • 20-30 minutes
  • 30-45 minutes
  • 60 minutes or more

On Behalf Of

Requesting people or Meetups:

  • Me
  • Vue DC
  • DCJS

The best way to reach out to them:
Here on GitHub

@jackkoppa jackkoppa added the request A request for talks on a given topic label Feb 7, 2019
@jackkoppa
Copy link
Member Author

Many thanks to @jgashe for pointing out https://json-schema.org/, which seems like it has plenty of implementations that work towards this goal (one source of truth in JSON, able to be validated by many different languages). Would love to see if someone's used Schema in that way

@jayashe
Copy link

jayashe commented Feb 8, 2019

Thanks for the tag, @jackkoppa! I would love to talk about this from the perspective of the backend (I've used this strategy in both Java and Elixir), but I'm not the right person to do it from the js/frontend side. If someone has used JSON schema/tooling on the frontend it could be fun to tag team this talk.

@necaris
Copy link
Contributor

necaris commented Feb 8, 2019

@jackkoppa @jgashe I'd be able to talk about using it in Python and in Node.js, but unfortunately again don't have experience with it on the frontend.

@jackkoppa
Copy link
Member Author

Thanks @jgashe & @necaris - that experience sounds perfect! I'll try to promote this to a few other frontend friends, to see if they've used the Schema strategy there. I'd be very excited about a talk framed as "Using JSON Schema for Validation"

Will keep you posted 👍

@jakerella
Copy link
Contributor

jakerella commented Apr 20, 2019

Hey folks! DCJS would love to have a speaker present on this as it relates to front end dev... feel free to hit me up, or cross-post on https://github.com/dcjs/talks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
request A request for talks on a given topic
Projects
None yet
Development

No branches or pull requests

4 participants