[dba-Tech] Coding JavaScript

Jim Lawrence accessd at shaw.ca
Mon Jan 21 18:40:41 CST 2013


Much of my programming is in JavaScript and there is bound to be much more
needed in the future especially if I start working Node.js.

My favourite editor or IDE is nothing fancy just Programmer's Notepad.
(http://www.pnotepad.org/download/) It is simple, fast and can easily switch
from one language to another like HTML or JavaScript, provide easy data
manipulation, colourizes the keyword text and auto closes tags.

Now there is the Alpha version of Light Table, a full intellisense,
JavaScript editor and at first blush it looks really nice. 

http://www.lighttable.com/

And it has iOS, Windows and Linux32/64 versions. Just a note: how it
installs on both Windows and Linux is strange to say the least. For example;
on Windows it actually runs from where it is upzipped, no registry setting,
dependencies, all are in one unzip folder or any installation in the
Programs directories. It does also dump process folders all over the
place...fortunately mostly within the installer's user directory. In Linux
it does exactly the same process; where it is unachived is where in runs, no
dependencies, no make and no compiling....but after all it is an Alpha
version.

As much as I love Programmer's Notepad on Windows there is not an obvious
direct comparison product, with Linux but there is a simple product that can
be easily enhanced to fill that gap. It is "Gedit", a super simple Windows
Note like editor but it has one feature that changes everything. It has
extensible plug-in capabilities.

What that does is allow third party developers to build plug-ins for their
favour programming language like R on R, JavaScript, HTML, Python, PHP, C
and so on. These plug-ins are all over the place and thanks to Google they
can be easily found, downloaded and used. Below is a link to various
language plug-ins and instruction on how to install those plug-ins...some
even go so far as to provide rudimentary intellisense capabilities.

http://grigio.org/pimp_my_gedit_was_textmate_linux

If you are feeling particularly adventuresome, seeing Gedit is written in
Python, you can write or enhance your own plug-ins. :-)

https://live.gnome.org/Gedit/PythonPluginHowTo

Hope this helps somebody.
Jim



More information about the dba-Tech mailing list