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

Validation rules separate from web logic #1

Open
madmatt opened this issue Jan 29, 2017 · 1 comment
Open

Validation rules separate from web logic #1

madmatt opened this issue Jan 29, 2017 · 1 comment

Comments

@madmatt
Copy link

madmatt commented Jan 29, 2017

Hi there,

I was wondering if it would be possible to separate the 'website' from the validation logic, so that I could use the validation logic in my own website?

I'd be happy to provide a pull request that translates this into a module that just does the validation and pushes it into composer, then a separate repository that provides your current 'web' interface that uses it.

This would also allow you to separate 'local' rules out more cleanly (into the new 'web' repository).

Please let me know if this might be suitable, thanks!

@ghalse
Copy link
Member

ghalse commented Jan 30, 2017

Short answer is that I'd be more than happy to take contributions.

What's there at the moment was done quite quickly to solve an immediate need, and I intend to eventually come back to it and refine it somewhat. There are a bunch of things in my local checks that might have more generic applicability, etc.

If it's any help, most of the XSLT is really the UK Access Federation's work, at https://github.com/ukf/ukf-meta/tree/master/mdx/_rules . Similarly, some of the logic is really WAYF's work at https://github.com/wayf-dk/phph

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants