Is there a program/shell where I can practice javascript? [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 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.

Related

Installable code playground [closed]

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.

Which environment use for writing HTML code [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'm intermediate java programer. I have good knowledge on java fundamentals and programming in general. So i don't have problems get used to different IDEs and start with new languages. I want tu dive deeper in java front end development. I have HTML basics so i know that you should(can) start writing HTML+CSS+JS in ordinary windows notepad. But i did it that way some time ago so first i need to refresh my knowledge and after that gain new information.
So my question is is it still valid approach to use notepad or should i immediately start coding in some more specialized software such as Dreamweaver
I never would code in notepad. You have no file-encoding and no syntax-highlighting. You cant see simple mistakes.
A good start for every language is Notepad++ when you are on windows. At Linux I use Geany.
When it comes to bigger application with php I recommend phpStorm
For just a simple and small project or refreshing your skills, notepad++ is absolutely okay. To do a little bit more I would use PhpStorm from JetBrains, which got excellent support for HTML, JS, CSS, PHP and also some JS-Frameworks such as JQuery.
I use Eclipse IDE with plugins for each programming language, for example, PDT for PHP.
I recommend both for small projects, and for larger applications.
It is free.
I would not recommend using notepad. It does not depend on your ckills in koding, notepad just won't let you see all the syntax as it should be seen and it will be much harder to write a code. Taking in consideration how long HTML codes are.
I would personally recomend using Sublime Text 2, i've been using it since the begining. It is perfect both for beginners and experienced users featuring lots and lots of settings. It understands almost any traditional language. And it's also free :)

Is there a IDE that will debug HTML, JavaScript and PHP as one page? [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
Is there a IDE that will debug HTML/PHP/Javascript on one page, there must be a more efficient way of error finding. Currently I'm using Dreamweaver and if I have a error in my JavaScript or PHP I'm forced to either copy and paste into another environment or read error messages on my testing server.
I've tried Microsoft Visual Studio and it seem like the learning curve is a little steep?! Is Netbeans advisable?
Ideally I would like to carry on using Dreamweaver then if need be just open the page in another IDE, debug, save and reopen in Dreamweaver.
I'm using Netbeans, which can use breakpoints in PHP using X-Debug. It was must-have for me, but now i hardly use the feature since i found the combination of php_error.log + custom log/error outputting easier.
For HTML and Javascript debuggin i simply use Chrome Developer Tools (Rightclick > Inspect, or keyboard shortcut CTRL+SHIFT+i). The Elements and Console tabs should help you out.
I see no reason to have PHP and JS debug output intertwined, as they never are. There is a linear path here: PHP builds HTML+JS, JS affects HTML, browser renders HTML.
There is also Embarcadero HTML5 Builder that is said to be highly integrated, i never used it though.
Not sure but WebStorm is pretty nice to debug Js. It also help for php and html.

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