Dart for Absolute Beginners [electronic resource] /
Kopec, David.author.
Dart for Absolute Beginners enables individuals with no background in programming to create their own web apps while learning the fundamentals of software development in a cutting edge language. Easily digested chapters, while comprehensive enough to explore the whole domain, are aimed at both hobbyists and professionals alike. The reader will not only gain an insight into Dart, but also the technologies behind the web. A firm foundation is laid for further programming studies. Dart is a new, innovative language developed by Google which is poised to take the web by storm. For client side web app development, Dart has many advantages over JavaScript. These include but are not limited to: improved speed, enforcement of programmatic structure, and improved facilities for software reuse. Best of all, Dart is automatically converted to JavaScript so that it works with all web browsers. Dart is a fresh start, without the baggage of the last two decades of the web. Why start learning to program with yesterday’s technology? Teaches you the fundamentals of programming and the technologies behind the web. Utilizes the cutting edge, easy to learn, structured Dart programming language so that your first steps are pointed towards the future of web development. No prior knowledge is required to begin developing your own web apps.
Contents at a Glance; Introduction; Chapter 1: Getting Set Up; Getting the Tools; Using Dart Editor; Choosing a Suitable Work Environment; How to Read This Book; Utilizing the Web As You Learn; Search Engines; Stack Overflow; Official Dart Sources; Social Media; Dart for Absolute Beginners Web Site; Summary; Chapter 2: Your First Dart Programs; Hello, World!; A Fancier Example; Your First HTML Document; Hello World Fancy in Dart; Input and Output; The Learning Curve; Summary; Chapter 3: Some Programming Fundamentals; Code As Instructions; Variables; Operators; Strings; Control Structures
More About BooleansSwitch Statements; Loops; Summary; Chapter 4: Five Small Programs to Showcase Fundamentals in Dart; Number Guessing Game; Temperature Converter; The Monty Hall Problem; Pi Calculator; Math Test; Summary; Chapter 5: Functions; What Is a Function ?; Function Parameters; The Locality of Variables; Multiple Parameters; Function Return Values; Single-Line Functions; Rock-Paper-Scissors; Optional Parameters; Positional Optional Parameters; Named Optional Parameters; Functions as First-Class Citizens; Functions Within Functions; Recursive Functions; Fibonacci Sequence; Factorial
SummaryChapter 6: Data Structures; Lists; List Syntax; Birthday Paradox; Simple Blackjack; Maps; Map Syntax; Caesar Cipher; Baseball Statistics Exercise; Sets; Revised containsDuplicates(); Great Set Use Cases; Summary; Chapter 7: How Does the Web Work?; Retrieving a Web Site; The Web's Place on the Internet; Defining a Web Site's Look; Non-HTML on the Web; Web Browsers; Domains, IP Addresses, and IP Routing; A Little More HTTP; A Full Web Transaction; Summary; Chapter 8: Using Dart to Interact with HTML; The DOM; Tagging the Tags; Responding to Events from the DOM; BMI Calculator; Images
Memory GameDrawing with an HTML Canvas; HTML Canvas Basics; Flying Pigs; Summary; Chapter 9: Hangman; Word Scramble; The HTML; The Dart; Hangman; The Game Resources; The HTML and CSS; The Dart; main( ); restart( ); chooseSecretWord( ); clearBoard( ); playLetter( ); Halftime Review; Chapter 1: "Getting Set Up"; Chapter 2: "Your First Dart Programs"; Chapter 3: "Some Programming Fundamentals"; Chapter 4: "Five Small Programs to Showcase Fundamentals in Dart"; Chapter 5: "Functions"; Chapter 6: "Data Structures"; Chapter 7: "How Does the Web Work?"; Chapter 8: "Using Dart to Interact with HTML"
Looking ForwardSummary; Chapter 10: Object-Oriented Programming Fundamentals; What Is an Object ?; Object Basics; References to Objects and Instances; Defining Classes; Instance Variables; Getters and Setters; Methods; Constructors; Constructor Basics; Named Constructors; Pig; Class Variables and Class Methods; The Game of Life; Summary; Chapter 11: Object-Oriented Design; Inheritance; Abstract Classes; Geometry Test; Super; Interfaces; Interfaces Exposed; Casting; Mixins; The Cascade Operator; Alien Invaders; Summary; Chapter 12: Advanced Dart Concepts; Operator Overloading; The Point Class
Overloading Operators in Your Own Classes
Includes index.
Dart for Absolute Beginners enables individuals with no background in programming to create their own web apps while learning the fundamentals of software development in a cutting edge language. Easily digested chapters, while comprehensive enough to explore the whole domain, are aimed at both hobbyists and professionals alike. The reader will not only gain an insight into Dart, but also the technologies behind the web. A firm foundation is laid for further programming studies. Dart is a new, innovative language developed by Google which is poised to take the web by storm. For client side web app development, Dart has many advantages over JavaScript. These include but are not limited to: improved speed, enforcement of programmatic structure, and improved facilities for software reuse. Best of all, Dart is automatically converted to JavaScript so that it works with all web browsers. Dart is a fresh start, without the baggage of the last two decades of the web. Why start learning to program with yesterday’s technology? Teaches you the fundamentals of programming and the technologies behind the web. Utilizes the cutting edge, easy to learn, structured Dart programming language so that your first steps are pointed towards the future of web development. No prior knowledge is required to begin developing your own web apps.
Programming languages (Electronic computers).
Software engineering.
Programming Languages, Compilers, Interpreters.
Software Engineering/Programming and Operating Systems.