Simple cross-network scripting, revisited, this time for JavaScript

Open
#219 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
20/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
javascript
Domain
api

Research direction

Start by reading the linked 1998 article and the Drummer context in this issue; the proposal asks whether JavaScript syntax can express calls to functions on other machines. Done would require a concrete protocol and scope decision, but the issue does not identify files, tests, or an implementation entry point.

Written by the indexing model from the issue text.

Description

Back in 1998, we were getting ready to simplify scripting of apps that ran on other nodes on the net.

http://scripting.com/98/04/stories/simpleCrossNetworkScript.html

The idea was that you could call a function running on another machine using the same syntax that you use to call a function on the same machine. Something like this:

[serveraddress].addUser ("bullmancuso", "They pulled me back.");

And it would add a user named bullmancuso with the indicated slogan.

What's in "serveraddress" depends on the protocol you're using to communcate with the server.

This is just syntax. You could just as easily used this syntax to make XML-RPC or REST calls.

Should we do something like this for Drummer? The question is how easy would it be to arrange this in JavaScript? Would it require a pre-processor?

Dominant language
HTML
Stars
134
Forks
10
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from scripting/Scripting-News

All issues in scripting/Scripting-News

Similar issues

More Backend & API Design issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.