Dart Cookbook. (2014)
- Record Type:
- Book
- Title:
- Dart Cookbook. (2014)
- Main Title:
- Dart Cookbook
- Further Information:
- Note: Ivo Balbaert.
- Authors:
- Balbaert, Ivo
- Contents:
- Cover; 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. Getting 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. Strings 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 convertingCover; 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. Getting 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. Strings 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. Creating 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. Chapter 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. … (more)
- Publisher Details:
- Birmingham : Packt Publishing
- Publication Date:
- 2014
- Extent:
- 1 online resource (iv, 331 pages), illustrations
- Subjects:
- 005.268
COMPUTERS -- Internet -- Application Development
Programming languages (Electronic computers)
Web site development
Application software -- Development
Web sites -- Design
Application software -- Design
Application software -- Development
HTML (Document markup language)
Java (Computer program language)
Application software -- Development
Programming languages (Electronic computers)
Web site development
Web sites -- Design
COMPUTERS -- Programming -- Object Oriented
Electronic books - Languages:
- English
- ISBNs:
- 9781783989638
1783989637
9781783989621
1783989629 - Notes:
- Note: Print version record.
- Access Rights:
- Legal Deposit; Only available on premises controlled by the deposit library and to one user at any one time; The Legal Deposit Libraries (Non-Print Works) Regulations (UK).
- Access Usage:
- Restricted: Printing from this resource is governed by The Legal Deposit Libraries (Non-Print Works) Regulations (UK) and UK copyright law currently in force.
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library HMNTS - ELD.DS.88093
- Ingest File:
- 01_095.xml