jquery Programming Glossary: crockford
Does jQuery or JavaScript have the concept of classes and objects? http://stackoverflow.com/questions/1073864/does-jquery-or-javascript-have-the-concept-of-classes-and-objects if I remember correctly the context in which Douglas Crockford mentioned this . Anyway this prototype concept is associated..
Learning JavaScript… Should I skip straight to the good stuff (the frameworks)? http://stackoverflow.com/questions/1095682/learning-javascript-should-i-skip-straight-to-the-good-stuff-the-frameworks good idea IMHO. Read JavaScript The Good Parts by Douglas Crockford . Very very good book. You should also check out Douglas Crockford's.. . Very very good book. You should also check out Douglas Crockford's web site . I also had to come back here and mention this in.. to come back here and mention this in an update Douglas Crockford presented an illuminating talk about JavaScript past present..
jQuery single quote in JSON response http://stackoverflow.com/questions/2275359/jquery-single-quote-in-json-response More information for those that are interested Douglas Crockford does not specifically say why the JSON specification does not.. in the formal specification. Digging a little bit deeper Crockford's org.json implementation of JSON for Java is more permissible..
JSON stringify missing from jQuery 1.4.1? http://stackoverflow.com/questions/2277405/json-stringify-missing-from-jquery-1-4-1 support it but otherwise am forced to fall back to using Crockford's JSON scripts. Is there some built in with jQuery that handles.. JSON encoding and decoding that takes the place of the Crockford scripts jquery json encode decode share improve this question..
Currency Math in JavaScript http://stackoverflow.com/questions/2556338/currency-math-in-javascript when the values are rendered to the browser. 1 Douglas Crockford JavaScript The Good Parts Appendix A Awful Parts page 105 ...
Client-side javascript to support promises, futures, etc http://stackoverflow.com/questions/3249646/client-side-javascript-to-support-promises-futures-etc Deferreds but the Sitepen article points out flaws Douglas Crockford talks about Promises but I can't locate his implementation Any.. 3K minified and gzipped I started with the snippets from Crockford's slides . Here's the original unadultered implementation ...
Best way to convert string to array of object in javascript? http://stackoverflow.com/questions/3473639/best-way-to-convert-string-to-array-of-object-in-javascript I think that the best way of doing this as Douglas Crockford one of the biggests gurus of JavaScript suggests in here is.. Safari Safari 4.0.3 Chrome don't know which version And Crockford has made a safe fallback in javascript called json2.js which..
jquery json to string? http://stackoverflow.com/questions/3593046/jquery-json-to-string Edit You should use the json2.js library from Douglas Crockford instead of implementing the code below. It provides some extra..
jQuery $(document).ready() failing in IE6 http://stackoverflow.com/questions/463800/jquery-document-ready-failing-in-ie6 semicolon insertion. For further info read Douglas Crockford's Javascript The good parts http www.amazon.com JavaScript Good.. parts http www.amazon.com JavaScript Good Parts Douglas Crockford dp 0596517742 ref sr_1_1 ie UTF8 s books qid 1267108736 sr 1..
What good is JSLint if jQuery fails the validation [closed] http://stackoverflow.com/questions/505251/what-good-is-jslint-if-jquery-fails-the-validation question JSLint tests one particular person's Douglas Crockford opinions regarding what makes good JavaScript code. Crockford.. opinions regarding what makes good JavaScript code. Crockford is very good but some of his opinions are anal retentive at.. being tagged by JSLint in the above output are issues that Crockford feels leads to difficult to maintain code or they are things..
how to wait for an ajax call to return http://stackoverflow.com/questions/7387852/how-to-wait-for-an-ajax-call-to-return interface will block until the request completes. Douglas Crockford once wrote about synchronous requests Synchronous programming..
Is there a [universal] way to invoke a default action after calling event.preventDefault()? http://stackoverflow.com/questions/7732854/is-there-a-universal-way-to-invoke-a-default-action-after-calling-event-preven javascriptCommand function evalLinkJs link Eat it Crockford. eval link.replace ^javascript g I suppose I could start writing..
JavaScript: Adding an onClick handler without overwriting the existing one http://stackoverflow.com/questions/891989/javascript-adding-an-onclick-handler-without-overwriting-the-existing-one
Alternatives to JavaScript eval() for parsing JSON http://stackoverflow.com/questions/945015/alternatives-to-javascript-eval-for-parsing-json JSON will not contain anything nasty. Even Douglas Crockford the author of JSON said that you shouldn't use eval anywhere..
Does jQuery or JavaScript have the concept of classes and objects? http://stackoverflow.com/questions/1073864/does-jquery-or-javascript-have-the-concept-of-classes-and-objects useful aspects one of which may be called parasitic inheritance if I remember correctly the context in which Douglas Crockford mentioned this . Anyway this prototype concept is associated with the concept of prototype chain which is similar to the..
Learning JavaScript… Should I skip straight to the good stuff (the frameworks)? http://stackoverflow.com/questions/1095682/learning-javascript-should-i-skip-straight-to-the-good-stuff-the-frameworks this question Starting with the basics of JavaScript is a good idea IMHO. Read JavaScript The Good Parts by Douglas Crockford . Very very good book. You should also check out Douglas Crockford's web site . I also had to come back here and mention.. IMHO. Read JavaScript The Good Parts by Douglas Crockford . Very very good book. You should also check out Douglas Crockford's web site . I also had to come back here and mention this in an update Douglas Crockford presented an illuminating talk.. also check out Douglas Crockford's web site . I also had to come back here and mention this in an update Douglas Crockford presented an illuminating talk about JavaScript past present future at the Microsoft MIX10 conference earlier this year...
jQuery single quote in JSON response http://stackoverflow.com/questions/2275359/jquery-single-quote-in-json-response Single quote characters do not need to be escaped Update More information for those that are interested Douglas Crockford does not specifically say why the JSON specification does not allow escaped single quotes within strings. However during.. is no need to allow escaping of a single quote character in the formal specification. Digging a little bit deeper Crockford's org.json implementation of JSON for Java is more permissible and does allow single quote characters The texts produced..
JSON stringify missing from jQuery 1.4.1? http://stackoverflow.com/questions/2277405/json-stringify-missing-from-jquery-1-4-1 earlier browsers. I can use it natively in the browsers that support it but otherwise am forced to fall back to using Crockford's JSON scripts. Is there some built in with jQuery that handles JSON encoding and decoding that takes the place of the Crockford.. JSON scripts. Is there some built in with jQuery that handles JSON encoding and decoding that takes the place of the Crockford scripts jquery json encode decode share improve this question You might want to check this out http www.json.org js.html..
Currency Math in JavaScript http://stackoverflow.com/questions/2556338/currency-math-in-javascript
Client-side javascript to support promises, futures, etc http://stackoverflow.com/questions/3249646/client-side-javascript-to-support-promises-futures-etc this one looks pretty good Dojo has a feature called Deferreds but the Sitepen article points out flaws Douglas Crockford talks about Promises but I can't locate his implementation Any others Anyone have experience with any of these and have.. the goal . Docs v2.x obsolete v1.x Development Production 3K minified and gzipped I started with the snippets from Crockford's slides . Here's the original unadultered implementation . As I've run into more issues and have seen what others have..
Best way to convert string to array of object in javascript? http://stackoverflow.com/questions/3473639/best-way-to-convert-string-to-array-of-object-in-javascript arrays literals string literals share improve this question I think that the best way of doing this as Douglas Crockford one of the biggests gurus of JavaScript suggests in here is using the JSON native parser as it is not only faster than the.. parser is already available in Firefox 3.5 IE 8 Opera 10.5 Safari Safari 4.0.3 Chrome don't know which version And Crockford has made a safe fallback in javascript called json2.js which is an adaption of the eval approach with some security bits..
jquery json to string? http://stackoverflow.com/questions/3593046/jquery-json-to-string do this javascript jquery json share improve this question Edit You should use the json2.js library from Douglas Crockford instead of implementing the code below. It provides some extra features and better older browser support. Grab the json2.js..
jQuery $(document).ready() failing in IE6 http://stackoverflow.com/questions/463800/jquery-document-ready-failing-in-ie6 on a new line. This can cause really bad errors due to Javascripts semicolon insertion. For further info read Douglas Crockford's Javascript The good parts http www.amazon.com JavaScript Good Parts Douglas Crockford dp 0596517742 ref sr_1_1 ie UTF8.. For further info read Douglas Crockford's Javascript The good parts http www.amazon.com JavaScript Good Parts Douglas Crockford dp 0596517742 ref sr_1_1 ie UTF8 s books qid 1267108736 sr 1 1 Anyway really hope I didn't upset anyone. Hope you solve..
What good is JSLint if jQuery fails the validation [closed] http://stackoverflow.com/questions/505251/what-good-is-jslint-if-jquery-fails-the-validation and jquery 1.3.1.js javascript jquery share improve this question JSLint tests one particular person's Douglas Crockford opinions regarding what makes good JavaScript code. Crockford is very good but some of his opinions are anal retentive at.. question JSLint tests one particular person's Douglas Crockford opinions regarding what makes good JavaScript code. Crockford is very good but some of his opinions are anal retentive at best like the underscore rule or the use of the increment decrement.. of the increment decrement operators. Many of the issues being tagged by JSLint in the above output are issues that Crockford feels leads to difficult to maintain code or they are things that he feels has led him to doing 'clever' things in the past..
how to wait for an ajax call to return http://stackoverflow.com/questions/7387852/how-to-wait-for-an-ajax-call-to-return backwards as the JS engine and in some browsers the user interface will block until the request completes. Douglas Crockford once wrote about synchronous requests Synchronous programming is disrespectful and should not be employed in applications..
Is there a [universal] way to invoke a default action after calling event.preventDefault()? http://stackoverflow.com/questions/7732854/is-there-a-universal-way-to-invoke-a-default-action-after-calling-event-preven e.currentTarget.attributes.href.nodeValue evalLinkJs javascriptCommand function evalLinkJs link Eat it Crockford. eval link.replace ^javascript g I suppose I could start writing special cases to handle normal links with a window.location..
JavaScript: Adding an onClick handler without overwriting the existing one http://stackoverflow.com/questions/891989/javascript-adding-an-onclick-handler-without-overwriting-the-existing-one
Alternatives to JavaScript eval() for parsing JSON http://stackoverflow.com/questions/945015/alternatives-to-javascript-eval-for-parsing-json a good JSON library on server side that guarantees that generated JSON will not contain anything nasty. Even Douglas Crockford the author of JSON said that you shouldn't use eval anywhere in your code except for parsing JSON. See the corresponding..
|