Re: Getting started with Javascript and Sync, where to go?ã By: Sam Alexander to All on Sun Apr 12 2015 08:28:17ãã SA> I'm just starting to get more into some Javascript programming at work,ã SA> and I'd like to start using some of this to write Sync add-ins. Problemã SA> though is I'm not sure where to start. Most of the javascript I write atã SA> work is for web, so are there any tutorials or simple examples showing howã SA> to write basic menus or screens for Sync? Like showing a list, arrowingã SA> down or selecting the item by letter, then refreshing the screen with newã SA> content, that kind of stuff. ããI was the same way, I wanted to learn JavaScript (since it's a commonly-usedãlanguage), and writing some JavaScript mods for Synchronet helped me understandãthe language better.ãI haven't seen specific tutorials on Synchronet JavaScript, but I think it canãbe good to look at existing Sync JS mods as an example. If you want an exampleãof item selection from a list & using arrow keys to go up & down, as youãmentioned, one of my mods is a couple of file & message area choosers that useãa lightbar interface:ã
ftp://www.digitaldistortionbbs.com/bbs/SYNC_JS/ddac_107.zipããOther than looing at other Sync mods, if you've done some programming already,ãI think a good place to start is to learn about the language and then tryãmaking some simple things with it (in a sort of "sandbox" project) forãpractice. There are lots of JavaScript tutorials online - Almost all areãgeared toward a web environment though, but they still can be useful in gettingãto know the language. Once you start to get familiar with JavaScript, there'sãsome good documentation on Synchronet's JavaScript object model, which listsãall the objects & functions that Synchronet provides to JavaScript forãinteracting with Synchronet:ã
http://www.synchro.net/docs/jsobjs.htmlãã SA> Also is it easy to save data back to however Sync stores data? I have aã SA> few ideas of add-ins I'd like towrite, but most will require saving userã SA> data and pulling data from the user's profile.ããThat Synchronet JavaScript page I linked above describes everything Synchronetãmakes available to JavaScript.ããNightfoxãã---ã þ Synchronet þ Digital Distortion BBS - digitaldistortionbbs.comã