Re: Re: JavaScript functionality
By: Tracker1 to Khelair on Sun Feb 08 2015 04:27 pm
> Synchronet's File IO uses it's own interface, it doesn't really follow the
> proposed file interface, or commonjs, or node's... If you really want to
> do file manipulation from JS, you may be better off doing those parts with
> node.js or io.js ... There are some much richer libraries out there for
> this, but they won't necessarily run under Synchronet.
The Synchronet file IO interface is actually more flexable and powerful than
any
of the ones you mentioned (they don't do file range locking or share modes
for
example) and tend to be POSIX-centric for the additional features they
support.
If you want serious cross-platform file manipulation, it's hard to beat
Synchron
et's object model. Of course, you're tying youself to Synchonet then,
but I abs
olutely wouldn't say you'll be "better off" doing those parts in a
different JS
engine.
---
http://DuckDuckGo.com/ a better search engine that respects your privacy.
■ Synchronet ■ My Brand-New BBS (All the cool SysOps run STOCK!)
|