3 ms·
I found a lot of the copy on the site was geared toward people very familiar with javascript and js frameworks, and that a lot of assumptions were made about th
by dmix 18y ago
I found a lot of the copy on the site was geared toward people very familiar with javascript and js frameworks, and that a lot of assumptions were made about the skill level of your visitors.
I have been doing web app dev for quite a while now and never took time to learn javascript outside of using tutorials and jquery.
What are the requirements or good-to-knows before beginning to learn objective-j? Also, more tutorials on working with rails would be nice.
- tlrobinson 18y agoSince Objective-J is JavaScript (plus a few features) then by learning one you'll learn a good portion of the other. All JavaScript code is valid in Objective-J, but typically you won't use the prototypal inheritance stuff, since Objective-J adds classical inheritance (which is entirely what Cappuccino uses). Likewise, a large portion of the Objective-J language is just JavaScript (all of the operators, variables semantics, built in types and functions, etc). The major additions are code importing (@import <FrameworkName/FileName.j> or @import "relativePath/FileName.j"), class definitions (the "@implemention" keyword and method declarations like "-(ReturnType)methodName:(ArgumentType)argument"), and method calls/message sending ("[myObject methodName:argument]") My suggestion for learning Objective-J would be to pick up Crockford's book, "JavaScript: The Good Parts", and skip the parts about inheritance (unless you also want to learn that). It's a short book anyway. The nice thing about this particular book for learning Objective-J is it only covers the language, not the browser's APIs like the DOM, which you should never really need to know when using Cappuccino. (though I would recommend "JavaScript: The Definitive Guide", aka "The Rhino Book", as well to anyone doing JavaScript in browsers) Once you have a feel for the core of the JavaScript language then it's just a few more syntax additions for the main features of Objective-J I listed above.