Fwd: YAML Schema Feedback
Trans <[email protected]>
| Newsgroups | gmane.text.yaml.general |
|---|---|
| Message-ID | <CAEu+kw3ESsxqV2T=trynSj175PU-icYZM1oAh4rS1yBS5e-rmg@mail.gmail.com> |
2014-04-25 0:25 GMT+02:00 Trans <[email protected]>: > I would like to get feedback on YES (https://github.com/rubyworks/yes). > Also, at this point looking through > https://github.com/rubyworks/yes/tree/master/demo/02_constraints probably > would help to understand it as well. Note that `is` and `implicit` are the > same --I am in the process of renamed `is` to `implicit`. > > I am interested in getting feedback b/c I would like to be able to move > past the point of developing a YAML schema to the point of actually using > it. I've been thinking that it would interesting to create a website that > contains a large organized collection of schemas for a wide variety of > things. With a large enough pool of common schema's it might be possible > for people and computers to distribute semantic messages utilizing them. > > As side note, I've been pondering for a while on a YAML tag resolution expression language. During that, I've become more and more convinced that there should be a clear separation of three concerns that otherwise easily might end up as "schema". In my view, there should be an explicit separation of the following: 1) Tag resolution = identification. Including tag resolution of collection nodes, using path from root + content 2) Schema = validation 3) Domain model generation; Using tag definitions and a schema, it is possible to create domain model class generators. This ought to be kept separate from schema itself, since it might include metadata that is either language-specific or orthogonal to validation. Best regards, -- Mvh / Kind regards *Roy Brokvam* Senior systemutvikler | Senior Developer + 47 48 04 16 60 | [email protected] <[email protected]> *Dossier Solution**s* Rådhusgata 30 B | NO-0151 Oslo | +47 22 11 20 90 | www.dossier.no ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available. Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ Yaml-core mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/yaml-core