News for hackers. Stuff that matters.
Re:Show HN: Nodal. Next-Generation Node.js Server and Framework by tomelders on Wednesday January 06, 2016 @06:37AM (#10849950)
A big chunk of UI work is typically input validation which should happen client side and server side. And you'll usually need regex for this at somepoint. Having the same validation logic and regex engine on either side is a huge win.
Re:Show HN: Nodal. Next-Generation Node.js Server and Framework by Keats on Wednesday January 06, 2016 @12:49PM (#10852092)
In practice that depends on the app quite a bit, something like http://marshmallow.readthedocs.org/en/latest/ makes validation a breeze on the backend for an API and you will need the database for more complex ones anyway. Again that probably depends on the app, but the only duplication in mine right now would be the password length which is a 1 character change.