https://www.google.com/search?q=web%20based%20editor&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a&source=hp&channel=np
https://www.google.com/search?q=web%20based%20editor&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a&source=hp&channel=np
http://www.smashingapps.com/2010/12/07/11-robust-web-based-editors-to-code-directly-from-your-browser.html
http://www.smashingapps.com/2010/12/07/11-robust-web-based-editors-to-code-directly-from-your-browser.html
https://www.google.com/search?q=javascript+text+editor&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a&channel=fflb
https://www.google.com/search?q=javascript+text+editor&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a&channel=fflb
http://socialcompare.com/en/comparison/javascript-online-rich-text-editors
http://socialcompare.com/en/comparison/javascript-online-rich-text-editors
https://www.google.com/search?q=javascript+code+editor&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a&channel=fflb
https://www.google.com/search?q=javascript+code+editor&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a&channel=fflb
http://en.wikipedia.org/wiki/Comparison_of_JavaScript-based_source_code_editors
http://en.wikipedia.org/wiki/Comparison_of_JavaScript-based_source_code_editors
http://codemirror.net/
CodeMirror
http://codemirror.net/demo/emacs.html
CodeMirror: Emacs bindings demo
http://codemirror.net/doc/manual.html
CodeMirror: User Manual
http://marijnhaverbeke.nl/blog/#cm-internals
Flows of energy
https://github.com/marijnh/CodeMirror/tree/master/lib/util
CodeMirror/lib/util at master · marijnh/CodeMirror · GitHub
http://www.ymacs.org/
http://www.ymacs.org/
http://codemirror.net/1/story.html
Implementing a Syntax-Highlighting JavaScript Editor In JavaScript
https://www.google.com/search?q=designMode&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a&channel=fflb#hl=en&sugexp=les%3Bcpsugrpq2high&gs_nf=3&gs_rn=1&gs_ri=serp&tok=vxIjLwd-31eEp58T9yUsfQ&pq=designmode&cp=12&gs_id=hm&xhr=t&q=codeMirror+vs+ace&pf=p&client=firefox-a&tbo=d&rls=org.mozilla:en-US%3Aofficial&channel=fflb&sclient=psy-ab&oq=codeMirror+v&gs_l=&pbx=1&bav=on.2,or.r_gc.r_pw.r_cp.r_qf.&bvm=bv.1355325884,d.dmQ&fp=bbcdca4f4ff7f7a5&bpcl=39967673&biw=1037&bih=628
codemirror vs ace - Google Search
http://endofline.wordpress.com/2011/01/25/3-browser-based-editors-to-watch/
3 Browser Based Editors to Watch | End of Line
http://sandeep.shetty.in/2011/05/codemirror-vs-ace.html
Sandeep Shetty's Blog: CodeMirror vs. Ace
http://ace.ajax.org/#nav=about
ACE - The High Performance Code Editor for the Web
https://c9.io/site/pricing/
Sign up for Standard or Premium! | Cloud9 IDE | Online IDE – Your code anywhere, anytime
https://github.com/ajaxorg/ace
ajaxorg/ace · GitHub
http://ace.ajax.org/build/kitchen-sink.html
Ace Kitchen Sink

have been happy using svgfig for python and svg integration

requested [2011.02.19 12:00:25] todo 20110216
python to svg library

For each active instance of emacs:

open up the file called instances.txt
make a new entry
(keywords describing what you're doing with the files that are open)
press M-x jp (journal print open file paths)
save it

also check the launch.sh script for that context
describe the workspace state
and make sure everything open is noted there.

close emacs (repeat for any other emacs open)

previously [2009.01.15 16:00:43]

If on a machine with multiple workspaces or desktops,
it's probably easiest to update the todo list for that machine
to reflect each desktop's current task.

Now that desktops can be ordered, that order should reflect todo list priority.

Alternatively for a machine with multiple workspaces,
manually note which workspaces are open in a new journal entry:
[now] instances [system]
1:
2:
3:
4:
5:
6:
7:
[etc]


I've been looking into Django more. I was wondering the best way to automatically return the correct response format for any given type of request. Specifically, I'm interested in distinguishing between html and json requests.

In the past I've just appended '/json' to a given url to get json data, but then I was curious how Rails seems to automatically know what the request format was. According to this:

http://stackoverflow.com/questions/6253826/how-does-rails-determine-incoming-request-format

"Rails determines the desired response format from the HTTP Accept header submitted by the client."

It looks like there is similar functionality in Django, but the routing is not as built in as in Rails.

From:
http://stackoverflow.com/questions/9262278/django-view-returning-json-without-using-template

You can use request.is_ajax(). But that requires that the HTTP_X_REQUESTED_WITH header is set. Most JavaScript libraries do this automatically, but if you're using some other type of client, you'll need to make sure it sets it as well. Alternatively, you can pass a querystring such as ?json with the URL and then check request.GET.has_key('json'), which is probably a little more foolproof.

More details are available here:
https://docs.djangoproject.com/en/dev/ref/request-response/