Subj : Getting started with JS addons to Sync
To   : Sam Alexander
From : Digital Man
Date : Wed Jun 21 2017 10:42 am

 Re: Getting started with JS addons to Sync
 By: Sam Alexander to All on Tue Jun 20 2017 07:43 pm

> Hi all.  I'd like to get more into coding with JS an Sync, but I have someq
> uestions.  For starters I've been reading LOTS about node.js, so will this
> work with Sync?

node.js is a completely different JS interpretter that runs in a different
model (event/asynchronous while Synchronet's JS engine, the Mozilla JavaScript
engine, runs code proceduraly).

That said, there's probably way to launch node.js via CGI or a native service,
but you wouldn't get any of the Synchronet object model.

> Can JS with sync interact with the services?

Which services are you referring to?

> I'd love to write
> some add-ins that consume API services from other sites, but i'm not sure
> what options are there. And what about OS operations like modifying files,
> usrs,
> processes, etc... this will be on Linux.

Look here: http://synchro.net/docs/js.html

> And is there any MySQL support?

No, but someone did integrate SQlite once.

                                           digital man

Synchronet "Real Fact" #49:
Synchronet program was named 'sbbs' instead of 'sync' to avoid conflict w/Unix.
Norco, CA WX: 88.5�F, 45.0% humidity, 4 mph ESE wind, 0.00 inches rain/24hrs

---
� Synchronet � Vertrauen � Home of Synchronet � telnet://vert.synchro.net