473,513 Members | 2,356 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

A JS eye for the emacs guy!

Hi there!

I'm just starting out with javascript. My background is in
c/python/java/ruby/perl. I have an old and steady relationship with
emacs and the command line. I've tried a couple of IDEs, but it never
lasted.

Coming to javascript I'm at a bit of a loss. What bothers me most is
the inability to test stuff from the command line. I guess the first
thing I want to do is get acquainted with a javascript unit testing
framework. Google tells me that there are three such frameworks, two
named jsunit and one from script.aculo.us. Which one has momentum?
Which one am I likely to digg, being an emacs kind of guy?

And what about debuggers? I've never really liked them. Usually I just
do unit testing and printf statements, but considering that javascript
is harder to interact with from the command line, maybe I should learn
a debugger after all? Is Venkman the thing to go with in that area or
what?

TIA alex

Jun 6 '06 #1
1 1235
alex wrote:
Hi there!

I'm just starting out with javascript. My background is in
c/python/java/ruby/perl. I have an old and steady relationship with
emacs and the command line. I've tried a couple of IDEs, but it never
lasted.
emacs supports JavaScript quite happily.
Coming to javascript I'm at a bit of a loss. What bothers me most is
the inability to test stuff from the command line. I guess the first
thing I want to do is get acquainted with a javascript unit testing
framework. Google tells me that there are three such frameworks, two
named jsunit and one from script.aculo.us. Which one has momentum?
Which one am I likely to digg, being an emacs kind of guy?
I've been using JsUnit from http://www.jsunit.net/, works well in all
browsers I've tried and has support for server driven testing.
And what about debuggers? I've never really liked them. Usually I just
do unit testing and printf statements, but considering that javascript
is harder to interact with from the command line, maybe I should learn
a debugger after all? Is Venkman the thing to go with in that area or
what?

It you use JsUnit and Test Driven Development, you shouldn't need to use
a debugger. You can use the log facility in JsUnit and fall back to
alert() if you want to have a look at data on a running page.

--
Ian Collins.
Jun 6 '06 #2

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

Similar topics

49
4070
IDE
by: Thomas Lindgaard | last post by:
Hello I am probably going to start a war now... but so be it :) I just want to hear what all you guys who eat pythons for breakfast use for python coding. Currently I use Kate, but I would...
81
4613
by: julio | last post by:
Sorry but there is no another way, c# .net and mono are going to rip python, not because python is a bad lenguage, but because is to darn old and it refuses to innovate things, to fix wrong things,...
37
1799
by: Richard G. Riley | last post by:
I am looking for a way to integrate the C library documentation into emacs' C mode. Adding any linux library documentation would be a bonus. e.g hilite word, hotkey to library documentation. ...
12
2802
by: Thomas Bartkus | last post by:
Does anyone use emacs together with both WordStar key bindings and python mode? I'm afraid that Wordstar editing key commands are burned R/O into my knuckles! I would like to play with emacs...
7
3258
by: Xah Lee | last post by:
Summary: when encountering ex as a unit in css, FireFox (and iCab) did not take into account the font-family. Detail: http://xahlee.org/js/ff_pre_ex.html Xah xah@xahlee.org ∑...
4
3171
by: emin.shopper | last post by:
Emacs seems to freeze when doing certain shell commands on Microsoft Windows. The following is a simple example with Xemacs: ---------------------------------------------------------- ...
5
2353
by: levander | last post by:
I've been using pdb under emacs on an Ubuntu box to debug python programs. I just upgraded from Ubuntu Edgy to Feisty and this combo has stopped working. Python is at 2.5.1 now, and emacs is at...
331
14679
by: Xah Lee | last post by:
http://xahlee.org/emacs/modernization.html ] The Modernization of Emacs ---------------------------------------- THE PROBLEM Emacs is a great editor. It is perhaps the most powerful and...
4
4373
by: Richard Szopa | last post by:
Hi All, I am a devoted Emacs user and I write a lot in Python. However, I never managed to get my Emacs configuration right for this purpose. There were some discussions on this, but the threads...
0
7545
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...
1
7111
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...
0
7539
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
4751
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...
0
3240
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...
0
3228
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1605
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 ...
1
807
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
461
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.