For getting a better and solid understanding of the JavaScript language 
itself, I would like to recommend this online book: Eloquent JavaScript 
<http://eloquentjavascript.net/>. In contrast to many other books about 
JavaScript, you get live(!) examples while reading the book, you can even 
edit the examples and see what then happens, all this from your web 
browser. Also, Eloquent JavaScript might be more difficult at the beginning 
but it teaches a solid foundation -- unlike so many other JavaScript 
tutorials.

That is probably because JavaScript is an incredibly versatile thing, but 
if you are not careful then you easily end up in a huge mess. From my 
experience, many tutorials are perfect examples in teaching how to write 
JavaScript mess. ;)

Next: how do you integrate existing JavaScript into TW5? For this, I would 
suggest reading the developer TW5 documentation (it is linked from the main 
TW5 site). This gives you a better understanding of the individual pieces 
you get. However, typically you will be simply overhelmed and the docu 
isn't written from the perspective you would need.

Personally, I started my learning process by trying to understand how to 
write a new TW5 macro and a new filter operator. This is still a steep 
learning curve, but there's the TW5 core source code for macros and filters 
which will serve you well as possible starting points.

With more experience it should become more easy to look at how existing 
JavaScript libraries are integrated. Codemirror is a good, albeit slightly 
involved topic. It show all the integration work that usually needs to be 
done.

Just my .02.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to