top

  Info

  • Utilizzare la checkbox di selezione a fianco di ciascun documento per attivare le funzionalità di stampa, invio email, download nei formati disponibili del (i) record.

  Info

  • Utilizzare questo link per rimuovere la selezione effettuata.
Level up your web apps with Go / / by Mal Curtis ; cover designer, Alex Walker
Level up your web apps with Go / / by Mal Curtis ; cover designer, Alex Walker
Autore Curtis Mal
Edizione [1st edition]
Pubbl/distr/stampa Collingwood, Victoria : , : SitePoint, , 2015
Descrizione fisica 1 online resource (259 p.)
Disciplina 005.133
Soggetto topico Go (Computer program language)
ISBN 1-4571-9284-5
1-4571-9287-X
1-4571-9286-1
Formato Materiale a stampa
Livello bibliografico Monografia
Lingua di pubblicazione eng
Nota di contenuto Intro; Level Up Your Web Apps With Go; Table of Contents; Preface; Welcome New Gopher; Go Types Explored; HTTP; Gophr Part 1: The Project; Gophr Part 2: All About the Users; Gophr Part 3: Remembering Our Users; Gophr Part 4: Images; Gophr Part 5: Concurrency; Automated Testing; Packaging and Production; Who Should Read This Book; Conventions Used; Supplementary Materials; Some Notes; Want to take your learning further?; Installation; Go Tools; Basic Types; Functions; Structs; Exported and Unexported Code; Summary; Custom Types; Interfaces; Embedded Types; The defer Command
Third-party LibrariesSyntax Options and Conventions; Summary; Responding to Requests; HTML Templates; Rendering JSON; Summary; Using Bootstrap; Project Layout; Serving Assets; Rendering Pages; Creating a Layout; Advanced Routing; Summary; Before We Start; What do users look like?; Hashing a Password; Identifiers; User Forms; Creating Users; Summary; Exercises; What makes up a session?; Persisting User Sessions; Checking for a User; Displaying User Information; Signing Out, Signing In; Editing Your Details; Summary; Exercises; The Image Type; ImageStore Interface; Summary; Exercises
GoroutinesWaiting for Goroutines to Finish; Communicating with Goroutines; Communicating with Multiple Channels; Putting Goroutines into Practice; Summary; Writing Tests in Go; Code Coverage; Testing HTTP Requests and Responses; Performance Benchmarking; Summary; Exercises; Creating Packages; Dependency Management; Deploying Go Applications; Cross-compiling; That's All, Folks!; Code Samples; Tips, Notes, and Warnings; HTTP Requests; Go Get; Formatting; Imports; Guiding Gently, Not Explicitly; Terminal; The Go Workspace; Your First Go Code; Strings; Numbers; Booleans; Arrays and Slices; Maps
PointersType Methods; Error Handling; Alternative Syntax Options; Coding Style Conventions; Breaking It Down; Adding More Information; Pattern Matching in Depth; Returning Errors; The Handler Interface; Chaining Handlers to Create Middleware; Accessing Data; Conditionals with if and else; Loops with Range; Multiple Templates; Pipelines; Variables; Marshaling; Marshaling Structs; Custom JSON Keys; Nested Types; Unmarshaling Types; Unknown JSON Structure; Using httprouter; Flexible Middleware; How Routing Works with Our Middleware; Registration Form; Registration Handler; Creating Users
Persisting UsersThe Sign Out Process; The Login Process; Getting My(SQL) Groove On; MySQL Requirements; Connecting to Databases; Creating ImageStore; Implementing ImageStore in DBImageStore; Uploading Images; Using Channels and Selects for Timeouts; Looping on selects; Throwing Away Goroutines; Using the Resized Images; Passing and Failing; Testing Multiple Variations of Inputs; Testing Between Packages; Testing the Gophr Authentication; Testing Remote HTTP requests; Benchmark Regressions; What is a package?; An Example Package; Exporting; Avoiding Circular Imports
Let's Implement a Real Package
Record Nr. UNINA-9910797155403321
Curtis Mal  
Collingwood, Victoria : , : SitePoint, , 2015
Materiale a stampa
Lo trovi qui: Univ. Federico II
Opac: Controlla la disponibilità qui
Level up your web apps with Go / / by Mal Curtis ; cover designer, Alex Walker
Level up your web apps with Go / / by Mal Curtis ; cover designer, Alex Walker
Autore Curtis Mal
Edizione [1st edition]
Pubbl/distr/stampa Collingwood, Victoria : , : SitePoint, , 2015
Descrizione fisica 1 online resource (259 p.)
Disciplina 005.133
Soggetto topico Go (Computer program language)
ISBN 1-4571-9284-5
1-4571-9287-X
1-4571-9286-1
Formato Materiale a stampa
Livello bibliografico Monografia
Lingua di pubblicazione eng
Nota di contenuto Intro; Level Up Your Web Apps With Go; Table of Contents; Preface; Welcome New Gopher; Go Types Explored; HTTP; Gophr Part 1: The Project; Gophr Part 2: All About the Users; Gophr Part 3: Remembering Our Users; Gophr Part 4: Images; Gophr Part 5: Concurrency; Automated Testing; Packaging and Production; Who Should Read This Book; Conventions Used; Supplementary Materials; Some Notes; Want to take your learning further?; Installation; Go Tools; Basic Types; Functions; Structs; Exported and Unexported Code; Summary; Custom Types; Interfaces; Embedded Types; The defer Command
Third-party LibrariesSyntax Options and Conventions; Summary; Responding to Requests; HTML Templates; Rendering JSON; Summary; Using Bootstrap; Project Layout; Serving Assets; Rendering Pages; Creating a Layout; Advanced Routing; Summary; Before We Start; What do users look like?; Hashing a Password; Identifiers; User Forms; Creating Users; Summary; Exercises; What makes up a session?; Persisting User Sessions; Checking for a User; Displaying User Information; Signing Out, Signing In; Editing Your Details; Summary; Exercises; The Image Type; ImageStore Interface; Summary; Exercises
GoroutinesWaiting for Goroutines to Finish; Communicating with Goroutines; Communicating with Multiple Channels; Putting Goroutines into Practice; Summary; Writing Tests in Go; Code Coverage; Testing HTTP Requests and Responses; Performance Benchmarking; Summary; Exercises; Creating Packages; Dependency Management; Deploying Go Applications; Cross-compiling; That's All, Folks!; Code Samples; Tips, Notes, and Warnings; HTTP Requests; Go Get; Formatting; Imports; Guiding Gently, Not Explicitly; Terminal; The Go Workspace; Your First Go Code; Strings; Numbers; Booleans; Arrays and Slices; Maps
PointersType Methods; Error Handling; Alternative Syntax Options; Coding Style Conventions; Breaking It Down; Adding More Information; Pattern Matching in Depth; Returning Errors; The Handler Interface; Chaining Handlers to Create Middleware; Accessing Data; Conditionals with if and else; Loops with Range; Multiple Templates; Pipelines; Variables; Marshaling; Marshaling Structs; Custom JSON Keys; Nested Types; Unmarshaling Types; Unknown JSON Structure; Using httprouter; Flexible Middleware; How Routing Works with Our Middleware; Registration Form; Registration Handler; Creating Users
Persisting UsersThe Sign Out Process; The Login Process; Getting My(SQL) Groove On; MySQL Requirements; Connecting to Databases; Creating ImageStore; Implementing ImageStore in DBImageStore; Uploading Images; Using Channels and Selects for Timeouts; Looping on selects; Throwing Away Goroutines; Using the Resized Images; Passing and Failing; Testing Multiple Variations of Inputs; Testing Between Packages; Testing the Gophr Authentication; Testing Remote HTTP requests; Benchmark Regressions; What is a package?; An Example Package; Exporting; Avoiding Circular Imports
Let's Implement a Real Package
Record Nr. UNINA-9910821583303321
Curtis Mal  
Collingwood, Victoria : , : SitePoint, , 2015
Materiale a stampa
Lo trovi qui: Univ. Federico II
Opac: Controlla la disponibilità qui