Details

Professional AngularJS


Professional AngularJS


1. Aufl.

von: Valeri Karpov, Diego Netto

34,99 €

Verlag: Wiley
Format: EPUB
Veröffentl.: 17.04.2015
ISBN/EAN: 9781118832080
Sprache: englisch
Anzahl Seiten: 408

DRM-geschütztes eBook, Sie benötigen z.B. Adobe Digital Editions und eine Adobe ID zum Lesen.

Beschreibungen

<b>A comprehensive guide to AngularJS, Google's open-source client-side framework for app development.<br /> <br /> </b> Most of the existing guides to AngularJS struggle to provide simple and understandable explanations for more advanced concepts. As a result, some developers who understand all the basic concepts of AngularJS struggle when it comes to building more complex real-world applications. <i>Professional AngularJS</i> provides a thorough understanding of AngularJS, covering everything from basic concepts, such as directives and data binding, to more advanced concepts like transclusion, build systems, and automated integration testing. In addition to explaining the features of AngularJS, this book distills real-world experience on how these features fit together to enable teams to work together more effectively in building extraordinary apps.<br /> <br /> <ul> <li>Offers a more thorough and comprehensive approach to AngularJS </li> <li>Includes pointers to other advanced topics</li> <li>Lets you build a simple application from scratch, explaining basic building blocks along the way for quick hands-on learning</li> </ul>
<p>INTRODUCTION xxv</p> <p><b>CHAPTER 1: BUILDING A SIMPLE ANGULARJS APPLICATION 1</b></p> <p>What You Are Building 1</p> <p>What You Will Learn 3</p> <p>Step 1: Scaffolding Your Project with Yeoman 4</p> <p>Step 2: Creating Watchlists 9</p> <p>Step 3: Configuring Client-Side Routing 19</p> <p>Step 4: Creating a Navigation Bar 23</p> <p>Step 5: Adding Stocks 26</p> <p>Step 6: Integrating with Yahoo Finance 32</p> <p>Step 7: Creating the Stock Table 36</p> <p>Step 8: Inline Form Editing 40</p> <p>Step 9: Formatting Currency 44</p> <p>Step 10: Animating Price Changes 46</p> <p>Step 11: Creating the Dashboard 49</p> <p>Production Deployment 53</p> <p><b>CHAPTER 2: INTELLIGENT WORKFLOW AND BUILD TOOLS 57</b></p> <p>What Can Tooling Do for Me? 57</p> <p>What Is Bower? 58</p> <p>What Is Grunt? 60</p> <p>What Is Gulp? 73</p> <p>What Is Yeoman? 84</p> <p><b>CHAPTER 3: ARCHITECTURE 95</b></p> <p>Why Is Architecture Important? 95</p> <p>Controllers, Services, and Directives 96</p> <p>The ModelService Paradigm 102</p> <p>Exposing API Using Controllers 108</p> <p>Organizing Your Code with Modules 109</p> <p>Directory Structure 113</p> <p>Best Practices for Structuring User Authentication 127</p> <p><b>CHAPTER 4: DATA BINDING 131</b></p> <p>What Is Data Binding? 131</p> <p>What Data Binding Can Do for You 134</p> <p><b>CHAPTER 5: DIRECTIVES 157</b></p> <p>What Is a Directive? 157</p> <p>A Deeper Understanding of Directives 167</p> <p>Changing Directive Templates at Runtime 179</p> <p><b>CHAPTER 6: TEMPLATES, LOCATION, AND ROUTING 185</b></p> <p>Part I: Templates 187</p> <p>Part II: The $location Service 196</p> <p>Part III: Routing 200</p> <p><b>CHAPTER 7: SERVICES, FACTORIES, AND PROVIDERS 217</b></p> <p>A Brief Overview of Dependency Injection 218</p> <p>Building Your Own Services 221</p> <p>Common Use Cases for Services 232</p> <p>Utilizing Built-In Providers 236</p> <p><b>CHAPTER 8: SERVER COMMUNICATION 243</b></p> <p>Why Will I Learn? 243</p> <p>Introduction to Promises 244</p> <p>Services for HTTP Requests 246</p> <p>Consuming the Twitter REST API 262</p> <p>Scaffolding a REST API with StrongLoop LoopBack 264</p> <p>Using Web Sockets with AngularJS 270</p> <p>Using Firebase with AngularJS 273</p> <p><b>CHAPTER 9: TESTING AND DEBUGGING ANGULARJS APPLICATIONS 277</b></p> <p>AngularJS Testing Philosophy 277</p> <p>DOM Integration Tests 292</p> <p>Debugging AngularJS Apps 309</p> <p><b>CHAPTER 10: MOVING ON 315</b></p> <p>Using Angular-UI Bootstrap 316</p> <p>Hybrid Mobile Apps with the Ionic Framework 325</p> <p>Integrating Open Source JavaScript with AngularJS 331</p> <p>AngularJS and ECMAScript 6 341</p> <p>Conclusion 343</p> <p>APPENDIX: RESOURCES 345</p> <p>INDEX 347</p>
<p><b>About the authors</b> <p><b>Valeri Karpov</b> is a NodeJS Engineer for MongoDB and maintains numerous MongoDB-related open-source JavaScript modules. He's been developing AngularJS applications since 2010, including MongoDB's internal continuous integration framework and BookaLokal's mobile site. <p><b>Diego Netto</b> is a software consultant and open source evangelist. Founder of an independent consultancy agency, Diego helps startups and enterprise companies leverage the power of open source technologies to deliver intuitive products. <p>Visit us at wrox.com where you have access to free code samples, Programmer to Programmer forums, and discussions on the latest happenings in the industry from around the world.
<p><b>Your comprehensive guide to coding complex apps with AngularJS</b> <p>It's an exciting time to be a web developer—and JavaScript language skills are in very high demand. AngularJS is quickly becoming the leading next-generation client-side web framework, enabling individuals, small teams, and large corporations to build and test phenomenally sophisticated browser-based applications. <p><i>Professional AngularJS</i> covers everything from building your first AngularJs application to more advanced topics, like transclusion, build systems, and automated integration testing. If you have basic programming knowledge and want to write web apps that display complex data in a browser UI or mobile web apps that are fast and effectively mimic native applications, this is the indispensable guide you'll turn to again and again. <p><i>Professional AngularJS:</i> <ul> <li>Lets you build a simple application, www.stockdog.io, from scratch explaining basic building blocks along the way for quick and easy hands-on learning</il> <li>Takes a close look at advanced ways of binding data to templates in AngularJS</il> <li>Explains AngularJS architecture and demonstrates how it fits together</il> <li>Details the difference between services, factories, and providers—and tells you when to use what</il> <li>Covers the techniques available for testing and debugging AngularJS applications</il> <li>Demonstrates many popular tools used with AngularJS including Yeoman, RequireJS, Browserify, Mocha, Jasmine, Bootstrap, Ionic, Moment, and Mongoose.</il> </ul>

Diese Produkte könnten Sie auch interessieren:

AutoCAD 2013 For Dummies
AutoCAD 2013 For Dummies
von: Bill Fane, David Byrnes
PDF ebook
23,99 €
IBM Workplace Services Express For Dummies
IBM Workplace Services Express For Dummies
von: Stephen R. Londergan, Michael Loria
PDF ebook
16,99 €
Building Flash Web Sites For Dummies
Building Flash Web Sites For Dummies
von: Doug Sahlin
PDF ebook
18,99 €