4 ms·
I believe the main selling point is sharing business code in both client and server, recently known as Isomorphic Javascript Applications. I think that this is
by gldalmaso 11y ago
I believe the main selling point is sharing business code in both client and server, recently known as Isomorphic Javascript Applications.
I think that this is specially appealing for people that are building offline enabled clients, which end up having to handle more business logic than usual for client-side code.
- tomelders 11y agoA 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.
- Keats 11y agoIn practice that depends on the app quite a bit, something like http://marshmallow.readthedocs.org/en/latest/ 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.
- deleted 11y ago[deleted]