Modern Javascript : develop and design /

Ullman, Larry.

Modern Javascript : develop and design / Larry Ullman - Berkeley, California : Peachpit Press, c2012 - xii, 611 pages : illustrations ; 24 cm.

Includes index.

IntroductionAbout This BookWhat You'll NeedAbout the AuthorGetting Support Part 1: Getting Started Chapter 1: (Re-)Introducing JavaScriptWhat is JavaScript?JavaScript Versions and Browser SupportJavaScript Programming Goals Chapter 2: JavaScript in ActionChoosing a DOCTYPEIntroducing HTML5Embedding JavaScript in HTMLJavaScript ApproachesCobbling Together Some CodeA Framework ApproachSteal This JavaScript Chapter 3: Tools of the TradeThe Great Debate: Text Editors vs. IDEsThe Browser: Your Friend, Your EnemyExecuting JavaScriptDebugging FundamentalsOnline Resources Part 2: JavaScript Fundamentals Chapter 4: Simple Variable TypesBasic Variable SyntaxCommon OperatorsWorking with NumbersWorking with StringsOther Simple TypesPerforming Type ConversionsGenerating Dates and Times Chapter 5: Using Control StructuresConditionalsWhat is true?Logical OperatorsComparison OperatorsPreventing BugsPerforming Iterations Chapter 6: Complex Variable TypesWorking with ArraysWorking with ObjectsArrays as ObjectsComparing Types Chapter 7: Creating FunctionsDefining Your Own FunctionsPassing Values to FunctionsReturning Values from FunctionsUnderstanding Variable ScopeAnonymous FunctionsNested FunctionsFunctions Acting as ClassesFunction PrototypesNested Functions Chapter 8: Event HandlingEvent PhasesBrowser EventsKeyboard EventsInput Device EventsAccessible EventsAssigning Event HandlersCreating an Event AssignerReferencing the EventPreventing Default Event Behavior Chapter 9: JavaScript and the BrowserDOM ManipulationJavaScript and CSSAlerts and PromptsThe Window Chapter 10: Working with FormsHandling Form SubmissionsForm ValidationUsing Regular ExpressionsHandling File Uploads Chapter 11: AjaxUnderstanding AjaxProviding Dynamic ContentForm ValidationAjax Performance TipsWorking with Other Data Chapter 12: Error ManagementSimple Debugging ErrorsHandling Problems GracefullyCreating Informative ErrorsCreating Useful ErrorsThrowing Exceptions Part 3: Next Steps Chapter 13: FrameworksChoosing a FrameworkIntroducing jQueryIntroducing ExtJSIntroducing YUI Chapter 14: Advanced JavaScriptUnit TestingProfilingClosuresPrototypesNamespacesMinifying Chapter 15: Putting It All Together

It’s time for a current, definitive JavaScript book, and in this comprehensive beginner’s guide, bestselling author Larry Ullman teaches the language as it is implemented today. Larry demonstrates how to build upon JavaScript’s ease of use, while demystifying its often-cryptic syntax, especially for those who have not programmed before. This book enforces modern JavaScript’s best practices and embraces key Web development approaches such as progressive enhancement and unobtrusive scripting. The author demonstrates loads of real-world code and makes it available for download. You’ll learn about JavaScript itself and the relationship between JavaScript and HTML. Next you’ll explore variables, common operators, and control structures. Then you’ll create functions, handle events, and do more with HTML forms. You’ll master Ajax, work with frameworks, and use JavaScript with PHP to create a complete example. The result is a book that helps you not just tinker with JavaScript but to thoroughly comprehend it.

9780321812520


JAVASCRIPT (COMPUTER PROGRAM LANGUAGE)

QA 76.73.J39 .U45 2012