14.07.2013 Views

Essentials of Javascript - Cultural View

Essentials of Javascript - Cultural View

Essentials of Javascript - Cultural View

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Comparison <strong>of</strong> JavaScript-based source code editors 77<br />

Usability<br />

Initial parse is slow,<br />

further performance<br />

is independent <strong>of</strong><br />

document size<br />

TODO: Other aspects<br />

new text<br />

sometimes<br />

syntax<br />

highlighted<br />

only after<br />

going out <strong>of</strong><br />

the viewable<br />

area<br />

No<br />

PageDown/PageUp<br />

text ghosting if<br />

syntax highlight<br />

enabled<br />

• Add Amy Editor (see also embedded version [40] ) http://www.amyeditor.com/<br />

• What size files do these editors handle best<br />

can't<br />

type<br />

Enter<br />

no<br />

documentation<br />

• Dependencies: Certain JavaScript library? How many files does it require? When compressed, what is the<br />

minimum download size in kilobytes?<br />

• Tabbed editing?<br />

• <strong>Javascript</strong> architecture (prototype, functional, or closure-based)<br />

• How responsive is each library (with and without a large file loaded)? (Not sure how to measure this yet.)<br />

• How long is the delay before syntax-highlighting occurs on new text?<br />

Extensibility features<br />

• Feature plugins<br />

• Interface languages (English, French, etc.)<br />

• Syntax highlighting plugins<br />

• Bracket completion plugins<br />

• Language snippet plugins<br />

• Code suggestion plugins<br />

Offspring projects<br />

Below is a list <strong>of</strong> projects based on each engine.<br />

CodeMirror powered<br />

• ShiftEdit Web-based IDE [41]<br />

• Google's API playground [42]<br />

• r3 [43] , a template management engine developed by Yahoo!<br />

• FireRainbow [44] - JavaScript syntax highlighting for Firebug<br />

• Freebase's Acre IDE [45]<br />

• Google Earth KML sampler [46]<br />

• Eloquent JavaScript's console [47]<br />

• A cool tutorial about the element [48]<br />

• An online IDE for the Orc programming language [49]<br />

• Kodingen - A Cloud Development Environment [50]<br />

Editor is<br />

fast and<br />

responsive<br />

even on<br />

100k+ lines<br />

<strong>of</strong> code in a<br />

single file.<br />

Only one on<br />

a webpage.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!