By Nathan Kozyra
Program and install speedy, scalable net providers and create high-performance RESTful APIs utilizing Go
About This Book
- Effectively set up and combine move net prone with purposes within the genuine world
- Familiarize your self with RESTful practices and practice them in Go
- A complete educational with plenty of information and tips to application and boost internet prone in Go
Who This ebook Is For
If you're a net programmer with adventure in constructing net providers and feature a rudimentary wisdom of utilizing pass, then this is often the publication for you. simple wisdom of pass in addition to wisdom of relational databases and non-relational NoSQL datastores is believed. a few easy concurrency wisdom can be required.
This e-book will take you thru an important features of designing, construction, and deploying an internet carrier using idiomatic leisure practices with a spotlight on velocity, safeguard, and suppleness. you'll start by way of development your first API in move utilizing the HTTP package deal. you are going to examine designing and construction your program together with renowned layout constructions like Model-View-Controller. additionally, you will comprehend equipment for deploying code to staging and improvement. ultimately, you will see that how the protection gains in pass can be utilized for defense opposed to SQL injection, and delicate information compromise.
By the tip of this e-book, you've gotten accomplished a excessive point of skillability in construction and deploying net providers and internet APIs with Go.
Read or Download Mastering Go Web Services PDF
Similar web programming books
Approximately This Book
Demystify the quandaries of internet improvement utilizing Play Framework
attempt and debug your apps by utilizing Play's in-built trying out framework
grasp the center positive factors of Scala via a entire insurance of code and examples for various scenarios
Who This ebook Is For
This ebook is meant for these builders who're prepared to grasp the interior workings of Play Framework to successfully construct and set up web-related apps.
What you are going to Learn
customise your framework to deal with the categorical requisites of an software
strengthen responsive, trustworthy, and hugely scalable purposes utilizing Play Framework
construct and customise Play Framework plugins that may be utilized in a number of Play functions
get yourself up to speed with third-party APIs to prevent rewriting current code
achieve an perception into some of the points of trying out and debugging in Play to effectively try your apps
Get to grasp all concerning the options of WebSockets and Actors to method messages in line with events
Play Framework is an open resource net program framework that's written in Java and Scala. It follows the Model-View-Controller architectural development and allows the consumer to hire Scala for software improvement, whereas maintaining key homes and contours of Play Framework intact.
Starting off by means of construction a simple software with minimum positive factors, you get an in depth perception into dealing with facts transactions and designing types in Play. subsequent, you enterprise into the strategies of Actors and WebSockets, the method of manipulating info streams, and checking out and debugging an program in Play. eventually, you achieve an perception into extending the framework via writing customized modules or plugins in Play. every one bankruptcy has a troubleshooting part that is helping you out through discussing the reasons of, and recommendations to, a few in most cases confronted concerns.
Organize for Microsoft examination 70-486 — and support display your real-world mastery of constructing ASP. internet MVC-based ideas. Designed for skilled builders able to improve their prestige, examination Ref specializes in the critical-thinking and decision-making acumen wanted for fulfillment on the Microsoft expert point.
DotNetNuke author Shaun Walker leads this superlative writer group of MVPs whereas supplying the newest replace of a bestseller. they give entire insurance of the most important revisions to DotNetNuke five, akin to extra granular management, widgets, XHTML compliance, more suitable social networking, workflow, and higher content material administration.
Extra resources for Mastering Go Web Services
Eclipse is very mature and has a gigantic community from which you can seek support when issues arise. Also, it's free to use. it is the only one listed here that is not free. This one feels more like a complete code/text editor than a heavy IDE, but it includes code completion options and the ability to integrate the Go compilers (or other languages' compilers) directly into the interface. Although Sublime Text's license costs $70, many developers find its elegance and speed to be well worth it.
Before that though, let's talk a little bit about the most important concepts that relate to web services, particularly those utilizing REST. Looking at REST So, what is REST exactly, and where did it come from? To start with, REST stands for Representational state transfer. This is important because the representation of data (and its metadata) is the critical part of data transfer. The state aspect of the acronym is slightly misleading because statelessness is actually a core component of the architecture.
By this we mean that anticipating every numerical user is untenable as it relates to mapping to a function. We need to be able to accept and use patterns. There are a few solutions for this problem. The first is to use a third-party platform that has this kind of robust routing built in. There are a few very good platforms to choose from, so we'll quickly look at these now. Gorilla Gorilla is an all-inclusive web framework, and one that we'll use quite a bit in this book. It has precisely the kind of URL routing package that we need (in its gorilla/mux package), and it also supplies some other very useful tools, such as JSON-RPC, secure cookies, and global session data.
Mastering Go Web Services by Nathan Kozyra