dart:html is a client side library, whereas dart:io is a server side library because this is obvious... but what about a funky lib get from http://pub.dartlang.org/packages ? Server side, client side, both ? How do I know for sure ?
To find out if a language is client or server side, you have to look at where the language is compiled. If this process takes place on your computer, it's a client-side language. And if it's on the server, it's a server-side language. Let's say you're loading a standard web page and your browser asks for an HTML page.
In the case of CSR, the HTML is generated on the client side by executing Javascript code in the browser. The Javascript code is executed by the browser Javascript engine (eg. Chrome V8, Nitro, SpiderMonkey etc.) In the case of SSR, the HTML is generated by executing code on the server-side.
Our client-side libraries are a collection of advanced features that can be used to build direct integrations with third party applications, using booking confirmation data sent via URL parameters and JavaScript. It is suitable for developers or technically savvy users with scripting or programming knowledge.
A server side framework typically uses a programming language with a compiler and runs on a Web server, such as Node, PHP and ASP.NET. The client-side framework is usually a JavaScript library and runs in a Web browser, such as React, Angular and Vue.
Hopefully the library documents whether it depends on dart:html
or dart:io
. If not, the only real way to know is to try it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With