473,698 Members | 2,480 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 4204
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
2150
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. could you please have a look at the following script: ------------------------------------------------------------
9
2117
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 and Safari, but in the latest FireFox I get no title or article, but do see the prev and next links and the article number. My HTML and JS simple routine is as follows:
0
1883
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 have run into is that the emitted html at the end of the process is slightly different and doesn't work. Please don't be put off by all the source code. All the guts are in this first base class, and it doesn't do much. The rest is trivial...
73
4602
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 endless loop in a line with: if a==b: print 'OK' I mean, it would be of much help to me on my way to understanding Python to know how such prefix code leading to an endless loop can look like and if it is eventually not possible to write such...
27
4612
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 = $doc->loadHTMLFile("./aBasicSearchResult.html"); if ( $res == true ) { $zip = $doc->getElementById('zipRaw_id')->value; if ( 0 != $zip ) {
11
1691
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 to what month was selected (31,30 or 28 days). I should use a simple javascript to populate the input boxes, but I'm a bit new to javascript. Please can you help me ?
24
6330
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 have on his site, a Javascript Calculator for working out the cost of what they want, for example: 1 widget and 2 widglets = £5.00
4
1363
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 works fine, but I'd like to make a couple of tweeks. As you can see, the sub-menus don't sit exactly in line with the header, so I'd like to shift them right by one pixel to correct this. I'd also like to shift
13
2038
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 folks might find to taste. Here's the code - first the 'engine', then some code demonstrating the usage patterns. For me (and maybe for some of you), it promotes readability and some
1
16503
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 - microlink pattern tutorial : A microlink is a link that opens up
0
8676
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8608
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9161
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8897
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
5860
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4370
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4619
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3050
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2332
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.