![]() |
|
Learning Javascript Thread
Please post questions, resources, advice on javascript or related issues in this thread.
myBackground: I'm trying to learn JS, and web languages in general plus more comp sci. I have some experience with html and CSS, less with the latter but am competent, and started learning JS about a month ago. I've read a couple tutorials and started to do courses on www.codecademy.com which im quite deep into now. I'm mostly interested in learning for the purpose of dealing with data more than UI, but would like to be as well rounded as can be. Hopefully those learning can asks questions in this thread and or get practice examples, learning resources or general advice from others. Questions on any libraries or other related topics are obviously welcome. |
Re: Learning Javascript Thread
My question is why go with a client side language instead of a server side language like php? I'll even speculate that a large portion of people disable javascript for their browsers for security reasons and might make your sites be not as functional as you would like for said audience...
|
Re: Learning Javascript Thread
Is there a goto book for JS these days? I wouldn't mind a good introduction because I'm pretty rusty.
|
Re: Learning Javascript Thread
I've been learning javascript and coffeescript simultaneously, and I love coffeescript. I'm also interested in clojurescript, but haven't done anything with it yet.
As for server vs client, I believe people are going end to end with javascript now. I think I'm going to use node.js + express.js + coffeescript for my current project. Of course, there are other frameworks out there. As for books, http://eloquentjavascript.net/ is interesting, though I don't know that it's the go to book. Also, I remember some difficulty when jumping around as it's not alway clear which functions are built in and which are developed earlier in the book. |
Re: Learning Javascript Thread
Quote:
http://shop.oreilly.com/product/9780...ript-activate# It was awesome back in (omg) 1998! when I got my 3rd edition, will be much more awesome now imo in the current html5 6th edition:) |
Re: Learning Javascript Thread
Quote:
For me im also managing a process that utilizes a ton of javascript and dont like a huge discrepancy in knowledge between me and the developers for communication and oversight reasons. |
Re: Learning Javascript Thread
JavaScript is evolving very quickly at the moment and has a big future. Currently JavaScript developers are in very high demand.
I would NOT recommend learning JavaScript from books. The core syntax of JavaScript is actually not very complicated and you dont need a book to teach you. The crux of what you will need to learn to become a desirable developer is the ability to work with libraries such as jQuery and web frameworks (too many to name). These you will learn through practice, and any book you buy will be out of date by the time it arrives on your doorstep. Think up some small projects that you will find useful. A todo list, a reminder application, a mailing list, a system to start and stop AWS server instances by sending SMS messages via a JavaScript API to a NodeJS application. Whatever floats you boat. Implement these ideas using JavaScript and you fill find you learn very quickly. A few resources to help you out
|
Re: Learning Javascript Thread
Thanks for the response to my question, didn't know it was getting big!
Anyway I recommend these video tutorials for javascript: http://www.youtube.com/watch?v=yQaAGmHNn9s He has a lot of video tutorials for other languages that are very useful to get your feet wet. |
Re: Learning Javascript Thread
Code Academy is a great start for JS imo
ahh Wooster said it already, lame! |
Re: Learning Javascript Thread
Quote:
|
Re: Learning Javascript Thread
Quote:
Just interested what you mean by lesson quality not great. I just tooled around with it for a bit once, but it seemed like a good starting point. |
Re: Learning Javascript Thread
I can recommend two books about javascript
The first is Javascript 24-Hour Trainer -The third chapter about functions was the most useful The other is Javascript: The Good Parts by Douglas Crockford, the developer of JSON -This is more a history, basic syntax, and logic of the language but on the whole a worthwhile read It's also worth watching the video series from yahoo I mostly use javascript for working with couchdb, writing mapreduce queries on JSON databases,developing vizualizations with libraries like d3.js, and google map scripting. |
Re: Learning Javascript Thread
Quote:
The lessons are also easy to trick in the sense that its not designed enough to ensure you really get it before you move on so quickly. All this said its still great, these are just a few of the drawbacks. Some of them aren't so bad either cuz its good to not just trust everything and it sort of forces you to do some research and investigaiton. |
Re: Learning Javascript Thread
Well that all makes it sound rather crummy lol. Maybe Ill stop recommending it for people
|
Re: Learning Javascript Thread
Thx _dave_ I used an old version of that one as well so I'll just get the latest if I ever want to improve my JS. And/or I guess I'll do the codeacademy.
|
Re: Learning Javascript Thread
If anyone here is at a proficient level it would be great if they'd volunteer to maybe post a project or task for some of to try and tackle as a learning experience.
|
Re: Learning Javascript Thread
Quote:
|
Re: Learning Javascript Thread
Quote:
|
Re: Learning Javascript Thread
Quote:
In all likelihood it will be a very limited version of blackback, but i'll take a stab nonetheless, and post progress in case anyone wants to join in. |
Re: Learning Javascript Thread
imo a text-based version can be done on a single page of code. the completeness of the app depends on how far you want to go with it, which is why i think it's an excellent project suggestion.
for example, a poor man's deck: Code:
var deck = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 10, 10, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 10, 10, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 10, 10, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 10, 10, 10].sort(function(a, b) { return 0.5 - Math.random(); });if you want to go beyond one page, you could improve on this with better shuffling, distinct cards, betting, splitting, multiple players, graphics, etc. |
Re: Learning Javascript Thread
oops, change the 1's to 11's - i meant sum == 21 obv.
|
Re: Learning Javascript Thread
I think a blackjack game is a great idea. I wrote a very limited version in Monkey (a proprietary language that target javascript) a couple of months ago as a demo. I had the card graphics laying around already and it only has hit/stand options, but then, it only took a week, so I think it's a good size for a practice project. It was about 350 lines in Monkey. I don't have it up anywhere at the moment, but I've been meaning to put it up.
I'm be tempted to rewrite it in Coffeescript to see how much faster I could get it done. |
Re: Learning Javascript Thread
If you're not going to be programming games is there any reason to get into javascript beyond playing around with jquery for various design purposes? The whole anonymous function thing and language in general seemed very odd to me coming from python, php and a bit of C.
|
Re: Learning Javascript Thread
Quote:
phones aren't getting any less powerful and esp with firefox os coming, learning javascript as any kind of web developer seems like a no-brainer to me. |
Re: Learning Javascript Thread
[CODE] tags for code [/CODE] [QUOTE] tags for quotes [/QUOTE] :) |
| All times are GMT -4. The time now is 03:17 AM. |
|
Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright © 2008-2020, Two Plus Two Interactive