I'm not much of a programmer, but I think I would like to tinker with an idea I had.
I was wondering how difficult it is to build an external program in Synchronet in Javascript where one would require a small
database of user objects. In essence, what I want to build is a HAM Club membership door, but it would of course require handling
a small DB of "people" along with other pertinent data that I have yet to fully define, but things like "Member since", and a field
relating to being paid up for the current year, etc., along with other items that might already be captured by the BBS - email
address, DOB, mailing address, phone #, etc.
Is it at all practical to do this in JS as a door?
I guess I should mention that I've looked through the Synchro JS docs and it doesn't appear that Synchro will make/run a DB of items for an external program, so I guess that's what I'm mostly curious about.
Thanks in advance.
I was wondering how difficult it is to build an external program in Synchronet in Javascript where one would require a small
database of user objects. In essence, what I want to build is a HAM Club membership door, but it would of course require handling
a small DB of "people" along with other pertinent data that I have yet to
items that might already be captured by the BBS - email
address, DOB, mailing address, phone #, etc.
Is it at all practical to do this in JS as a door?
If your club members are also BBS users, then you can use their user recordsfor whatever data is available there, as you
mentioned. Additional data could be stored elsewhere, in a file or inper-user files, or in a JSON-DB.
I presume Synchronet doesn't provide anything for this itself, but I see some external programs get .json data files built, but these are handled from other included .js scripts? I guess the question is - is there anything provided in the entire Synchro suite that assists with .js data handling?
Hi everyone,
I'm not much of a programmer, but I think I would like to tinker with an ide had.
I was wondering how difficult it is to build an external program in Synchron in Javascript where one would require a small
database of user objects. In essence, what I want to build is a HAM Club membership door, but it would of course require handling
a small DB of "people" along with other pertinent data that I have yet to fu define, but things like "Member since", and a field
relating to being paid up for the current year, etc., along with other items that might already be captured by the BBS - email
address, DOB, mailing address, phone #, etc.
Is it at all practical to do this in JS as a door?
Re: Specialized membership list
By: Va7aqd to All on Wed May 08 2019 04:44 pm
Hi everyone,
I'm not much of a programmer, but I think I would like to tinker with an had.
I was wondering how difficult it is to build an external program in Synch in Javascript where one would require a small
database of user objects. In essence, what I want to build is a HAM Club membership door, but it would of course require handling
a small DB of "people" along with other pertinent data that I have yet to define, but things like "Member since", and a field
relating to being paid up for the current year, etc., along with other it that might already be captured by the BBS - email
address, DOB, mailing address, phone #, etc.
Is it at all practical to do this in JS as a door?
Yes, totally. For the Synchronet BBS List module/door, I use a JSON file as database. Works fine so long as you're not expecting a lot of concurrent modifications.
The JSON-DB does involve some other components, but they are included withyour BBS. It takes a bit of extra setup, but also
handles a lot of stuff you would need to do on your own otherwise. (No needto parse/stringify, or really do anything with JSON
at all; in fact, the name of this database is a bit unfortunate even if ituses JSON on the back end.)
Yes, totally. For the Synchronet BBS List module/door, I use a JSON file asa database. Works fine so long as you're not
expecting a lot of concurrent modifications.
Thank you, sir! Yes, I suspect that's where I would wind up, especially considering Rob's comments in a later post.
- Write a 'hello world' .js, see if it will run under jsexec (maybe?)
- Get the same program to run as a door and pause for input
- Figure out how to get the basics going with json-db, write a single simple entry to a db - Read an entry from a db
That's at least a start.
Sysop: | Kurt Hamm |
---|---|
Location: | Columbia, SC |
Users: | 8 |
Nodes: | 20 (0 / 20) |
Uptime: | 230:14:11 |
Calls: | 2,976 |
Calls today: | 5 |
Files: | 64 |
D/L today: |
2 files (234K bytes) |
Messages: | 868,833 |