Jamiil said:
I am not a programmer by any means, but a dedicated aficionado. I have
good understanding of Java and C/C++, and now I would like to learn
javascript->ajax, but I don't know where to start. My HTML knowledge is
basic, however, with a little bit of an effort I can program a small
page.
Can anyone recommend a good beginner's book on JavaScript?
If you know some other languages then you can probably read JavaScript:
The Definitive Guide from O'Reilly quite easily. I have this book open
on my desk often and although it isn't great, I find it is a good place
to browse and start looking before asking here. Unfortunately
object-oriented JavaScript is not handled very well in this book. One
link you might want to keep in mind when your Java/C++ class oriented
thinking gets frustrated with prototype based inheritance is
http://www.kevlindev.com/tutorials/javascript/inheritance/index.htm
After you learn the basics you might want to check out the menus
chapter of the following book to learn about non-intrusive JavaScript
using listeners and dom scripting. There are a lot of good ideas in the
chapter but the actual code is not so great.
http://www.sitepoint.com/books/dhtml1/
When you are ready for JavaScript libraries (ajax and others) check out
http://developer.yahoo.com/yui/index.html
http://www.ajaxtoolbox.com/
mochikit, dojo, prototype.js and scriptaculous are others.
Like Randy said there isn't a good book and this group has been very
good to me when I start to go beyond what I have found in books.
Please, bear in mind that it is my intention to learn to program server
and client side, thus the question, should I learn Perl, CGI or any
other language as well?
Learn Ruby on Rails for server side stuff. I learned PHP first and
although it helped me learn a bunch of things I am very glad I don't
have to use it any more. Ruby is a scripting language and Rails is a
web app framework. Ruby on Rails is great and it is the future for a
large chunk of web applications. It is award winning, gaining
popularity very quickly and has a highly active mailing list.
http://www.rubyonrails.org/
Get the pdf beta release of this book
http://pragmaticprogrammer.com/titles/rails2/index.html
and this book to learn Ruby (a very cool language)
http://pragmaticprogrammer.com/titles/ruby/index.html
Also check out the HTML and CSS tutorials on
http://www.w3schools.com
and Eric Meyer's book Cascading Style Sheets: The Definitive Guide from
O'Reilly and Bullet Proof Web Design by Dan Cedarholm.
So that is Ruby on Rails for the server and HTML, CSS and JavaScript
for the client.
There is lots to learn.
Good Luck,
Peter