Meteor in action:
Gespeichert in:
Hauptverfasser: | , |
---|---|
Format: | Buch |
Sprache: | English |
Veröffentlicht: |
Shelter Island
Manning
[2016]
|
Schlagworte: | |
Online-Zugang: | Inhaltsverzeichnis |
Beschreibung: | xxiii, 342 Seiten |
ISBN: | 9781617292477 1617292478 |
Internformat
MARC
LEADER | 00000nam a2200000 c 4500 | ||
---|---|---|---|
001 | BV043176260 | ||
003 | DE-604 | ||
005 | 20160223 | ||
007 | t | ||
008 | 151130s2016 |||| 00||| eng d | ||
020 | |a 9781617292477 |c pbk |9 978-1-617292-47-7 | ||
020 | |a 1617292478 |9 1-617292-47-8 | ||
035 | |a (OCoLC)934644386 | ||
035 | |a (DE-599)BVBBV043176260 | ||
040 | |a DE-604 |b ger |e rda | ||
041 | 0 | |a eng | |
049 | |a DE-11 |a DE-858 | ||
084 | |a ST 253 |0 (DE-625)143628: |2 rvk | ||
100 | 1 | |a Hochhaus, Stephan |e Verfasser |0 (DE-588)1083828002 |4 aut | |
245 | 1 | 0 | |a Meteor in action |c Stephan Hochhaus, Manuel Christoph Schoebel |
264 | 1 | |a Shelter Island |b Manning |c [2016] | |
264 | 4 | |c © 2016 | |
300 | |a xxiii, 342 Seiten | ||
336 | |b txt |2 rdacontent | ||
337 | |b n |2 rdamedia | ||
338 | |b nc |2 rdacarrier | ||
650 | 4 | |a Web applications / Programming | |
650 | 4 | |a Application software / Development | |
650 | 4 | |a Web site development | |
650 | 4 | |a JavaScript (Computer program language) | |
650 | 7 | |a Application software / Development |2 fast | |
650 | 7 | |a JavaScript (Computer program language) |2 fast | |
650 | 7 | |a Web applications |2 fast | |
650 | 7 | |a Web site development |2 fast | |
700 | 1 | |a Schoebel, Manuel |e Verfasser |0 (DE-588)1084006987 |4 aut | |
856 | 4 | 2 | |m HBZ Datenaustausch |q application/pdf |u http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=028600332&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |3 Inhaltsverzeichnis |
999 | |a oai:aleph.bib-bvb.de:BVB01-028600332 |
Datensatz im Suchindex
_version_ | 1804175657953918976 |
---|---|
adam_text | Titel: Meteor in action
Autor: Hochhaus, Stephan
Jahr: 2016
contents
foreword, xiii
preface xv
acknowledgments xvii
about this book xix
about the cover illustration xxiii
Part 1 Look—a shooting star!................................1
1 A better way to build apps 3
3- 1.1 Introducing Meteor 4
The story behind Meteor 4 ¦ The Meteor stack 5
Isomorphic frameworks: full-stack JavaScript 7
Processing in the browser: running on distributed platforms 9
Reactive programming 11
1.2 How Meteor works 12
Core projects 14* Isobuild and the CLI tool 17
Client code vs. server code 17
1.3 Strengths and weaknesses 19
Where Meteor shines 19 * Challenges when using Meteor 21
1.4 Creating new applications 24
Setting up a new project 24 * Starting the application 25
vii
viii
CONTENTS
1.5 Dissecting the default project 25
helbWorld.css 26 - helloWorld.html 26 ¦ helbWorldjs 27
1.6 Summary 29
My fridge! A reactive game 31
2.1 Application overview 32
2.2 Initial setup 32
Setting up a new project 33
2.3 Creating a layout 34
Setting the stybs 34 ¦ Adding the templates 35
2.4 Adding content to the database in real time 38
Storing items in the database 38 ¦ Connecting data
to templates 40 • Adding a defined set of products 43
2.5 Moving items into the fridge 44
Adding jQuery-UI to the project 44 * Defining drop targets
for items 44 ¦ Allowing items to be draggabb 47
2.6 Deploying to meteor.com and using the fridge 48
2.7 Summary 48
Part 2 3, 2, 1—impact! .............................................49
3
Working with templates 51
3.1 Introduction to templates 52
3.2 Working with templates 53
The Blaze engine 53 * Organizing template fibs 54
3.3 Creating dynamic HTML templates 55
Doubb and tripb-braced tags (expressions) 55 ¦ Inclusion tags
(partials) 57 ¦ Block tags 60 ¦ Helpers 63
3.4 Handling events 68
Template event maps 69 ¦ Event propagation 70
Preventing the browser s default behavior 71
3.5 The template life cycle 72
3.6 Summary 74
CONTENTS
Working with data 76
4.1 Meteor s default data sources 79
What makes a data source reactive ? 80 * How reactive data
is connected to functions 81
4.2 Building a house-sitter app 82
Setting up templates 84 * Connecting to a database and
declaring collections 85
4.3 Working with the Session object 86
The Session object 86 Using Session to store selected
drop-down values 87 Creating a reactive context
using Tracker, autorun 89
4.4 Working with MongoDB collections 89
Querying documents in MongoDB 91 ¦ Working with
Meteor collections 92 ¦ Initializing a collection 93
Querying collections 94 * Display collection data in
a template 95 Updating data in a collection 98
Inserting new data into a collection 101 Removing
data from a collection 102
4.5 Summary 104
Fully reactive editing 105
5.1 The reactive editing workflow 106
5.2 Reactive front ends vs. DOM manipulation 107
5.3 Staging changes in a local collection 111
5.4 Displaying collection data within a form 115
Adding array index information to an #each hop 116
5.5 Reactive updates using a local collection 118
Event map for the houseForm template 119 ¦ Event map
for the plantFieldset template 121
5.6 Implementing a simple notifications system 124
Adding a notifications template 125 * Adding a
status properly 125 Using a Session variable to
trigger notifications 127
5.7 Summary 129
CONTENTS
Users, authentications, and permissions 130
6.1 Adding users to an application 131
Adding password authentication 132 * Registration
and password reset 133 * Setting up email 137
6.2 Authenticating users with OAuth 141
An introduction to OAuth 141 * Integrating Facebook
authentication 143 * Integrating other OAuth providers 147
6.3 Managing user permissions, roles, and groups 148
Managing permissions with allow/deny 149
6.4 Summary 152
Exchanging data 153
7.1 Publications and subscriptions 155
publish() and subscribe() 155* Global subscriptions 157
Template-level subscriptions 158 * Parameterizing
subscriptions 159 * Publishing aggregated data to
a client-only collection 162* Turning an aggregation
publication into a reactive data source 165 * Limiting data
visibility by user ID 167
7.2 Meteor methods 169
Removing the insecure package 170 * Using methods to
write data to collections 171
7.3 Summary 174
Routing using Iron. Router 116
8.1 Routing in web applications 177
8.2 Client-side routing 180
Adding Iron.Router 180* Creating your first routes 181
Defining a layout depending on a route 183 * Setting the
data context depending on a route 187 * Data subscriptions
with Iron.Router 190
8.3 Advanced routing methods 192
Using named routes and link helpers 192 * Working with
active routesfor better navigation links 194* Waiting for external
libraries to load 195 * Organizing routes as controllers 196
Extending the route process using hooks 197 * Creating an
Iron.Router plug-in 199
8.4 Server-side routing with a REST API 200
8.5 Summary 202
CONTENTS
xi
The package system 203
9.1 The foundation of all applications 204
9.2 Using Isopacks 205
Version Solver and semantic versioning 205 ¦ Finding
packages 206 1 Adding and removing Isopacks 210
Updating packages 212
9.3 Using npm packages 212
9.4 Creating an Isopack 213
Creating a package 214 ¦ Declaring package metadata 215
Adding package functionality 217¦ Testing Isopacks
using tinytest 220 • Publishing 224
9.5 Summary 225
Advanced server methods 227
10.1 Reintroducing Node.js 227
Synchronous code 228 Asynchronous code 230
10.2 Asynchronous functions using fibers 232
Introducing multitasking to the event loop 232
Binding callbacks to a fiber with wrapAsync 235
Unblocking method calls for a single client 237
Creating fibers with bindEnvironment 238
10.3 Integrating external APIs 240
Making RESTJul calls with the http package 241
Using a synchronous method to query an API 242
Using an asynchronous method to call an API 242
10.4 Uploading files to a collection 244
Uploading files to the database 246
10.5 Summary 249
Part 3 Leaving the crater....................................251
Building and debugging 253
11.1 The Meteor build process 254
Build stages 256 ¦ Running with the -production flag 259
Load order 260 ¦ Adding build stages via packages 262
Adding a custom build stage 264
CONTENTS
11.2 Accessing running applications 266
Using the interactive server shell 266 * Debugging using
node-inspector 267
11.3 Creating browser applications 270
Application configuration using Meteor.settings 270
Building Meteor projects 271
11.4 Creating mobile applications 273
Hybrid apps with Cordova 273 * Adding mobile platforms 274
Configuring mobile applications 276 ¦ Adding mobile
functionality 279
11.5 Summary 280
into production 281
Preparing for production 282
Using version control 282 * Testing functionality: the
Velocity framework 284 * Estimating and testing load 286
Server administration 289 * Checklist 290
Setup and deployment 290
The simplest deployment: meteor.com 291 * All-inclusive hosting:
cloud providers 294 * Full flexibility: manual setup 297
Connecting the pieces 301
Environment variables 301 * Connecting Meteor
to MongoDB 301
Scaling strategies 303
Active-passive high availability with redundancy 303
Single-component deployments 304 * Redundancy and
load balancing 305 * Bulletproof availability 307
Summary 308
Installing Meteor 309
The anatomy of MongoDB 314
Setting up nginx 322
70 Going
.Jl. Jmmm4 | 2 |
12.2
12.3
12.4
12.5
appendix A
appendix B
appendix C
index 331
|
any_adam_object | 1 |
author | Hochhaus, Stephan Schoebel, Manuel |
author_GND | (DE-588)1083828002 (DE-588)1084006987 |
author_facet | Hochhaus, Stephan Schoebel, Manuel |
author_role | aut aut |
author_sort | Hochhaus, Stephan |
author_variant | s h sh m s ms |
building | Verbundindex |
bvnumber | BV043176260 |
classification_rvk | ST 253 |
ctrlnum | (OCoLC)934644386 (DE-599)BVBBV043176260 |
discipline | Informatik |
format | Book |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>01564nam a2200409 c 4500</leader><controlfield tag="001">BV043176260</controlfield><controlfield tag="003">DE-604</controlfield><controlfield tag="005">20160223 </controlfield><controlfield tag="007">t</controlfield><controlfield tag="008">151130s2016 |||| 00||| eng d</controlfield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9781617292477</subfield><subfield code="c">pbk</subfield><subfield code="9">978-1-617292-47-7</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">1617292478</subfield><subfield code="9">1-617292-47-8</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)934644386</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(DE-599)BVBBV043176260</subfield></datafield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">DE-604</subfield><subfield code="b">ger</subfield><subfield code="e">rda</subfield></datafield><datafield tag="041" ind1="0" ind2=" "><subfield code="a">eng</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">DE-11</subfield><subfield code="a">DE-858</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">ST 253</subfield><subfield code="0">(DE-625)143628:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">Hochhaus, Stephan</subfield><subfield code="e">Verfasser</subfield><subfield code="0">(DE-588)1083828002</subfield><subfield code="4">aut</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">Meteor in action</subfield><subfield code="c">Stephan Hochhaus, Manuel Christoph Schoebel</subfield></datafield><datafield tag="264" ind1=" " ind2="1"><subfield code="a">Shelter Island</subfield><subfield code="b">Manning</subfield><subfield code="c">[2016]</subfield></datafield><datafield tag="264" ind1=" " ind2="4"><subfield code="c">© 2016</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">xxiii, 342 Seiten</subfield></datafield><datafield tag="336" ind1=" " ind2=" "><subfield code="b">txt</subfield><subfield code="2">rdacontent</subfield></datafield><datafield tag="337" ind1=" " ind2=" "><subfield code="b">n</subfield><subfield code="2">rdamedia</subfield></datafield><datafield tag="338" ind1=" " ind2=" "><subfield code="b">nc</subfield><subfield code="2">rdacarrier</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Web applications / Programming</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Application software / Development</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Web site development</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">JavaScript (Computer program language)</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">Application software / Development</subfield><subfield code="2">fast</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">JavaScript (Computer program language)</subfield><subfield code="2">fast</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">Web applications</subfield><subfield code="2">fast</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">Web site development</subfield><subfield code="2">fast</subfield></datafield><datafield tag="700" ind1="1" ind2=" "><subfield code="a">Schoebel, Manuel</subfield><subfield code="e">Verfasser</subfield><subfield code="0">(DE-588)1084006987</subfield><subfield code="4">aut</subfield></datafield><datafield tag="856" ind1="4" ind2="2"><subfield code="m">HBZ Datenaustausch</subfield><subfield code="q">application/pdf</subfield><subfield code="u">http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=028600332&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA</subfield><subfield code="3">Inhaltsverzeichnis</subfield></datafield><datafield tag="999" ind1=" " ind2=" "><subfield code="a">oai:aleph.bib-bvb.de:BVB01-028600332</subfield></datafield></record></collection> |
id | DE-604.BV043176260 |
illustrated | Not Illustrated |
indexdate | 2024-07-10T07:19:47Z |
institution | BVB |
isbn | 9781617292477 1617292478 |
language | English |
oai_aleph_id | oai:aleph.bib-bvb.de:BVB01-028600332 |
oclc_num | 934644386 |
open_access_boolean | |
owner | DE-11 DE-858 |
owner_facet | DE-11 DE-858 |
physical | xxiii, 342 Seiten |
publishDate | 2016 |
publishDateSearch | 2016 |
publishDateSort | 2016 |
publisher | Manning |
record_format | marc |
spelling | Hochhaus, Stephan Verfasser (DE-588)1083828002 aut Meteor in action Stephan Hochhaus, Manuel Christoph Schoebel Shelter Island Manning [2016] © 2016 xxiii, 342 Seiten txt rdacontent n rdamedia nc rdacarrier Web applications / Programming Application software / Development Web site development JavaScript (Computer program language) Application software / Development fast JavaScript (Computer program language) fast Web applications fast Web site development fast Schoebel, Manuel Verfasser (DE-588)1084006987 aut HBZ Datenaustausch application/pdf http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=028600332&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA Inhaltsverzeichnis |
spellingShingle | Hochhaus, Stephan Schoebel, Manuel Meteor in action Web applications / Programming Application software / Development Web site development JavaScript (Computer program language) Application software / Development fast JavaScript (Computer program language) fast Web applications fast Web site development fast |
title | Meteor in action |
title_auth | Meteor in action |
title_exact_search | Meteor in action |
title_full | Meteor in action Stephan Hochhaus, Manuel Christoph Schoebel |
title_fullStr | Meteor in action Stephan Hochhaus, Manuel Christoph Schoebel |
title_full_unstemmed | Meteor in action Stephan Hochhaus, Manuel Christoph Schoebel |
title_short | Meteor in action |
title_sort | meteor in action |
topic | Web applications / Programming Application software / Development Web site development JavaScript (Computer program language) Application software / Development fast JavaScript (Computer program language) fast Web applications fast Web site development fast |
topic_facet | Web applications / Programming Application software / Development Web site development JavaScript (Computer program language) Web applications |
url | http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=028600332&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |
work_keys_str_mv | AT hochhausstephan meteorinaction AT schoebelmanuel meteorinaction |