Mario Casciaro - Node.js Design Patterns [2014, PDF/EPUB, ENG] + Code

seeders: 6
leechers: 0
Added 11 years ago by D@vidoff in Books  > Non-Fiction

Download Fast Safe Anonymous
movies, software, shows...

Files

Mario Casciaro - Node.js Design Patterns [2014, PDF/EPUB, ENG] + Code (Size: 6.41 MB)
  Code
  01_node.js_design_fundamentals
  01_sync_cps
  README 155 B
  main.js 167 B
  02_async_cps
  README 156 B
  main.js 216 B
  03_unleashing_zalgo
  README 193 B
  data.txt 10 B
  main.js 1.03 KB
  04_deferred_execution
  README 180 B
  data.txt 10 B
  main.js 1.07 KB
  05_callbacks_propagating_errors
  README 143 B
  main.js 1.33 KB
  test.json 21 B
  test.txt 36 B
  06_callbacks_uncaught_exceptions
  README 301 B
  nonJSON.txt 27 B
  uncaught.js 323 B
  uncaughtIntercept.js 809 B
  07_homemade_module_loader
  README 661 B
  loader.js 1023 B
  main.js 51 B
  moduleA.js 103 B
  moduleB.js 91 B
  08_module_cycles
  README 97 B
  a.js 113 B
  b.js 112 B
  main.js 80 B
  09_eventemitter_findpattern
  README 144 B
  fileA.txt 34 B
  fileB.json 57 B
  main.js 871 B
  10_eventemitter_inherits
  FindPattern.js 814 B
  README 166 B
  fileA.txt 34 B
  fileB.json 57 B
  main.js 370 B
  11_eventemitter_glob
  README 205 B
  data
  file1.txt 0 B
  file2.txt 0 B
  file3.txt 0 B
  main.js 210 B
  package.json 68 B
  02_asynchronous_control_flow_patterns
  01_simple_web_spider
  README 359 B
  package.json 99 B
  spider.js 1.16 KB
  utilities.js 538 B
  02_plainjs_callback_discipline
  README 296 B
  package.json 99 B
  spider.js 1.31 KB
  utilities.js 538 B
  03_plainjs_sequential_execution
  README 255 B
  package.json 125 B
  spider.js 1.76 KB
  utilities.js 1.25 KB
  04_plainjs_parallel_execution
  README 270 B
  package.json 125 B
  spider.js 2 KB
  utilities.js 1.25 KB
  05_plainjs_limited_parallel
  README 289 B
  package.json 125 B
  spider.js 2.16 KB
  taskQueue.js 499 B
  utilities.js 1.25 KB
  06_async_sequential_execution
  README 284 B
  package.json 148 B
  spider.js 1.74 KB
  utilities.js 1.25 KB
  07_async_parallel_execution
  README 284 B
  package.json 148 B
  spider.js 1.84 KB
  utilities.js 1.25 KB
  08_async_limited_parallel
  README 302 B
  package.json 148 B
  spider.js 2.22 KB
  utilities.js 1.25 KB
  09_promises_sequential_execution
  README 274 B
  package.json 151 B
  spider.js 1.63 KB
  utilities.js 1.76 KB
  10_promises_parallel_execution
  README 273 B
  package.json 151 B
  spider.js 1.69 KB
  utilities.js 1.76 KB
  11_promises_limited_parallel
  README 289 B
  package.json 151 B
  spider.js 2.2 KB
  taskQueue.js 538 B
  utilities.js 1.76 KB
  12_generator_simple
  README 140 B
  fruitGenerator.js 255 B
  13_generators_iterator
  README 162 B
  iteratorGenerator.js 301 B
  14_generators_passing_values
  README 154 B
  twoWayGenerator.js 188 B
  15_generators_async_flow
  README 159 B
  clone.js 607 B
  16_generators_async_flow_thunks
  README 159 B
  clone.js 931 B
  17_generators_sequential_execution
  README 311 B
  package.json 171 B
  spider.js 1.32 KB
  utilities.js 1.25 KB
  18_generators_parallel_execution_a
  README 311 B
  package.json 171 B
  spider.js 1.42 KB
  utilities.js 1.25 KB
  19_generators_parallel_execution_b
  README 311 B
  package.json 171 B
  spider.js 1.8 KB
  utilities.js 1.25 KB
  20_generators_limited_parallel
  README 343 B
  package.json 171 B
  spider.js 1.95 KB
  taskQueue.js 901 B
  utilities.js 1.25 KB
  03_coding_with_streams
  01_spatial_efficiency_buffer_mode
  README 225 B
  gzip.js 400 B
  02_spatial_efficiency_streams
  README 213 B
  gzip.js 262 B
  03_time_efficiency
  README 270 B
  gzipReceive.js 550 B
  gzipSend.js 632 B
  04_composability
  README 329 B
  gzipReceive.js 644 B
  gzipSend.js 722 B
  05_readable_non_flowing
  README 221 B
  readStdin.js 347 B
  06_readable_flowing
  README 217 B
  readStdin.js 266 B
  07_readable_custom_stream
  README 296 B
  generateRandom.js 257 B
  package.json 51 B
  randomStream.js 484 B
  08_writable_write
  README 337 B
  entropyServer.js 398 B
  package.json 51 B
  09_writable_back_pressure
  README 414 B
  entropyServer.js 622 B
  package.json 51 B
  10_writable_custom_stream
  README 242 B
  package.json 51 B
  toFileStream.js 553 B
  writeToFiles.js 291 B
  11_transform_custom_stream
  README 150 B
  replaceStream.js 881 B
  replaceStreamTest.js 217 B
  12_pipes
  README 269 B
  replace.js 148 B
  replaceStream.js 881 B
  13_sequential_execution
  README 299 B
  concat.js 162 B
  concatFiles.js 549 B
  package.json 81 B
  14_unordered_parallel_execution
  README 376 B
  checkUrls.js 556 B
  package.json 76 B
  parallelStream.js 874 B
  urlList.txt 85 B
  15_unordered_limited_parallel_execution
  README 414 B
  checkUrls.js 580 B
  limitedParallelStream.js 1.29 KB
  package.json 76 B
  urlList.txt 85 B
  16_ordered_parallel_execution
  README 453 B
  checkUrls.js 562 B
  package.json 111 B
  urlList.txt 85 B
  17_combining
  README 408 B
  archive.js 407 B
  combinedStreams.js 428 B
  package.json 54 B
  unarchive.js 426 B
  18_forking
  README 262 B
  generateHashes.js 465 B
  19_merging
  README 259 B
  mergeTar.js 653 B
  package.json 73 B
  20_mux_demux
  README 433 B
  client.js 1004 B
  generateData.js 109 B
  server.js 1.25 KB
  04_design_patterns
  01_factory
  README 363 B
  profiler.js 654 B
  profilerTest.js 286 B
  02_proxy_techniques
  README 222 B
  Subject.js 209 B
  augmentation.js 718 B
  composition_closure.js 808 B
  composition_inheritance.js 1017 B
  03_proxy_logging_writable
  README 226 B
  loggingWritable.js 1.19 KB
  test.txt 41 B
  04_decorator_levelup_plugin
  README 305 B
  levelSubscribe.js 322 B
  levelSubscribeTest.js 580 B
  package.json 51 B
  05_adapter_fs_levelup
  README 244 B
  fsAdapter.js 1.14 KB
  fsAdapterTest.js 464 B
  package.json 51 B
  06_strategy_config_object
  README 208 B
  config.js 660 B
  configTest.js 423 B
  package.json 77 B
  samples
  conf.ini 16 B
  conf.json 25 B
  strategies.js 355 B
  07_state_offline_socket
  README 282 B
  client.js 226 B
  failsafeSocket.js 689 B
  offlineState.js 672 B
  onlineState.js 521 B
  package.json 58 B
  server.js 258 B
  08_template_config_object
  README 222 B
  configTemplate.js 859 B
  configTest.js 203 B
  jsonConfig.js 360 B
  package.json 56 B
  samples
  conf.json 25 B
  09_middleware_zmq
  README 356 B
  client.js 512 B
  middleware.js 707 B
  package.json 48 B
  server.js 521 B
  zmqMiddlewareManager.js 1.2 KB
  10_command
  README 202 B
  command.js 1.73 KB
  package.json 53 B
  server.js 490 B
  05_wiring_modules
  01_hard-coded_dependency
  README 768 B
  app.js 484 B
  lib
  authController.js 719 B
  authService.js 1.1 KB
  db.js 150 B
  package.json 271 B
  populate_db.js 652 B
  02_di
  README 765 B
  app.js 726 B
  lib
  authController.js 841 B
  authService.js 1.22 KB
  db.js 179 B
  package.json 271 B
  populate_db.js 652 B
  03a_service_locator
  README 761 B
  app.js 785 B
  lib
  authController.js 899 B
  authService.js 1.31 KB
  db.js 232 B
  serviceLocator.js 635 B
  package.json 271 B
  populate_db.js 652 B
  03b_express_service_locator
  README 789 B
  app.js 702 B
  lib
  authController.js 1011 B
  authService.js 1.31 KB
  db.js 232 B
  package.json 271 B
  populate_db.js 652 B
  04_di_container
  README 776 B
  app.js 817 B
  lib
  authController.js 841 B
  authService.js 1.22 KB
  db.js 179 B
  diContainer.js 873 B
  package.json 298 B
  populate_db.js 652 B
  05_plugin_module_impersonation
  README 1.01 KB
  app.js 519 B
  lib
  authController.js 719 B
  authService.js 1.1 KB
  db.js 150 B
  node_modules
  authsrv-plugin-logout
  index.js 961 B
  package.json 60 B
  package.json 271 B
  populate_db.js 652 B
  06_plugin_service_locator
  README 992 B
  app.js 878 B
  lib
  authController.js 899 B
  authService.js 1.31 KB
  db.js 232 B
  serviceLocator.js 635 B
  node_modules
  authsrv-plugin-logout
  index.js 1 KB
  package.json 60 B
  package.json 271 B
  populate_db.js 652 B
  07_plugin_di
  README 995 B
  app.js 804 B
  lib
  authController.js 841 B
  authService.js 1.22 KB
  db.js 179 B
  node_modules
  authsrv-plugin-logout
  index.js 900 B
  package.json 60 B
  package.json 271 B
  populate_db.js 652 B
  08_plugin_di_container
  README 1007 B
  app.js 929 B
  lib
  authController.js 841 B
  authService.js 1.22 KB
  db.js 179 B
  diContainer.js 873 B
  node_modules
  authsrv-plugin-logout
  index.js 900 B
  package.json 60 B
  package.json 298 B
  populate_db.js 652 B
  06_recipes
  01a_async_init_wrong
  README 598 B
  app.js 420 B
  asyncModule.js 487 B
  routes.js 304 B
  01b_async_init_queues
  README 405 B
  app.js 427 B
  asyncModule.js 487 B
  asyncModuleWrapper.js 1.09 KB
  routes.js 311 B
  02_batching_and_caching
  README 954 B
  app.js 483 B
  appPromises.js 393 B
  loadTest.js 649 B
  package.json 187 B
  populate_db.js 570 B
  totalSales.js 494 B
  totalSalesBatch.js 420 B
  totalSalesCache.js 730 B
  totalSalesPromises.js 527 B
  03_cpu_bound
  README 1013 B
  app.js 729 B
  processPool.js 929 B
  subsetSum.js 857 B
  subsetSumDefer.js 1.13 KB
  subsetSumFork.js 805 B
  subsetSumWorker.js 350 B
  04_umd
  README 284 B
  mustache.js 16.17 KB
  package.json 53 B
  require.js 81.14 KB
  umdModule.js 566 B
  using_amd.html 438 B
  using_commonjs.js 101 B
  using_globals.html 414 B
  05_browserify
  README 375 B
  magic.html 127 B
  main.js 213 B
  package.json 53 B
  sayHello.js 211 B
  06_sharing_backbone_models
  README 505 B
  app.js 644 B
  client
  ContactsView.js 1.68 KB
  index.js 186 B
  db.js 140 B
  models
  Contact.js 892 B
  Contacts.js 226 B
  clientSync.js 43 B
  collectionSync.js 608 B
  modelSync.js 889 B
  package.json 462 B
  routes.js 768 B
  www
  index.html 1.92 KB
  07_scalability_and_architectural_patterns
  01_cluster
  README 136 B
  app.js 277 B
  clusteredApp.js 203 B
  02_cluster_resiliency
  README 173 B
  app.js 388 B
  clusteredApp.js 366 B
  03_cluster_zero_downtime
  README 282 B
  app.js 277 B
  clusteredApp.js 980 B
  04_reverse_proxy_nginx
  README 489 B
  app.js 316 B
  nginx.patch.conf 407 B
  05_service_registry
  README 653 B
  app.js 454 B
  loadBalancer.js 795 B
  package.json 80 B
  06_peer2peer_loadbalancing
  README 259 B
  app.js 296 B
  balancedRequest.js 331 B
  client.js 282 B
  07_dynamic_peer2peer_loadbalancing
  README 457 B
  apiRequest.js 675 B
  app.js 412 B
  client.js 218 B
  package.json 78 B
  08_messaging_and_integration_patterns
  01_basic_chat
  README 249 B
  app.js 523 B
  package.json 98 B
  www
  index.html 682 B
  02_chat_redis
  README 497 B
  app.js 728 B
  package.json 98 B
  www
  index.html 681 B
  03_chat_zmq
  README 659 B
  app.js 1.06 KB
  package.json 121 B
  www
  index.html 681 B
  04_durable_sub
  README 455 B
  app.js 1.55 KB
  historySvc.js 1.04 KB
  package.json 213 B
  www
  index.html 681 B
  05_fanout_fanin
  README 375 B
  package.json 83 B
  sink.js 190 B
  ventilator.js 749 B
  worker.js 670 B
  06_competing_consumers
  README 365 B
  collector.js 472 B
  package.json 87 B
  producer.js 1.27 KB
  worker.js 979 B
  07_correlation_id
  README 178 B
  package.json 54 B
  replier.js 157 B
  reply.js 364 B
  request.js 490 B
  requestor.js 410 B
  08_return_address
  README 337 B
  amqpReply.js 1.03 KB
  amqpRequest.js 1.24 KB
  package.json 79 B
  replier.js 248 B
  requestor.js 390 B
  Mario Casciaro - Node.js Design Patterns - 2014.epub 3.5 MB
  Mario Casciaro - Node.js Design Patterns - 2014.pdf 2.6 MB

Description


Книги и журналы » Компьютерная литература » Веб-дизайн и программирование

Node.js Design Patterns

Год: 2014
Автор: Mario Casciaro
Издательство: Packt Publishing
ISBN: 978-1-78328-732-1
Язык: Английский
Формат: PDF/EPUB
Качество: Изначально компьютерное (eBook)
Количество страниц: 454
Описание:

Node.js is a massively popular software platform that lets you use JavaScript to easily create scalable server-side applications. It allows you to create efficient code, enabling a more sustainable way of writing software made of only one language across the full stack, along with extreme levels of reusability, pragmatism, simplicity, and collaboration. Node.js is revolutionizing the web and the way people and companies create their software.

In this book, we will take you on a journey across various ideas and components, and the challenges you would commonly encounter while designing and developing software using the Node.js platform. You will also discover the "Node.js way" of dealing with design and coding decisions.

The book kicks off by exploring the fundamental principles and components that define the platform. It then shows you how to master asynchronous programming and how to design elegant and reusable components using well-known patterns and techniques. The book rounds off by teaching you the various approaches to scale, distribute, and integrate your Node.js application.
[spoiler="Примеры страниц"]

[/spoiler]
[spoiler="Оглавление"]
Preface
Chapter 1: Node.js Design Fundamentals

The Node.js philosophy
The reactor pattern
The callback pattern
The module system and its patterns
The observer pattern
Chapter 2: Asynchronous Control Flow Patterns
The difficulties of asynchronous programming
Using plain JavaScript
The async library
Promises
Generators
Comparison
Chapter 3: Coding with Streams
Discovering the importance of streams
Getting started with streams
Asynchronous control flow with streams
Piping patterns
Chapter 4: Design Patterns
Factory
Proxy
Decorator
Adapter
Strategy
State
Template
Middleware
Command
Chapter 5: Wiring Modules
Modules and dependencies
Patterns for wiring modules
Wiring plugins
Chapter 6: Recipes
Requiring asynchronously initialized modules
Asynchronous batching and caching
Running CPU-bound tasks
Sharing code with the browser
Chapter 7: Scalability and Architectural Patterns
An introduction to application scaling
Cloning and load balancing
Decomposing complex applications
Chapter 8: Messaging and Integration Patterns
Fundamentals of a messaging system
Publish/subscribe pattern
Pipelines and task distribution patterns
Request/reply patterns
Index
[/spoiler]

Related Torrents

torrent name size uploader age seed leech
0