Jump to content

Recommended Posts

If you work your way through w3c tutorials you will get the basics. I find it quite handy  to refer to if I can't remeber syntax

 

http://www.w3schools.com/JS/default.asp

 

Also you can have a look at some frameworks like

 

http://script.aculo.us/

 

Using these makes programming much easier. Hope this helps

Link to comment
https://forums.phpfreaks.com/topic/117292-javascript-resources/#findComment-603366
Share on other sites

best way to learn it is by just trying out some javascript tutorials which involve javascript DOM and Ajax. avoiding the frameworks for learning purposes would be a good idea but once you get the hang of it useing a framework would be a good idea to safe your self a lot of time and frusteration.

 

for example typing

$('content_div')

//instead of
document.getElementById('content_div');

//or even better

//ajax action
$('ajax_content').load('ajax_call.php');

really makes things a lot easier

Link to comment
https://forums.phpfreaks.com/topic/117292-javascript-resources/#findComment-603397
Share on other sites

@cleary - I'll definitely look at it.

@Dj Kat - I've got most of the DOM stuff down, It's more the more advanced stuff that I am looking to learn.  And I defiantly agree about the framework, however I don't like to be dependent on other peoples code, which is why even in PHP I refuse to use the frameworks.

Link to comment
https://forums.phpfreaks.com/topic/117292-javascript-resources/#findComment-603496
Share on other sites

@cleary - I'll definitely look at it.

@Dj Kat - I've got most of the DOM stuff down, It's more the more advanced stuff that I am looking to learn.  And I defiantly agree about the framework, however I don't like to be dependent on other peoples code, which is why even in PHP I refuse to use the frameworks.

 

I used to feel the same way.  There's no real logical reason for that general feeling, though.  In fact, there's a term for it -- Not Invented Here (http://en.wikipedia.org/wiki/Not_Invented_Here).

 

Frameworks/libraries exist so you can be more productive.  Why reinvent the wheel when someone else already has developed efficient, flexable code that can handle the low-level stuff?  Regarding JavaScript, jQuery(http://docs.jquery.com/Main_Page) is an example of a framework done right.  It's lightweight, powerful, and makes coding a lot easier.

 

Now, this isn't to say that 'rolling your own' would be a useless endeavor.  Even if your own framework isn't as efficient as one of the professional ones, what you learn in creating one is invaluable.  Similarly, there are plenty of 3rd party libraries that aren't so hot, so you shouldn't assume that all 3rd party code is wonderful.  Still, with that said, you won't lose street cred if you decide to use jQuery, or Prototype, or any of the other good ones.

Link to comment
https://forums.phpfreaks.com/topic/117292-javascript-resources/#findComment-603509
Share on other sites

other then that using frameworks makes your javascript code a lot cleaner and programming OO looks more like you would in php. Strange i havent used any php framework yet I'm still debating about using either Zend or cakePHP . but thats offtopic from this. back to your topic what would you concider advanced javascript?

Link to comment
https://forums.phpfreaks.com/topic/117292-javascript-resources/#findComment-603654
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.