Is javascript the scripting language most recommended for creating widgets? Can anyone suggest any tutorials for a javascript beginner? My present knowledge only extends to HTML and CSS.
creating widgets
Collapse
X
-
Javascript is certainly a popular web scripting language after being out in the wilderness for many years. It's what I use for creating dynamic behaviour on web pages above that supported by HTML.
You could try having a look at
JavaScript Tutorial
A useful online resource for javascript is available at the mozilla site
JavaScript (JS) is a lightweight, interpreted, or just-in-time compiled programming language with first-class functions. While it is most well-known as the scripting language for Web pages, many non-browser environments also use it, such as Node.js, Apache CouchDB and Adobe Acrobat. JavaScript is a prototype-based, multi-paradigm, single-threaded, dynamic language, supporting object-oriented, imperative, and declarative (e.g. functional programming) styles.
I find Douglas Crockford's web site very useful although probably not beginner level
Douglas Crockford's Javascript
A decision you will probably face is which Javascript library to use - there's plenty about, of varying qualities. Any decision will be affected by what you're hoping to achieve with javascript. I use dojo (Unbeatable JavaScript Tools - The Dojo Toolkit) for some heavyweight widget development, although I'd probably recommed jQuery (jQuery Project) if you're new to javascript - it's very popular and probably easier to get into than dojo - good if you're just trying to jazz up a few web pages.
-
I recommend learning JavaScript without using a 3rd party library at first to see what's possible and get a feel for how it all works - you can then learn soemthing like jquery, dojo, prototype.js etc when you know more about it.
You can achieve quite a bit with a few dozen lines of javascript without having to include some massive library.
And get hold of a Copy of "JavaScript the definitive Guide" by David Flanangan.
Comment
Comment