Server-Side Javascript Standard Library

Kevin Dangoor asks what Server Side JavaScript needs and launches more talk about a standard library for Javascript on the server-side.

Having a unified API for libraries in different environments would in my opinion be nice especially because it would allow higher level modules to be shared between different server-side javascript environments. One problem that has slowed this from happening in the past has been that in Java-based environments like Helma , Sling and Xjs , Rhino makes the direct scripting of Java packages so easy, that some stakeholders don't believe the added burden of maintaining an additional API layer in javascript is reasonable for the benefit they would get from it.

Some pointers to current server-side javascript library projects in the realm of the Helma project and to other efforts for a standard library for JS:

The current Helma 1 versions come with two libraries containing several modules. The HelmaLib provides modules for core functionality such as Database, File, Ftp, Http, Smtp and SSH, some that extend built-in prototypes, and a few others. The Jala library adds further modules such as DNS, MP3 and XML-RPC and utility modules such as i18n, image manipulation, captcha, HtmlDocument, RemoteContent, Podcast, Rss and other XML related modules.

Modules are included either via a configuration file or at runtime via a method call. A module is only loaded once, even if included multiple times. In the context of Helma 1, modules are loaded into the global scope and they need to be nice and restrict themselves to a save namespace.

For Helma NG , the way modules are included is changed to eliminate any possible namespace conflicts. Each module in Helma NG lives in its own scope and can selectively import other modules or portions thereof into its scope. Here again, when modules are imported in different scopes, each module is only actually loaded once.

There has been some discussion with the goal of a unified library/ modules architecture between different projects over in the Helma NG group. One of the major goals in Peter Michaux's xjs project is to provide a standard library and a shared module loading mechanism.

29.1.2009, 19:58

Is the Bespin web-based code editor the ideal future ServerJS IDE?

Bespin is currently running on a python based backend, but I can see this project as a likely candidate for a backend implemented using the future standard library that the ServerJS group is attempting to build. Bespin together with Firebug and an integrated remote Rhino-Debugger seems capable of turning the web browser into the perfect Client-/Server-JavaScript IDE.

13.2.2009, 14:50

New Eclipse Helma plugin project

The helma4eclipse project provides a set of plugins for Eclipse, building a perspective for Helma 1.x based web app development. The features implemented so far by Franz Philipp Moser include a preferences pane, the ability to start/stop Helma from Eclipse, logging to the Eclipse console (you need to set "logdir = console" in server.properties) and the ability to browse the running apps, including their prototypes and skins, in a live outline. You can grab that very first version here .

1.3.2009, 10:08

The best solution is that one isn't needed

Nuff said.

20.3.2009, 19:34

ReverseHttp and RelayHttp

" This document describes a dynamic, ReST-style means of enrolment and participation in an HTTP network. The message/http and application/http MIME types defined by RFC 2616 are used to build a dynamically-configurable "Remote CGI" service.

Joining the World Wide Web as an HTTP server has been an ad-hoc, manual process. By using the protocol defined here, programs can provide services to the Web just as easily as they request services from the Web."

" This document describes a protocol for tunnelling HTTP traffic over HTTP, with the goal of providing portable, general, securable access to the World Wide Web for programs running in restricted environments, including Javascript programs running in browsers.

The defined protocol is similar to the widely used HTTP proxying protocol, but differs in that the proxied traffic is carried over an ordinary HTTP connection; the special syntax used by an HTTP proxy is avoided here."

24.3.2009, 10:07

ES5 Candidate Specification

The fifth edition of ECMA-262, the industrial standard scripting language specification , which should later become the fifth edition of ISO-16262, has now reached the "Final Draft" state and will enter the testing and validation phase, on target for approval later this years.

In case you missed it, ES5 is the effort formerly known as ES3.1, and got renamed to ES5 in order to clean up the confusion with the version numbers of the different proposals, skipping the ES4 version. "ES Harmony" would therefore one day be called ES6, not ES4.

8.4.2009, 23:31

>>> A car has nothing to do with a carpet

> Think different
> Crossnet - der kollektive Intellekt der Schweiz
> Anno 1992: Intouch i-station
> Anno 1990: RasterOps
> Anno 1991: mediacube
> Anno 1993: Macro-micro navigator
> Server-side Javascript
> Surrender by Cheap Trick
> Permaculture 101
> Be part of the solution, not part of the problem
> CometD at a glance
> PubSubHub against spam and walled gardens
> Web-based editing of sandboxed server-side javascript apps
> Hang You From the Heavens by The Dead Weather
> Anno 1988: Perfect by Fairground Attraction
> August 28th 1968: William Buckley Vs Gore Vidal
> Anno 1968: Mony Mony and People Got to Be Free
> Unus Pro Omnibus - Omnes Pro Uno
> Been there, but haven't done that
> If they are not ready for what they need, give them the backbone for their future baby steps
> Before implementing a solution to a problem, always search for a workaround, because the workaround is often better than the original solution
> JVM Web Framework Smackdown
> Eating healthier would safe the planet
> ServerJS - putting Javascript to work on the *other* side
> CommonJS effort sets JavaScript on path for world domination
> While society must do things the right way, its people must find ways to do the right thing
> ServerJS - Brewing The Perfect Storm
> Move your money - It's a Wonderful Life
> You find what you google for.
> Module system strawpersons
> Keep Cool My Babies!
> Written In Reverse by Spoon
> The Moon And The Sky by Sade
> Helma 1.7.0 has escaped its stealth existence
> Modules, Proxies, and Ephemeron Tables
> Server-Side Javascript since... way back: RingoJS!
> Anno 1989: Lambada by Kaoma
> Eternal September
> AOL expanding Internet services
> Searching Gopherspace
> NEW-LIST digests
> ACTIV-L Digest
> Acorn Archimedes RISC Technology
> Hello World on C128 in CP/M Mode
> Anno 1986: Max Headroom in the News
> Anno 1985: Amiga 1000
> Anno 1982: Vic-20
> RhinoJS
> Lost and Found by Steve Mason
> Your Personal Religion by Sophie Hunger
> RingoJS 0.5 released
> Sweet People by Alyosha
> RingoJS vs NodeJS
> Get Around by Neil Young
> How creativity occurs
> The Future Is Unwritten
> What's Up Doc? by Carbon/Silicon
> Will Adobe see the light (of Day)?
> Good for Adobe, Good for Day, Good for the Ecosystem
> confederate?
> Brendan Eich on Proxies, Modules and other Proposals and Strawman
> CoffeeScript, underscore.coffee and underscore.js
> We have the world we want
> Lila Luftschloss
> If there is anything supernatural, it is humanity itself
> Oh No! by Marina And The Diamonds
> Reality is an onion, and depending on how deep you think, it may seem to contradict itself
> Web services should be both federated and extensible
> Freude herrscht!
> The Cluetrain Manifesto
> The Paul Allen Suit
> Erbix CommonJS soft-coding engine
> Nice comparison of Ringo and Node
> Faked web browsing
> Angry World by Neil Young
> Anno 1987: Knowledge Navigator
> Open source Facebook replacement Diaspora drops first alpha
> Restrepo
> Bungee jumps for all congressman, free!, no strings attached
> Link Love for Javascript
> Predictions of an ugly IPv4-to-IPv6 transition
> Ringo Release 0.6
> Order is an addictive illusion
> Peaceful Valley Boulevard and Rumblin
> Rhinola 0.8 - Server JS reduced to the minimum
> Unconditional Responsibility meets Total Compassion
> Which system setting, Mr. Citrix?
> Making Antimatter where the Web was born
> WikiLeaks moves to Switzerland
> Democracy Now!
> So Long, Larry King Live
> You register me in 50 states
> Daniel Ellsberg on Wikileaks
> Software Engineering
> California by Joni Mitchell
> Friedrich Dürrenmatt - Die Schweiz als Gefängnis
> Please Take by Wire
> Fixing the Future
> Cablecom baffled by service interruptions
> The decision to store data in a database is usually a case of premature optimization
> Could uprisings in Egypt and the Arab world produce a 'Muslim Gandhi'?
> No more White Stripes
> It Hurts Me Too by First Aid Kit
> Asmaa Mahfouz starting a revolution
> Think before teaching young dogs old tricks
> How to Save the World, Fast and Easy
> Powerful stroke of insight
> Madame Trudeaux by KT Tunstall
> Re: Administrivia
> Blue Tip by The Cars
> Piledriver Waltz by Alex Turner
> Canada, please evolve
> Heavyweight Champion of the World by Reverend and the Makers
> Everything is either simple or flawed
> AIR is to apps as PDF is to docs
> Wishful thinking is the mother of all progress
> Nuclear plants in Switzerland are modern Orgetorixism
> Newark Peace Education Panel
> Photoshop Startup Memories and First Demo
> BZ Internet Cafe
> Xjournal
> Morgana - Selling Digital-Font based Sign-writing
> Macworld Expo 1988 Amsterdam
> The right time to buy Apple stock
> Bürgerbrief
> Analog Desktop Publishing in 1984
> Enable the Creative
> Christiana Bike gone missing in Basel
> Postel's Law
> Best Music, News, and More is Back!
> bumblebee
> FidoNet
> Cute Barristas at Peet's Coffee
> Storm Song by Smoke Fairies
> Earth Mother and Fortieth Floor by Lesley Duncan
> Permaculture - A Quiet Revolution
> Paradise with Side Effects
> The Data Liberation Front
> What's Next California
> Not becoming part of the problem when trying to be part of the solution
> Customer Experience Management
> Adobe Digital Enterprise Platform
> This Painting is Not Available in Your Country
> Strength in Numbers by Colin Scallan
> RingoJS 0.8.0 is out!
> Re: parteifrei.ch
> Stuff by George Carlin
> Damn Love Song by Amy LaVere
> Switzerland is Not a Nation - it is a Philosophy
> Ralph Nader, Dennis Kucinich, Ron Paul
> 25th Fête de la Lune Noire
> Die Grünen sind die liberalsten
> How To Design A Good API and Why it Matters
> Here's to the crazy ones!
> New GPB-DA Poster (and Logo) for the Federal Elections 2011
> Evolution is not about the survival of the fittest, it is about the optimization of the synergies.
> Antwort auf offenen Brief von Tobias Sennhauser
> Alternative 1995
> Privacy is only needed to the extent that society is malfunctioning.
> The Creative Cloud, Elasticity, Touch and Context
> Libertär, EU-kritisch, ökologisch, sozial
> Consensus & Direct Democracy @ Occupy Everything
> Fortschritt statt schildbürgerliches Wachstum
> Hydrogen production from inexhaustible supplies of fresh and salt water using microbial reverse-electrodialysis electrolysis cells
> Will Not Follow by Gringo Star
> The Three Pillars of Democracy
> The Foundation of Democracy
> Bradley Manning by Cass McCombs
> Hochdemokratie
> Gamchi
> Whole Earth Catalog
> Supplement to the Whole Earth Catalog
> Neil Young
> O Freedom by Billy Bragg
> I believe I know what is true, but I know I don't know what is real.
> Zweites Eichhorn 2011 by michelo-ud
> Finish your Beer
> House Rules
> Late in the Night by Heartless Bastards
> Tim Anderson and Matthew Slater on Community Forge
> Journée: Coopératives & énergies renouvelables
> Summer 2012 will be the Woodstock of Anarchism
> Saturn Return by She Keeps Bees
> Lea & story-209 by michelo-ud
> Light Table - a new IDE concept
> Anno 1998: volksrat.ch
> Beim Denken sind Tiere auch nur Menschen
> Working on true, bottom up subsidiarity
> The Adobe Creative Cloud is coming!
> Jacob Appelbaum and National Security Agency whistleblower William Binne on growing state surveillance
> Out of Print: The 20th Century
> If what you are doing is not helpful, please stop doing it. Seriously.
> International Anarchism Gathering, St-Imier 2012
> Participate.ch macht Deliberative Demokratie mit Konsensforum
> Sixteen Saltines by Jack White
> Self-organisation as a powerful change agent
> Consensus is not something you either have or not. It is something you always have more or less of.
> Guggenheim by The Ting Tings
> The Definition of Love
> The axis of evil runs through our dining tables
> TerreVision - agriculture contractuelle
> Sophie's Choice in Bovine
> From Consumers to Citizens
> Deepening Democracy Days, June 2-12, 2012
> Surfing Democracy - Dynamic Facilitation and Wisdom Councils
> Radical Openness
> Plonk & Replonk
> Confirmation of the Higgs Boson and the Standard Model
> Declaration of Interdependence, Occupy Café and Occupy National Gathering
> Albert Streichs Mittnächtler
> A Guidebook of Alternative Nows
> The Story of Change
> Empowering Public Wisdom - The Manifesto
> The Transformation Project
> St-Imier 2012 Anarchism Gathering Program
> Du 8 au 12 août, les Imériens accueilleront les anarchistes du monde entier
> La Linea by Osvaldo Cavandoli
> Souper - Débat politique à Espace Noir
> Participate.ch brings Dynamic Facilitation Training to Zurich, March 4-6, 2013
> NEIN zum Tierseuchengesetz am 25.11.2012 - NON à la loi révisée sur les épizooties
> Weltformatplakat GPB-DA, Stadtratswahlen 2012
> Souper et débat politique - Round Three
> Fan traces "lost" singer Rodriguez
> RingoJS hits 0.9
> Jim Rough enjoying Hiltl...
> Gründungsversammlung Swiss Foodcoop Genossenschaft
> Ad-hoc Choice Creating
> Paddock cahier des charges choice creating session
> La Vélokaravane à Courtelary le 13.4.2013 au Toit des Saltimbanques
> Taste the Waste - about the worldwide destruction of food
> Governance Futures Lab for ReConstitutional Convention
> Simone Rebmann als Regierungsstatthalterin!
> Transition Town Bern am 25. April
> More than Honey by Markus Imhoof
> Occupy Love by Velcrow Ripper
> Overview & Continuum by Planetary Collective
> Zukunft säen – Vielfalt ernten
> Everyone is an exception. Let's try and catch each other.
> Art of Participatory Leadership 2013
> Social Capital World Forum 2013
> Reserve Ratio, Inter-Bank Lending and Equity Ratio
> Because *somebody* has to stand up for the people of the Internet
> The means are the way
> Original Black Bloc exhibited
> Dare to imagine: The grid that is us
> Collaborate locally, collaborate globally
> Edward Snowden, NSA PRISM wistleblower
> Installing Democracy
> Grüne NetzpolitikerInnen gegen BÜPF und NDG
> Nourrir la ville - Tagung für lokale und nachhaltige Strategien
> Leitideen des Anarchismus und EU-Kritik
> Green Phoenix Congress, September 25-29 2013, Schweibenalp, Switzerland
> Surfing Democracy November 25-26 2013
> Sommerfest von Transition Bern
> Open Air Filmvorführung in Bern am 11.8.: In Transition 2.0
> Es gibt kein Recht auf unethisches Verhalten.
> in-vitra Kulturen- und Kunstplattform in Biel-Bienne
> E-Voting: gesunde Skepsis und OpenSource ist nötig
> Virtual roundtable on governance
> Invitation to the 2013 "Beau-Sejour" gathering, October 25-27 in St-Imier, Switzerland
> Changelog for RingoJS 0.10
> Trends in Civic Tech
> Rolling Stone: In the Belly Of The Beast
> The Cryptosphere: decentralised, secure and open Web platform
> Zukunftsforum im Lorraine Quartier
> Polymoney Workshop
> Les idées principales de l'anarchisme et la critique de l'Union Européenne
> Culture of Collaboration
> La Décentrale Mont-Soleil
> Join the 2014 Beau-Sejour Gatherings, November 14-30
> RingoJS 0.11 is out!
> The New Decentralized Internet - MaidSafe
> Own The Change: Building Economic Democracy One Worker Co-op at a Time
> Stage d’initiation aux plantes sauvages comestibles et médicinales
> Decentralise Now Gathering for the 99%
> Outcomes of the Decentralise Now Gathering
> RSS murderers, some must rebuild bridges you have willfully destroyed
> Decentralized Autonomous Popcorn Time
> Tesla: All Our Patent Are Belong To You
> Why Wikipedia might be the most important invention ever
> The numbers of the day: 62 vs 50% and 1% vs 99%
> Decentralised Jokes
> Verpasst: Eine grosse Chance für ein krisensicheres Geld
> Richard Moore on the Electric Universe and Climate Change
> CoinFest 2016, April 5-10, Mont-Soleil
> Participate in the solutions of tomorrow!
> St-Imier Gatherings 2017: July 30 - September 22
> The Summer Camps experience of St-Imier 2017
> Kurdistan-reve-de-Printemps
> The Mycelium Model of Glocal Governance
> Anarchy 2023 renversé









Manifesting
Freedom and Solidarity
since 1985

Chris Zumbrunn
chris@zumbrunn.com
t.me/zumbrunn
@zumbrunn@social.coop
Listening to synergy.radio



Décentrale Synergiehub
2610 Mont-Soleil
Switzerland
+41 329 41 41 41
dezentrale.org