473,385 Members | 1,908 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Simple JavaScript IDE

Hi

I've come here after googling for this a day or two and not being able to
spot what I'm looking for.

I need a JavaScript IDE -- no frills, nothing special -- that offers me
the ability to

- directly call my functions
- step through them

I know that the VBA IDE you find attached to programs like Excel has an
"Immediate" pane where you can do that.

That is a good way to study intricate algorithms, and JavaScript offers
everything I need (including features like closures, etc.).

Some IDEs I've found (such as Aptana) are too large, bulky, and contain
too many features which may be necessary while developing but I don't
need.

Any suggestions?
-- K

--
Message posted using http://www.talkaboutprogramming.com/...ng.javascript/
More information at http://www.talkaboutprogramming.com/faq.html

Oct 2 '07 #1
6 4180
Xcriber51 <Ken wrote:
Hi

I've come here after googling for this a day or two and not being able to
spot what I'm looking for.

I need a JavaScript IDE -- no frills, nothing special -- that offers me
the ability to

- directly call my functions
- step through them

I know that the VBA IDE you find attached to programs like Excel has an
"Immediate" pane where you can do that.

That is a good way to study intricate algorithms, and JavaScript offers
everything I need (including features like closures, etc.).

Some IDEs I've found (such as Aptana) are too large, bulky, and contain
too many features which may be necessary while developing but I don't
need.

Any suggestions?
-- K

--
Message posted using http://www.talkaboutprogramming.com/...ng.javascript/
More information at http://www.talkaboutprogramming.com/faq.html
Firebug (a Firefox extension) is not an IDE, but it does provide a
simple debugger that does what you want. It has a console in which you
can directly call functions, and a simple debugger that allows you to
set breakpoints and perform stepping.

Use your favorite text editor for editing, then load the page in Firefox
and use Firebug to do your debugging.

http://www.getfirebug.com/

Jeremy
Oct 2 '07 #2
On Oct 2, 4:02 pm, Jeremy <jer...@pinacol.comwrote:
Xcriber51 <Ken wrote:
I need a JavaScript IDE -- no frills, nothing special -- that offers me
the ability to
- directly call my functions
- step through them
Any suggestions?
Use your favorite text editor for editing, then load the page in Firefox
and use Firebug to do your debugging.

http://www.getfirebug.com/
I second that, but would add that if you're interested in developing
in JavaScript outside the context of browser programming, you might
want to check out Rhino:

http://www.mozilla.org/rhino/

which gives you access to the built-in Java classes via a JavaScript
command-line interpreter; alternatively, you can download and build
the interpreter for SpiderMonkey, Mozilla's JS engine, which is
currently at JavaScript 1.8 and lets you play with the more Pythonic
stuff Mozilla's been taking the language recently, such as generator
expressions, destructuring assignment, Array comprehensions, etc.

-David

Oct 3 '07 #3
Thanks, guys.

I checked Rhino and SpiderMonkey but as I use Windows and yet don't have
MS Visual Studio (I have Borland's BCC55, cygwin, and lcc none of which
worked; I also don't have Java, and spent hours trying to download the 50
MB thing as I got interrupted twice right at the end), I couldn't compile
them. I don't see why they don't make compiled versions available.

Any links where I can spot the binaries of these, David?

Thanks again.

-- K

--
Message posted using http://www.talkaboutprogramming.com/...ng.javascript/
More information at http://www.talkaboutprogramming.com/faq.html

Oct 3 '07 #4
On Oct 3, 9:08 am, "Xcriber51" <Ken <ken-t...@mail.info>wrote:
Thanks, guys.

I checked Rhino and SpiderMonkey but as I use Windows and yet don't have
MS Visual Studio (I have Borland's BCC55, cygwin, and lcc none of which
worked; I also don't have Java, and spent hours trying to download the 50
MB thing as I got interrupted twice right at the end), I couldn't compile
them. I don't see why they don't make compiled versions available.

Any links where I can spot the binaries of these, David?
Rhino's current Java binaries (.jar) are located at:

ftp://ftp.mozilla.org/pub/mozilla.org/js/rhino1_6R7.zip

Link to latest binaries lives at http://www.mozilla.org/rhino/download.html

Unzip them into the folder of your choice, open a command prompt, cd
into the folder, then run

java -jar js.jar

You can create a file "js.bat" with the single line

@java -jar <path-to-rhino>\js.jar

and put the rhino folder in your system's PATH variable. Now you can
always type simply "js" in any command prompt to get your JS command
line.

Building SpiderMonkey under Cygwin is kind of a pain; I'll have to
investigate it and get back to you. (It's really obnoxious that the
Mozilla team built the Windows install assuming a Visual Studio
machine. I'm a web developer. I have to run Windows. That doesn't
mean I want to run MS development software.)

-David

Oct 3 '07 #5
On Oct 3, 10:59 am, David Golightly <davig...@gmail.comwrote:
On Oct 3, 9:08 am, "Xcriber51" <Ken <ken-t...@mail.info>wrote:
Thanks, guys.
I checked Rhino and SpiderMonkey but as I use Windows and yet don't have
MS Visual Studio (I have Borland's BCC55, cygwin, and lcc none of which
worked; I also don't have Java, and spent hours trying to download the 50
MB thing as I got interrupted twice right at the end), I couldn't compile
them. I don't see why they don't make compiled versions available.
Any links where I can spot the binaries of these, David?

Rhino's current Java binaries (.jar) are located at:

ftp://ftp.mozilla.org/pub/mozilla.org/js/rhino1_6R7.zip

Link to latest binaries lives athttp://www.mozilla.org/rhino/download.html

Unzip them into the folder of your choice, open a command prompt, cd
into the folder, then run

java -jar js.jar

You can create a file "js.bat" with the single line

@java -jar <path-to-rhino>\js.jar

and put the rhino folder in your system's PATH variable. Now you can
always type simply "js" in any command prompt to get your JS command
line.

Building SpiderMonkey under Cygwin is kind of a pain; I'll have to
investigate it and get back to you. (It's really obnoxious that the
Mozilla team built the Windows install assuming a Visual Studio
machine. I'm a web developer. I have to run Windows. That doesn't
mean I want to run MS development software.)

-David
Hi All,

I noticed the comment about Aptana being a bit too bulky for the
task...we're definitely bigger than the standard text editor, but we
do give some nice benefits, such as outlining of the JS source code,
formatting (in the latest nightly builds) and Firebug integration so
you can debug inside the IDE or inside Firebug. Perhaps more than you
need right now, but please check us out again if your needs change.

Thanks!
Ingo

Oct 11 '07 #6
On Oct 3, 10:59 am, David Golightly <davig...@gmail.comwrote:
I'm a web developer. I have to run Windows.
If you are a web developer then you must run browsers on a variety of
operating systems. It doesn't mean you must develop on Windows. I do
all my development on OS X and use Parallels Desktop to test on other
operating systems. I think this is the best system for front-end
development because Parallels work so well now.

Peter

Oct 11 '07 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: francisco lopez | last post by:
ok , first of all sorry if my english is not so good, I do my best. here is my problem: I donīt know much javascript so I wrote a very simple one to validate a form I have on my webpage. ...
9
by: Astra | last post by:
Hi everybody Wonder if you could help me out. I created a simple JavaScript routine to enable a user to click backwards and forwards between small news articles. This routine works fine in IE...
0
by: 42 | last post by:
I implemented a simple class inherited from Page to create a page template. It simply wraps some trivial html around the inherited page, and puts the inherited page into a form. The problem I...
73
by: Claudio Grondi | last post by:
In the process of learning about some deeper details of Python I am curious if it is possible to write a 'prefix' code assigning to a and b something special, so, that Python gets trapped in an...
27
by: one man army | last post by:
Hi All- I am new to PHP. I found FAQTS and the php manual. I am trying this sequence, but getting 'no zip string found:'... PHP Version 4.4.0 $doc = new DomDocument; $res =...
11
by: samuelberthelot | last post by:
Hi, I've got 3 input HTML (dropdown lists) on my page. One for selecting a Month, one for the day, one for the year. Very simple... My problem is that I'd like to update the Days one according...
24
by: firstcustomer | last post by:
Hi, Firstly, I know NOTHING about Javascript I'm afraid, so I'm hoping that someone will be able to point me to a ready-made solution to my problem! A friend of mine (honest!) is wanting to...
4
by: Timmah1980 | last post by:
I'm sure this is a simple enough fix for someone out there, but I'm afraid it's beyond me! I'm putting together this simple menu for a client: http://www.timkeay.co.uk/mpc2/index.htm It...
13
by: aum | last post by:
Hi, I'm a Python programmer, just starting to get into javascript. On reading some of the js guides, and not liking any of the OO usage patterns I saw, I've cooked up something which python...
1
by: www.web20developers.com | last post by:
http://www.web20developers.com http://www.web20developers.com/index.php?option=com_content&task=view... Ajallerix : AJAX, simple, fast Web image gallery demo ; at Novell AJAX -...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.