|
|
JavaScript: Why You Don't Know More About It What are you missing by ignoring JavaScript?Despite all the potentially negative implications of the discussion above, JavaScript is definitely worth learning. If you're a consulting programmer or web developer, and you've managed to avoid JavaScript thus far, congratulations. I hope you've been spending your time wisely, and not learning Visual Basic for Applications, or Perl4, or PHP/FI, or any other language that has been replaced by more robust versions. I hope you haven't been learning a slew of proprietary APIs for extinct large-scale content management systems, or non-web software. If you're an Intranet developer, or otherwise inside the firewall, I hope you haven't spent too much time learning proprietary and platform-bound languages such as VBScript. But at any rate, it's not too late to take advantage of JavaScript. Here are a few reason why you might want to learn it now:
Okay, okay -- so I've convinced you that JavaScript is worth learning. So what now? How do I go about learning JavaScript?First, decide what you want to use JavaScript for. Do you want to enhance traditional web sites? Do you want to provide enhanced functionality to server-driven web applications? Do you want your applications to run almost entirely on the client? What are your intentions with respect to using JavaScript and/or Dynamic HTML? Are you a designer or HTML production genius who wants to expand your capabilities? Are you a traditional developer wishing to build reusable components? Or are you the latest hire at a venture-funded startup who has realized that the JavaScript team gets all the glory? Regardless of what you want (or need) to do with JavaScript, there are resources for you. If you're the sort who learns best by example and take pride in your ability to decipher code, start by viewing source on some of your favorite JavaScript-enabled sites. If the JavaScript is referenced by If your browsing platform of choice is Navigator, use the "view-source:" pseudo-protocol as a prefix to the URL you created from the SRC value, to display the source. If you're on Unix/Linux, you can use the "lynx" text-mode browser to capture web files to local disk (use the If you're the sort who needs a more tutorial-oriented approach, there are many web sites that offer tutorials on JavaScript, from entry-level through advanced JavaScript and Dynamic HTML using the W3C DOM. In addition, there are several dozen books covering JavaScript and Dynamic HTML, although many DHTML books assume a basic knowledge of JavaScript, HTML, and Cascading Style Sheets. Be sure to check the publication dates and browser coverage, and ensure that the book you choose covers the versions of the browsers you need it to. Also check to see if the book has a companion web site or mailing list for further discussions of the technologies. Once you've had a chance to dig in a bit, find a forum suitable to your tastes (whether Usenet newsgroup, BBS, mailing list or digest, or even chat) and start asking questions. Some forums have more stringent conventions with respect to the amount of work you are expected to have done on your own before asking for help, but most, if not all, expect you to provide a useful level of detail regarding your problem or question. A frequent question on Webdesign-L, the mailing list that I run, involves the appropriate toolset for developers (whether handling loose markup, XML, Perl, JavaScript, or ColdFusion). In our next article, we will discuss what to look for in a development environment, and how to go about choosing the rest of your toolset when developing with JavaScript. Steve Champeon is a recognized developer, author, and editor specializing in Web technologies. At his "day job," he serves as the CTO of hesketh.com, a Web services firm in Raleigh, NC. Return to the JavaScript and CSS DevCenter. Showing messages 1 through 6 of 6.
|
|
|
|
|
||||||||
I highly recommend learning javascript to any serious web developer.
I learned it by example, back in the early days of the Net were good tutorials were hard to find.
Everytime I came across something done in javascript
I dissected every line of code trying to find out how they did it.
GUI API's and Libraries were very important in this process. Projects like DynAPI that implement a series of cross browser DHTML objects were the cornerstone of my learning, because they showed how things could be done, cross-browser and with efficient and well written code.
Nowadays I work mainly with DOM JavaScript, usually trying to do as much as I can client-side to simplify the tasks I have to do server-side, and mainly because I don't have to force the user to constantly reload to do any simple task.
Give it a try, with perseverance you'll find Javascript a very very useful tool.