LEADER 05050nam 2200625 450 001 9910460078303321 005 20200520144314.0 010 $a1-78398-963-7 035 $a(CKB)3710000000268235 035 $a(EBL)1825959 035 $a(SSID)ssj0001408798 035 $a(PQKBManifestationID)11835485 035 $a(PQKBTitleCode)TC0001408798 035 $a(PQKBWorkID)11354361 035 $a(PQKB)11311690 035 $a(MiAaPQ)EBC1825959 035 $a(PPN)228047323 035 $a(Au-PeEL)EBL1825959 035 $a(CaPaEBR)ebr10962325 035 $a(CaONFJC)MIL654179 035 $a(OCoLC)894171178 035 $a(EXLCZ)993710000000268235 100 $a20141127d2014 uy| 0 101 0 $aeng 135 $aur|n|---||||| 181 $ctxt 182 $cc 183 $acr 200 10$aDart cookbook $eover 110 incredibly effective, useful, and hands-on recipes to design Dart web client and server applications /$fIvo Balbaert 210 1$aBirmingham :$cPackt Publishing,$d2014. 215 $a1 online resource (346 p.) 225 0 $aQuick answers to common problems 300 $aIncludes index. 311 $a1-322-22899-X 311 $a1-78398-962-9 327 $aCover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Working with Dart Tools; Introduction; Configuring the Dart environment; Setting up the checked and production modes; Rapid Dart Editor troubleshooting; Hosting your own private pub mirror; Using Sublime Text 2 as an IDE; Compiling your app to JavaScript; Debugging your app in JavaScript for Chrome; Using the command-line tools; Solving problems when pub get fails; Shrinking the size of your app; Making a system call; Using snapshotting 327 $aGetting information from the operating systemChapter 2: Structuring, Testing, and Deploying an Application; Introduction; Exiting from an app; Parsing command-line arguments; Structuring an application; Using a library from within your app; Microtesting your code with assert; Unit testing a polymer web app; Adding logging to your app; Documenting your app; Profiling and benchmarking your app; Publishing and deploying your app; Using different settings in checked and production mode; Chapter 3: Working with Data Types; Introduction; Concatenating strings; Using regular expressions 327 $aStrings and UnicodeUsing complex numbers; Creating an enum; Flattening a list; Generating a random number within a range; Getting a random element from a list; Working with dates and times; Improving performance in numerical computations; Using SIMD for enhanced performance; Chapter 4: Object Orientation; Introduction; Testing and converting types; Comparing two objects; Using a factory constructor; Building a singleton; Using reflection; Using mixins; Using annotations; Using the call method; Using noSuchMethod; Making toJSON and fromJSON methods in your class 327 $aCreating common classes for client and server appsChapter 5: Handling Web Applications; Introduction; Responsive design; Sanitizing HTML; Using a browser's local storage; Using application cache to work offline; Preventing an onSubmit event from reloading the page; Dynamically inserting rows in an HTML table; Using CORS headers; Using keyboard events; Enabling drag-and-drop; Enabling touch events; Creating a Chrome app; Structuring a game project; Using WebGL in your app; Authorizing OAuth2 to Google services; Talking with JavaScript; Using JavaScript libraries 327 $aChapter 6: Working with Files and StreamsIntroduction; Reading and processing a file line by line; Writing to a file; Searching in a file; Concatenating files; Downloading a file; Working with blobs; Transforming streams; Chapter 7: Working with Web Servers; Introduction; Creating a web server; Posting JSON formatted data; Receiving data on the web server; Serving files with http_server; Using sockets; Using WebSockets; Using secure sockets and servers; Using a JSON web service; Chapter 8: Working with Futures, Tasks, and Isolates; Introduction; Writing a game loop 327 $aError-handling with Futures 330 $aIf you are a Dart developer looking to sharpen your skills, and get insight and tips on how to put that knowledge into practice, then this book is for you. You should also have a basic knowledge of HTML, and how web applications with browser clients and servers work, in order to build dynamic Dart applications. 517 3 $aDart cookbook :$eover one hundred ten incredibly effective, useful, and hands-on recipes to design Dart web client and server applications 606 $aProgramming language (Electronic computers) 608 $aElectronic books. 615 0$aProgramming language (Electronic computers) 676 $a005.268 700 $aBalbaert$b Ivo$0898566 801 0$bMiAaPQ 801 1$bMiAaPQ 801 2$bMiAaPQ 906 $aBOOK 912 $a9910460078303321 996 $aDart cookbook$92288077 997 $aUNINA