Muutke küpsiste eelistusi

E-raamat: JavaScript for Data Science [Taylor & Francis e-raamat]

, , (European Molecular Biology Laboratory, Heidelberg, Germany)
  • Taylor & Francis e-raamat
  • Hind: 203,11 €*
  • * hind, mis tagab piiramatu üheaegsete kasutajate arvuga ligipääsu piiramatuks ajaks
  • Tavahind: 290,16 €
  • Säästad 30%
JavaScript is the native language of the Internet. Originally created to make web pages more dynamic, it is now used for software projects of all kinds, including scientific visualization and data services. However, most data scientists have little or no experience with JavaScript, and most introductions to the language are written for people who want to build shopping carts rather than share maps of coral reefs.

This book will introduce you to JavaScript's power and idiosyncrasies and guide you through the key features of the language and its tools and libraries. The book places equal focus on client- and server-side programming, and shows readers how to create interactive web content, build and test data services, and visualize data in the browser. Topics include:











The core features of modern JavaScript





Creating templated web pages





Making those pages interactive using React





Data visualization using Vega-Lite





Using Data-Forge to wrangle tabular data





Building a data service with Express





Unit testing with Mocha

All of the material is covered by the Creative Commons Attribution-Noncommercial 4.0 International license (CC-BY-NC-4.0) and is included in the book's companion website.

.

Maya Gans is a freelance data scientist and front-end developer by way of quantitative biology. Toby Hodges is a bioinformatician turned community coordinator who works at the European Molecular Biology Laboratory. Greg Wilson co-founded Software Carpentry, and is now part of the education team at RStudio
Chapter 1 Introduction 1(4)
1.1 Who You Are
1(1)
1.2 Who We Are
2(1)
1.3 Setting Up
3(1)
1.4 Contributing
3(1)
1.4.1 Acknowledgments
4(1)
1.5 Exercises
4(1)
Chapter 2 Basic Features 5(14)
2.1 Hello, World
5(1)
2.2 Basic Data Types
5(2)
2.3 Control Flow
7(1)
2.4 Formatting Strings
8(1)
2.5 Objects
8(2)
2.6 Functions
10(2)
2.7 Modules
12(1)
2.8 Exercises
13(6)
Chapter 3 Callbacks 19(14)
3.1 The Call Stack
19(1)
3.2 Functions of Functions
20(4)
3.3 Anonymous Functions
24(1)
3.4 Functional Programming
25(2)
3.5 Closures
27(3)
3.6 Exercises
30(3)
Chapter 4 Objects and Classes 33(10)
4.1 Doing It By Hand
33(1)
4.2 Classes
34(2)
4.3 Inheritance
36(2)
4.4 Exercises
38(5)
Chapter 5 HTML and CSS 43(12)
5.1 Formatting
43(1)
5.2 Text
43(1)
5.3 Pages
44(1)
5.4 Attributes
45(1)
5.5 Lists
46(1)
5.6 Tables
47(1)
5.7 Links
47(1)
5.8 Images
48(1)
5.9 Cascading Style Sheets
49(2)
5.10 Bootstrap
51(2)
5.11 Exercises
53(2)
Chapter 6 Manipulating Pages 55(14)
6.1 Counting Paragraphs
55(2)
6.2 Creating a Table of Contents
57(2)
6.3 Sortable Lists
59(3)
6.4 Bibliographic Citations
62(4)
6.5 A Real-time Clock
66(1)
6.6 Exercises
67(2)
Chapter 7 Dynamic Pages 69(10)
7.1 Hello, World
69(2)
7.2 JSX
71(1)
7.3 Creating Components
72(1)
7.4 Developing with Parcel
73(2)
7.5 Multiple Files
75(2)
7.6 Exercises
77(2)
Chapter 8 Visualizing Data 79(8)
8.1 Vega-Lite
79(4)
8.2 Local Installation
83(1)
8.3 Exercises
84(3)
Chapter 9 Promises 87(16)
9.1 The Execution Queue
87(3)
9.2 Promises
90(4)
9.3 Using Promises
94(3)
9.4 async and await
97(1)
9.5 Exercises
98(5)
Chapter 10 Interactive Sites 103(14)
10.1 But It Doesn't Work
104(3)
10.2 Models and Views
107(3)
10.3 Fetching Data
110(5)
10.4 Exercises
115(2)
Chapter 11 Managing Data 117(8)
11.1 Data Formats
117(1)
11.2 Slicing Data
118(1)
11.3 Data Manager
119(3)
11.4 Exercises
122(3)
Chapter 12 Creating a Server 125(8)
12.1 HTTP
125(2)
12.2 Hello, Express
127(1)
12.3 Handling Multiple Paths
128(1)
12.4 Serving Files from Disk
129(2)
12.5 Content Types
131(1)
12.6 Exercises
132(1)
Chapter 13 Testing 133(8)
13.1 Introducing Mocha
133(1)
13.2 Refactoring
134(1)
13.3 Testing the Server
135(3)
13.4 Checking the HTML
138(1)
13.5 Exercises
139(2)
Chapter 14 Using Data-Forge 141(16)
14.1 Basic Operations
142(2)
14.2 Doing Calculations
144(4)
14.3 Subsets
148(2)
14.4 Aggregation
150(2)
14.5 In Real Life
152(3)
14.6 Exercises
155(2)
Chapter 15 Capstone Project 157(16)
15.1 Data Manager
157(3)
15.2 Server
160(1)
15.3 API
161(1)
15.4 The Display
162(3)
15.5 The Tables
165(2)
15.6 The Chart
167(1)
15.7 Running It
168(3)
15.8 Exercises
171(2)
Chapter 16 Finale 173(2)
Bibliography 175(2)
Appendix A License 177(2)
Appendix B Code of Conduct 179(2)
B.1 Our Standards
179(1)
B.2 Our Responsibilities
179(1)
B.3 Scope
180(1)
B.4 Enforcement
180(1)
B.5 Attribution
180(1)
Appendix C Contributing 181(2)
Appendix D Glossary 183(10)
Appendix E Key Points 193(6)
Appendix F Collaborating 199(6)
F.1 Licensing Software
199(1)
F.2 Licensing Data and Documentation
200(1)
F.3 Code of Conduct
201(1)
F.4 Governance
202(3)
Appendix G Legacy JavaScript Issues 205(4)
G.1 Equality
205(1)
G.2 Iteration
206(1)
G.3 Prototypes
207(2)
Appendix H Regular Expressions 209(2)
Appendix I Logging 211(2)
Appendix J Extensible Servers 213(2)
Appendix K Using a Database 215(12)
K.1 Starting Point
215(2)
K.2 In-Memory Database
217(3)
K.3 Making It Testable
220(2)
K.4 Testing
222(1)
K.5 Updating the Database
223(2)
K.6 Exercises
225(2)
Appendix L Deploying 227(2)
Index 229
Toby Hodges is a bioinformatician turned community coordinator, working on the Bio-IT Project at EMBL. He teaches a lot of courses in computing, organizes a lot of communitybuilding events, listens to a lot of punk rock, and occasionally still finds time to write code and ride his bike. Toby would like to thank his wife for her support and patience while he swore about how annoying JavaScript is to debug. Greg Wilson has worked for 35 years in both industry and academia, and is the author or editor of several books on computing and two for children. He co-founded [ Software Carpentry][ carpentries], a non-profit organization that teaches basic computing skills to researchers, and is now part of the education team at RStudio.