Blog post by Alex Sexton
https://alexsexton.com/blog/2010/02/using-inheritance-patterns-to-organize-large-jquery-applications/
This private blog solely depicts (IMHO) the "Visual Studio 2013 SPA template" that is focussed on Single Page Application web development using JavaScript, JQuery, knockout.js on the client side and WEB.API in conjunction with OWIN cookie authentication middleware on the server side. (All diagrams / images by author, all Information for illustration use only). Unfortunately the author did dissecting with a DE localized VS2013 Ultimate evaluation edition. I'm so sorry about that !
Mittwoch, 5. März 2014
Quote: Script Loader RequireJS and curl.js
Addy Osmani:
"There are a number of great loaders for handling module loading in the AMD and CommonJS formats, but my personal preferences are RequireJS and curl.js. Complete tutorials on these tools are outside the scope of this book, but I can recommend reading John Hann's article about curl.js and James Burke's RequireJS API documentation for more."
http://msdn.microsoft.com/en-us/magazine/hh227261.aspx
Source: http://addyosmani.com/resources/essentialjsdesignpatterns/book/#modularjavascript
"There are a number of great loaders for handling module loading in the AMD and CommonJS formats, but my personal preferences are RequireJS and curl.js. Complete tutorials on these tools are outside the scope of this book, but I can recommend reading John Hann's article about curl.js and James Burke's RequireJS API documentation for more."
http://msdn.microsoft.com/en-us/magazine/hh227261.aspx
Source: http://addyosmani.com/resources/essentialjsdesignpatterns/book/#modularjavascript
Quote: Developers fall back on variations of the module or object literal
Addy Osmani:
"Unlike some more traditional programming languages however, the current iteration of JavaScript (ECMA-262) doesn't provide developers with the means to import such modules of code in a clean, organized manner. It's one of the concerns with specifications that haven't required great thought until more recent years where the need for more organized JavaScript applications became apparent.
Instead, developers at present are left to fall back on variations of the module or object literal patterns, which we covered earlier in the book. With many of these, module scripts are strung together in the DOM with namespaces being described by a single global object where it's still possible to incur naming collisions in our architecture. There's also no clean way to handle dependency management without some manual effort or third party tools."
Quote: backbone.js vs. knockout.js
Addy Osmani:
"To conclude, I personally find KnockoutJS more suitable for smaller applications whilst Backbone’s feature set really shines when building anything non-trivial. That said, many developers have used both frameworks to write applications of varying complexity and I recommend trying out both at a smaller scale before making a decision on which might work best for your Project."
Source: http://addyosmani.com/resources/essentialjsdesignpatterns/book/#detailmvvm
"To conclude, I personally find KnockoutJS more suitable for smaller applications whilst Backbone’s feature set really shines when building anything non-trivial. That said, many developers have used both frameworks to write applications of varying complexity and I recommend trying out both at a smaller scale before making a decision on which might work best for your Project."
Source: http://addyosmani.com/resources/essentialjsdesignpatterns/book/#detailmvvm
Montag, 3. März 2014
Template JS: No .prototype - signature found in VS2013 SPA template
A check against the so called constructor pattern results in no ".prototype" hits concerning the VS2013 SPA template JS codebase.
Abonnieren
Posts (Atom)
