DEV Community

Discussion on: What is better about web development vs native and vice versa?

Collapse
 
jfrankcarr profile image
Frank Carr

The biggest thing for me is direct hardware access to things like barcode readers, scales, PLCs, specialized printers and so forth. To get these things to work in a browser you usually have to create plugins and such, if they'll work in that context and if you can accomplish it within corporate security policies.

In web development it's much easier to deploy updates, build tests, demo UI's and the like. It's also usually a lot easier to deliver a "minimum viable product" in a web environment.

Collapse
 
nektro profile image
Meghan (she/her)

Many barcode readers will actually register on your device as a keyboard and will be picked up by the browser no problem :D

And for other devices, while it doesn't have a lot of widespread use from the manufacturer side WebUSB has a lot of potential to bring all sorts of peripherals to the Web.

Collapse
 
jfrankcarr profile image
Frank Carr

I've done that with hand helds where the user walked through a warehouse scanning pallets of merchandise. But, in this case, I'm talking about an assembly line with 5 to 10 fixed position readers, 1 or 2 scales and 2-3 printers along with PLCs. WebUSB sounds interesting though. I'll look into it.