Cargando…

Getting started with hapi.js : build well-structured, testable applications and APIs using hapi.js /

Annotation

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Brett, John (Autor)
Otros Autores: Lehnardt, Jan (author of foreword.)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham, UK : Packt Publishing, 2016.
Colección:Community experience distilled.
Temas:
Acceso en línea:Texto completo
Texto completo

MARC

LEADER 00000cam a2200000Ii 4500
001 EBSCO_ocn947111677
003 OCoLC
005 20231017213018.0
006 m o d
007 cr cnu---unuuu
008 160422s2016 enka o 001 0 eng d
040 |a UMI  |b eng  |e rda  |e pn  |c UMI  |d IDEBK  |d YDXCP  |d OCLCF  |d NLE  |d KSU  |d DEBSZ  |d DEBBG  |d C6I  |d OCLCQ  |d CEF  |d N$T  |d AGLDB  |d IGB  |d AUW  |d BTN  |d INTCL  |d MHW  |d SNK  |d RDF  |d OCLCO  |d OCLCQ  |d OCLCO 
019 |a 946704527 
020 |a 9781785889684  |q (electronic bk.) 
020 |a 1785889680  |q (electronic bk.) 
020 |z 9781785888182 
020 |z 1785888188 
029 1 |a DEBSZ  |b 480365148 
029 1 |a DEBBG  |b BV043969305 
029 1 |a DEBSZ  |b 485798204 
029 1 |a GBVCP  |b 882849719 
035 |a (OCoLC)947111677  |z (OCoLC)946704527 
050 4 |a QA76.73.J39 
072 7 |a COM  |x 051260  |2 bisacsh 
082 0 4 |a 005.1  |2 23 
049 |a UAMI 
100 1 |a Brett, John,  |e author. 
245 1 0 |a Getting started with hapi.js :  |b build well-structured, testable applications and APIs using hapi.js /  |c John Brett ; foreword by Jan Lehnardt. 
264 1 |a Birmingham, UK :  |b Packt Publishing,  |c 2016. 
300 |a 1 online resource (1 volume) :  |b illustrations. 
336 |a text  |b txt  |2 rdacontent 
337 |a computer  |b c  |2 rdamedia 
338 |a online resource  |b cr  |2 rdacarrier 
490 1 |a Community experience distilled 
588 |a Description based on online resource; title from cover (Safari, viewed April 21, 2016). 
500 |a Includes index. 
520 8 |a Annotation  |b Build well-structured, testable applications and APIs using hapi.jsAbout This Book With the help of this book, you will improve your productivity as a developer and that of your team by focusing on business logic utilizing the structure that Hapi.js provides You will be introduced to a real-world problem and we'll demonstrate how to use the tools Hapi provides to resolve it This is the only book with a learn-by-example approachWho This Book Is ForIf you are a JavaScript developer with or without Node.js experience and would like to learn to build applications, APIs, and web servers with the best-in-class framework hapi.js, this book is perfect for you.What You Will Learn Increase your productivity by taking advantage of the out-of-the-box features hapi.js provides Build secure API servers Create websites and applications using your favorite templating language Leverage hapi.js plugins to better structure your codebase Simplify your security workflows with the built-in authentication and authorization functionality of hapi.js Ensure application reliability with testing and code coverage Reduce code complexity using reusable validation logic with joi Gather insight into your application performance via logging Start the journey to building robust production-ready applicationsIn DetailThis book will introduce hapi.js and walk you through the creation of your first working application using the out-of-the-box features hapi.js provides. Packed with real-world problems and examples, this book introduces some of the basic concepts of hapi.js and Node.js and takes you through the typical journey you'll face when developing an application. Starting with easier concepts such as routing requests, building APIs serving JSON, using templates to build websites and applications, and connecting databases, we then move on to more complex problems such as authentication, model validation, caching, and techniques for structuring your codebase to scale gracefully. You will also develop skills to ensure your application's reliability through testing, code coverage, and logging.By the end of this book, you'll be equipped with all the skills you need to build your first fully featured application. This book will be invaluable if you are investigating Node.js frameworks or planning on using hapi.js in your next project.Style and approachThis book takes a step-by-step approach to building an application or web server using hapi.js though examples. 
505 0 |a Cover; Copyright; Credits; Foreword; About the Author; About the Reviewer; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Introducing hapi.js; Node.js -- a prerequisite to learning hapi.js; The hapi philosophy versus other frameworks; Building value, not infrastructure; Configuration is better than code; Separation of business logic from the transport layer; Open source and community-centric; Ecosystem; Small modules; Summarizing hapi; Creating our first hapi.js server; Installing hapi; Our first hapi server; hapi plugins; hapi configuration; The hapi style guide; Summary 
505 8 |a Chapter 2: Adding Functionality by Routing RequestsServer routing; Route configuration; Method; Path; Description; Validate; Pre; Handler; Cache; Route configuration summary; hapi routing algorithm; hapi request life cycle; Extending request life cycle events; hapi request object; Reply interface; Custom handlers; Serving static files with inert; Serving templates with vision; Vision configuration; Engines; Paths; compileMode; Vision summary; Summary; Chapter 3: Structuring Your Codebase with Plugins; Structuring applications; hapi plugins; Encapsulating functionality within plugins 
505 8 |a Plugin optionsExposing and consuming plugins; Managing plugin dependencies; Exposing sandboxed functionality; Combining plugins; The hapi plugin ecosystem; Authentication; Documentation generation; Logging; Utilities; Composing applications from plugins; Summary; Chapter 4: Adding Tests and the Importance of 100% Code Coverage; Why is the importance of testing overlooked?; The benefits and importance of testing code; Introducing hapi's testing utilities; Installing lab and code; Local versus global modules; Our first test script; Testing approaches; Testing hapi applications with lab 
505 8 |a Code coverageLinting; Summary; Chapter 5: Securing Applications with Authentication and Authorization; Authentication; Configuring authentication; Cookie authentication; Third-party authentication; Authentication summary; Authorization; Summary; Chapter 6: The joi of Reusable Validation; An introduction to validation; Introduction to joi; Validating hapi routes with joi; Validating route responses; Documentation generation; Summary; Chapter 7: Making Your Application Production Ready; Persisting data; MongoDB; The 'M' in MVC; Introducing caching; Server methods; Caching with server methods 
505 8 |a Introducing loggingDebugging applications; The console; The Node debugger; The debug mode in hapi; Profiling heapdumps; TV; Debugging summary; General production advice; Further learning; Getting started with hapi.js GitHub repo; Hapijs.com; Makemehapi; The hapi community; The hapi discussion repo; Stack Overflow; hapi Gitter channel; @hapijs on Twitter; Read the code!; Summary; Index; hapijs.com/plugins 
590 |a eBooks on EBSCOhost  |b EBSCO eBook Subscription Academic Collection - Worldwide 
590 |a O'Reilly  |b O'Reilly Online Learning: Academic/Public Library Edition 
650 0 |a JavaScript (Computer program language) 
650 0 |a Application software  |x Development. 
650 6 |a JavaScript (Langage de programmation) 
650 6 |a Logiciels d'application  |x Développement. 
650 7 |a COMPUTERS / Programming Languages / JavaScript.  |2 bisacsh 
650 7 |a Application software  |x Development  |2 fast 
650 7 |a JavaScript (Computer program language)  |2 fast 
700 1 |a Lehnardt, Jan,  |e author of foreword. 
830 0 |a Community experience distilled. 
856 4 0 |u https://ebsco.uam.elogim.com/login.aspx?direct=true&scope=site&db=nlebk&AN=1220462  |z Texto completo 
856 4 0 |u https://learning.oreilly.com/library/view/~/9781785888182/?ar  |z Texto completo 
938 |a ProQuest MyiLibrary Digital eBook Collection  |b IDEB  |n cis34432507 
938 |a YBP Library Services  |b YANK  |n 12990194 
938 |a EBSCOhost  |b EBSC  |n 1220462 
994 |a 92  |b IZTAP