Skip to content

Roadmap

fge edited this page Nov 12, 2011 · 127 revisions

In 0.3

Logging

Work has just started... One class has logging. One.

Reusable validators

This is definitely needed. The plan it to instantiate validators only once, which will mean quite a few changes, but it will be such a speed improvement that it cannot be ignored.

And one or more from below

"Fail fast" validation

Right now, validation will go as deeply as it can -- for instance it will check all items of an array even if the first one fails validation. Propose a mode which will make the validation fail at the first failing item.

Section 6 of the draft

But first, understand that section and its implications...

Primitive-type only numeric validation

Javascript is limited, by its specification, to operate on 64bit IEEE 754 numbers. The implementation handles arbitrarily large numbers, but this may be unneeded. Make a validation feature which will allow to use primitive types long and double only.

Streaming validation

Right now the whole instance is read in memory before proceeding -- not a smart move if you want to validate really big stuff. Try and stream the process instead... Ouch. This means a redesign.

Clone this wiki locally