Hands-On RESTful Web Services with Go
BuildingRESTfulwebservicescanbetoughastherearecountlessstandardsandwaystodevelopAPI.Inmodernarchitecturessuchasmicroservices,RESTfulAPIsarecommonincommunication,makingidiomaticandscalableAPIdevelopmentcrucial.ThisbookcoversbasicthroughtoadvancedAPIdevelopmentconceptsandsupportingtools.You’llstartwithanintroductiontoRESTAPIdevelopmentbeforemovingontobuildingtheessentialblocksforworkingwithGo.You’llexplorerouters,middleware,andavailableopensourcewebdevelopmentsolutionsinGotocreaterobustAPIs,andunderstandtheapplicationanddatabaselayerstobuildRESTfulwebservices.You’lllearnvariousdataformatslikeprotocolbuffersandJSON,andunderstandhowtoservethemoverHTTPandgRPC.AftercoveringadvancedtopicssuchasasynchronousAPIdesignandGraphQLforbuildingscalablewebservices,you’lldiscoverhowmicroservicescanbenefitfromREST.You’llalsoexplorepackagingartifactsintheformofcontainersandunderstandhowtosetupanidealdeploymentecosystemforwebservices.Finally,you’llcovertheprovisioningofinfrastructureusinginfrastructureascode(IaC)andsecureyourRESTAPI.Bytheendofthebook,you’llhaveintermediateknowledgeofwebservicedevelopmentandbeabletoapplytheskillsyou’velearnedinapracticalway.
·8.4萬字