Installable code playground [closed] - javascript

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I am looking for an installable code playground, possibly for HTML, CSS and Javascript.
I am a computer science professor and in one of my courses I teach basic HTML, CSS and some Javascript. I would like to introduce my students to code playgrounds such as jsfiddle or jsbin. Additionally, I would like to deliver final exams through a similar tool, so that we replace tests written on paper with tests performed, self-assessed and refined on a browser-based tool.
The problem is that I do not want to let students access the Internet during the exam, and look for existing answers online or even establish communication channels among themselves or with experts at home, so I need to isolate the lab from Internet during the exams.
This means that I need to install a local copy of the playground tool on one of my servers. Do you know of any tool that provides their code (free or commercially, not relevant) for a local installation?
I don't need anything fancy, no automatic includes, no libraries, nothing special, just the possibility to install something on my server that runs without Internet dependencies.
Thanks in advance for your suggestions.

jsbin https://github.com/jsbin/jsbin/ can be run locally on a Node server. You need Node/npm installed first but after that it is easy. As long as you don't need libraries it can run without a network connection (just tried it) but the libraries seem to be external paths by default.

Related

Is there a program/shell where I can practice javascript? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I am beginner and I am teaching myself JavaScript with online tutorials. I can online type in what the tutorial asks me to type in for practice. However I want to be able to practice on my own, is there a website I can write in or a program I can download to practice.
I can program in Python but I know javascript is different in how compile.
You can use the built in javascript console which is available in most modern browsers or you can run javascript via the command line with node.js (and others).
I love using http://jsfiddle.net/ . It's my first stop when trying out new ideas in Javascript. That being said, you could just fire up a browser and/or node.js.
The nice thing about JSFiddle is the ability to keep a library of sample code you can refer to easily from anywhere, as well as the ability to share it with others.
Good luck!
I guess what you are asking is an online-editor where you can see the output as you change your code:
If that is so, may be use one of these:
Jsfiddle : http://jsfiddle.net/
OR
Jsbin : http://jsbin.com/
OR
simply use your browsers console
this is how you open your browsers console - https://webmasters.stackexchange.com/questions/8525/how-to-open-the-javascript-console-in-different-browsers
PS: JavaScript is a scripting language. it is not compiled into any other form. It simply gets interpreted and executed by the browser. :-)
Hope, this helps
You could use the node.js cli. Its a 1 click install, works on almost any system, and there are very few things you can't do in node that you can in client side.
Install http://nodejs.org/download/.
Go to command line and type node.
You are good to go.

javascript ui to maven interface over http [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
Is there a javascript read only tool for rendering information in maven repositories? Currently, we use archiva to do this, but archiva requires alot of stuff under the hood - a database, user permissions, etc... and all we really need is the snazzy "click on a jar" download ui and ability to browse versions.
Since maven repos are, after all , just folders in an http published directory, a JS interface should (theoretically) allow one to easily navigate and download from a simple s3:// or other swift:// repository
Sorry, but a proper repository manager is in fact the way to go. Which one depends on many factors, not in the least personal preference. And I've discarded Archiva in the past for being utterly incomprehensible. Nexus and Artifactory have always been very intuitive and user friendly. If you don't like (big) databases underneath, Artifactory may not be for you, since it stores everything in JCR database (although the authors stand behind their design choice). Nexus is more file-system friendly, and we ended up using it.
Bite the bullet on a repository manager. It's definitely worth it. Once Maven becomes more commonplace in your organization, you'll want to use other things it has to offer.
I've spun up a simple javascript interface to my maven repository and it works.
The way it works : Use JQuery to get the releases from maven-metadata.xml, and then generate links to jar files from that. Its not perfect, but its solves my needs, is dynamic, and is also completely serverless.
For the most part, it can be copy/pasted and used for any maven repo, i think...
http://jayunit100.blogspot.com/2014/01/ajax-maven-s3-lightweight-maven.html

NodeJs stress testing tools/methods [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I've searched a lot about stress testing a NodeJs application/module but I didn't find anything.
I have a push server application (something like socket.io) and I want to test it to ensuring there's no memory leaks and that it exhibits optimal performance.
What's the best method or tools for doing that?
You do not need any special tool for load testing Node.js application. You can use any load test tools:
ApacheBench
Siege
Jmeter
Tsung
From opensource and free tools I can recommend JMeter. As it has built-in Proxy Server which can record HTTP traffic. Advantage of JMeter than other tools is user friendly GUI. You can find article related Node.js load balancing and JMeter testing.
Try this phanos stress test tool. This is phantomjs based tool, and you can loading ajax request too with it. But this tool doesn't provide stat info, you should use nodetime (or something else) for analyze the traffic performance.

Good server-javascript host/framework? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I'm trying to find a good javascript based web host, as well as a good server-side javascript implementation. I have played some with NodeJS, and it seems very good, but I really don't want to have to write the entire server from scratch. I need a host/framework with the following features (or at least most of them):
1: The ability to run a script continuously on the server while maintaining a continuous dialog with other scripts as well as client pages (through xmlhttprequest).
2: PHP/ASP like functionality.
3: I don't want to have to write an entire server from scratch. I just want to worry about writing my application.
Also, I have recently been looking into Aptana's Jaxer, which seems to be the holy grail from my perspective, but when I go to the web site "www.jaxer.org", it returns a completely irrelevant page. Could somebody please explain this to me?
Thanks,
Chris
I've used https://no.de/ from joyent to host my node.js applications.
For communicating between the client and the server I'd use http://socket.io/ . It's a communication framework that will choose the most appropriate communication method to maintain a connection (continuous dialog) with the client.
For serving static content see this answer for a link to a great article on a simple web server.
Using node.js as a simple web server
Or see this answer that discusses various web application frameworks.
https://stackoverflow.com/questions/3809539/choosing-a-web-application-framework-using-node-js
Hope this helps, & Good luck on your project!
You could have a look at Wakanda
It provides a full stack including, the server, the studio, and the client framework, all in a very consistent way.
There is a related question I answered on stackoverflow about where to host Wakanda applications, and another one comparing different existing server-side JavaScript solutions

Tools to enforce a coding style for Javascript [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I need to automatically check the style of javascript sources written by different people. Do you know of a good tool to do it? Integration with emacs would be a plus. Thank you in advance.
See EditorConfig. This tool is not limited to js though; You first install the plugin for your editor (there is an emacs plugin), and create a file named .editorconfig, whose content is the coding style.
I've recently updated the CodePainter project to work tightly with EditorConfig, so you can get the best of both worlds with JavaScript.
Please, spread the word. The project could use more traction and I could use more help.
Google JavaScript pretty print and JavaScript lint. Plenty of options, including JavaScript Lint and JSLint, among others.
There's also JSHint which has libraries for Rhino, JavaScriptCore, Windows Script Host and Ruby.
You're probably looking for the JS Code Sniffer: https://npmjs.org/package/jscodesniffer#a-standard

Categories

Resources