Mastering Dart

If you are an application developer who has experience with Dart and want to develop reusable and robust code in Dart, then this book is for you. You are expected to have a basic knowledge of core elements and applications.

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: Akopkokhyants, Sergey
Format: E-Book
Sprache:Englisch
Veröffentlicht: Birmingham Packt Publishing, Limited 2014
Packt Publishing
Ausgabe:1
Schlagworte:
ISBN:9781783989560, 1783989564
Online-Zugang:Volltext
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Abstract If you are an application developer who has experience with Dart and want to develop reusable and robust code in Dart, then this book is for you. You are expected to have a basic knowledge of core elements and applications.
AbstractList If you are an application developer who has experience with Dart and want to develop reusable and robust code in Dart, then this book is for you. You are expected to have a basic knowledge of core elements and applications.
Starting with a discussion about the basic features of Dart, we will dive into the more complicated concepts such as generics, annotation with reflection, errors and exceptions, which will help us improve our code. Moving on, you will learn how and when to create objects and also advanced techniques that will help you execute asynchronous code. You will also learn about the collection framework and how to communicate with the different programs written in JavaScript using Dart.This book will show you how to add internalization support to your web applications and how i18n and l10n access can be embedded into your code to design applications that can be localized easily. You will be shown how to organize client-to-server communication and how different HTML5 features can be used in Dart. Finally, this book will show you how you can store data locally, break the storage limit, and prevent security issues in your web application.
Author Akopkokhyants, Sergey
Author_xml – sequence: 1
  fullname: Akopkokhyants, Sergey
BookMark eNpNjktLw0AURkd8YFvjb3AnLgLzvjNLjdUWKm50He4kd3w0ZDQT9e8brIKrjw8OhzNnB33qaY_NBTjlnTcg91nhwf19y4_YzHkvtdEAx6zI-ZVzLrTS3psZO73DPNLw0j-dXeMwnrDDiF2m4ncX7PFm-VCtys397bq63JRowZiyNcQtIKJCablVxoW2FRGi9CQaRY0U2vmpwETUHkWwPFIbp5omBK6DWrCLnRfzlr7yc-rGXH92FFLa5vpfP8DEnu_YtyG9f1Ae6x-soX4csKuXV5Vw1gBX6hv-T0iH
ContentType eBook
DEWEY 005.1
DatabaseTitleList

DeliveryMethod fulltext_linktorsrc
Discipline Engineering
Computer Science
EISBN 1783989572
9781783989577
Edition 1
ExternalDocumentID 9781783989577
EBC1865703
GroupedDBID 20A
38.
AABBV
AAFKH
AAKGN
AANYM
AAZEP
AAZGR
ABCYV
ABIWA
ABMRC
ABRSK
ABWNX
ACBYE
ADBND
AECLD
AEHEP
AFQEX
AHWGJ
ALMA_UNASSIGNED_HOLDINGS
ALUEM
APVFW
ATDNW
AVGCG
AZZ
BBABE
BPBUR
BSWCA
CZZ
E2F
EBSCA
GEOUK
J-X
JJU
L7C
MYL
PASLL
PYZUL
QD8
UE6
ACNAM
AFOJC
ID FETCH-LOGICAL-a6755-d5e067aaa3a2606358bdd1f7f29e1c3ec214898395fa49a1b60fedf560cbb04b3
ISBN 9781783989560
1783989564
IngestDate Wed May 21 13:08:05 EDT 2025
Wed Dec 10 11:01:41 EST 2025
IsPeerReviewed false
IsScholarly false
LCCallNum_Ident QA76.73 .D275
Language English
LinkModel OpenURL
MergedId FETCHMERGED-LOGICAL-a6755-d5e067aaa3a2606358bdd1f7f29e1c3ec214898395fa49a1b60fedf560cbb04b3
OCLC 899245477
PQID EBC1865703
PageCount 374
ParticipantIDs askewsholts_vlebooks_9781783989577
proquest_ebookcentral_EBC1865703
PublicationCentury 2000
PublicationDate 2014
2014-11-20
PublicationDateYYYYMMDD 2014-01-01
2014-11-20
PublicationDate_xml – year: 2014
  text: 2014
PublicationDecade 2010
PublicationPlace Birmingham
PublicationPlace_xml – name: Birmingham
PublicationYear 2014
Publisher Packt Publishing, Limited
Packt Publishing
Publisher_xml – name: Packt Publishing, Limited
– name: Packt Publishing
SSID ssj0001434995
Score 1.9407167
Snippet If you are an application developer who has experience with Dart and want to develop reusable and robust code in Dart, then this book is for you. You are...
Starting with a discussion about the basic features of Dart, we will dive into the more complicated concepts such as generics, annotation with reflection,...
SourceID askewsholts
proquest
SourceType Aggregation Database
Publisher
SubjectTerms Application software
Computer programs
Development
Object-oriented programming (Computer science)
Programming
Web applications
TableOfContents The search over collection -- Creating a new collection -- Reducing a collection -- Converting a collection -- Generating a collection -- The Lazy Iterable -- The Iterable interface -- BidirectionalIterator -- The collection classes -- List -- LinkedList -- Set -- HashSet -- LinkedHashSet -- SplayTreeSet -- Queue -- Map -- HashMap -- LinkedHashMap -- SplayTreeMap -- Unmodifiable collections -- The unmodifiable list -- The unmodifiable map -- Choosing the right collection -- Summary -- 7. Dart and JavaScript Interoperation -- Interoperation at a glance -- The dart:js library -- JsObject -- JsFunction -- JsArray -- Type conversion -- Direct type conversion -- Proxy type conversion -- Collection conversion -- JsObject and instantiation -- JsFunction and the this keyword -- Dart with jQuery -- How to create a shortcut to jQuery -- Why does JProxy need a method call? -- How does JProxy invoke jQuery? -- An example project -- How to get the jQuery version -- How to perform actions in jQuery -- How to use effects in jQuery -- What is the impact on performance? -- Summary -- 8. Internalization and Localization -- The key principles -- Executable code versus User Interface -- Numbers and dates -- Messages -- Measuring units and currencies -- Text input and layout -- Formatting date and time -- The Intl library -- Changing a locale -- Formatting numbers -- Formatting dates -- Internalizing messages -- Adding parentheses -- Adding gender -- Adding select -- Creating complex message translations -- Bidirectional formatting -- Internationalizing your web application -- Extracting messages -- Using Google Translator Toolkit -- Using translated messages -- Summary -- 9. Client-to-server Communication -- Communication at a glance -- The Internet protocol stack -- Hypertext Transfer Protocol -- Web server -- Standalone HTTP communication via the dart:io library
Cascade method invocation -- Summary -- 4. Asynchronous Programming -- Call-stack architectures versus event-driven architectures -- Call-stack architectures -- Event-driven architectures -- The Dart VM execution model -- Synchronous versus Asynchronous code -- Future -- Future and Timer -- Future and Microtask -- Sync the Future class -- Future with a value -- Future with an error -- Delaying the Future class -- Zones -- Simple zone example -- Zone nesting -- Zone values -- Zone specifications -- Interaction between zones -- Tracking the zone execution -- Isolates -- Summary -- 5. The Stream Framework -- Why you should use streams -- Single-subscription streams versus broadcast streams -- A single-subscription stream -- A broadcast stream -- An overview of the stream framework API -- The Stream class -- The validation methods of the Stream class -- The search methods of the Stream class -- The subset methods of the Stream class -- Creating a stream -- A new stream from the Future class -- A new stream from the Iterable class -- A new stream with periodically generated events -- A new stream from the transformation pipe -- A new stream from StreamController -- What does the StreamSubscription class do? -- Minimizing access to the Stream class members using StreamView -- The Sink and EventSink interfaces -- Importance of the StreamConsumer interface -- What does the StreamSink class do? -- Transforming streams with the StreamTransformer class -- Traverse streams with StreamIterator -- Summary -- 6. The Collection Framework -- A Dart collection framework -- Ordering of elements -- The Comparable interface -- The Comparator type -- Collections and generics -- The collection class hierarchy -- The Iterable interface -- Properties of the Iterable collection -- Checking the items of a collection on a condition -- The iterate over collection
Standalone HTTP communication via the http package -- Web browser HTTP communication via the dart:html library -- Web browser HTTP communication via the http package -- AJAX polling request -- AJAX long polling request -- Server-Sent Events -- WebSocket -- Summary -- 10. Advanced Storage -- Cookies -- Web Storage -- The Session storage -- The Local storage -- Web SQL -- IndexedDB -- Summary -- 11. Supporting Other HTML5 Features -- The notification APIs -- When to notify -- Preventing repeated notifications -- The native drag-and-drop APIs -- Draggable content -- The drag-and-drop events -- Dragging data -- Dragging the feedback image -- Dragging effects -- The drop target -- Finishing a drop -- Finishing a drag -- The geolocation APIs -- Determining the current location -- Geolocation on maps -- Tracking the present location -- Canvas -- Example - the canvas editor -- Beginning with HTML -- Moving to the main function -- The CanvasWidget component -- The ToolSelector widget -- The ColorSelector widget -- The Tool class -- The Pen tool -- The Line tool -- The Rectangle tool -- The Oval tool -- How to clear the context -- How to preview the context -- Summary -- 12. Security Aspects -- Web security -- Transport Layer Security and Secure Socket Layer at a glance -- The TLS certificate -- Securing a server -- Securing a client -- Attributes of cookies -- HTTP Strict Transport Security -- Content Security Policy -- Cross Origin Resource Sharing versus JSON with padding -- CAPTCHA -- Security best practices -- Summary -- Index
Intro -- Mastering Dart -- Table of Contents -- Mastering Dart -- Credits -- About the Author -- About the Reviewers -- www.PacktPub.com -- Support files, eBooks, discount offers, and more -- Why subscribe? -- Free access for Packt account holders -- Preface -- What this book covers -- What you need for this book -- Who this book is for -- Conventions -- Reader feedback -- Customer support -- Downloading the example code -- Errata -- Piracy -- Questions -- 1. Beyond Dart's Basics -- Modularity and a namespace -- Modularity in software development -- Modularity in Dart -- Libraries -- Functions and closures in different scopes -- Naming functions with a variable -- Passing a function as an argument to another function -- Returning a function as a result of another function -- Storing a function in data structures -- Closures -- Classes and mixins -- Types -- Classes -- Inheritance -- Interface -- Mixins -- Well-designed classes -- To be private or not -- Variables versus the accessor methods -- Inheritance versus composition -- Methods and operators -- Checking the values of the parameters before using them -- Well-designed methods -- Summary -- 2. Advanced Techniques and Reflection -- Generics -- Raw types -- Using generics -- Generic types -- Generic functions -- Errors versus exceptions -- Errors -- Exceptions -- Annotations -- Built-in annotations -- Deprecated -- Override -- Proxy -- Custom annotations -- Reflection -- Introspection in action -- Reflection in action -- Summary -- 3. Object Creation -- Creating an object -- A generative constructor -- A constructor with optional parameters -- A named constructor -- A redirecting constructor -- A private constructor -- A factory constructor -- The factory method design pattern -- The singleton design pattern -- A constant constructor -- Initializing variables -- Syntactic sugar -- Method call
Title Mastering Dart
URI https://ebookcentral.proquest.com/lib/[SITE_ID]/detail.action?docID=1865703
https://www.vlebooks.com/vleweb/product/openreader?id=none&isbn=9781783989577&uid=none
hasFullText 1
inHoldings 1
isFullTextHit
isPrint
link http://cvtisr.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwtV3NS8MwFI-6eXAg6lScXxTxWmiX9CNX51RQ5g6b7FaSNFHp6MY6x_zvfSlpt-pFD15Cm0Ag-cF775f3hdC1T0IHB460_YBLm0gV2lwH2GAXg7nMhCdzD_7LU9DrhaMR7W9upEUuzGIcpGm4XNLpv0INcwC2Tp39A9zlpjAB3wA6jAA7jN8s4vLXNGRiuuiBpv63ReUijWQymSaT5O2T5RETHS0dXo0z17B9l-i0t7ZT4tNnIpmvvVBV2KAbgLUTUs_0RamWka6sb6G69rgCWa3fd5-Hj6tXKYKBAoGibbAsASkLEnie_VBTue4d7KO61AkZB2hTpk20V7ShsIxUaqLGWk3FQ7RbXoOlr-EIDe-6g86DbZo-2Ay4i2fHngQFyhjDDKgWmEMhj2NXBapNpSuwFG0gcBQO4ilGKHO57ygZKzDcBOcO4fgY1dJJKk-QhZkPBg0DhSsokUTw2ImZp3xg5YpKX7bQ1dopo8U4909nUeWqWsgqDh_l6yZoNuredNxQBw7h09_sc4Z2Vnieo9p89iEv0LZYzN-z2aXB4Qu3W_ru
linkProvider ProQuest Ebooks
openUrl ctx_ver=Z39.88-2004&ctx_enc=info%3Aofi%2Fenc%3AUTF-8&rfr_id=info%3Asid%2Fsummon.serialssolutions.com&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=book&rft.title=Mastering+Dart&rft.au=Akopkokhyants%2C+Sergey&rft.date=2014-11-20&rft.pub=Packt+Publishing&rft.isbn=9781783989577&rft.externalDocID=9781783989577
thumbnail_m http://cvtisr.summon.serialssolutions.com/2.0.0/image/custom?url=https%3A%2F%2Fvle.dmmserver.com%2Fmedia%2F640%2F97817839%2F9781783989577.jpg