Summary
After reading this chapter, you should:
Understand Base's general feature set
Be able to configure
djConfigto register module paths and be aware of the various other options you can pass into this structure to configure the bootstrap processUnderstand how to use
dojo.addOnLoadanddojo.addOnUnloadfunctions and be aware of howdojo.addOnLoadcan protect you from creating race conditions in your codeBe able to construct and namespace your own modules with
dojo.provideanddojo.requireUnderstand how (and when) to use the
map,filter, andforEachfunctionsKnow the difference between and be able to effectively use
mixinandextendEffectively use Dojo's utilities for manipulating style with
hasClass,removeClass,addClass, andtoggleClassUnderstand the basics of the CSS box model and be able to use functions like
coordsandmarginBoxto manipulate the placement of DOM nodesBe aware of Base's
Arrayprocessing utilitiesBe able to wire up arbitrary connections of
Objectand DOM eventsBe able to manage cookies
Be able to use Core's facilities for managing the back button for a single page app
Next, we'll take a look at event listeners and pub/sub communication.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access