Designing Web APIs

Building APIs That Developers Love
Author: Brenda Jin,Saurabh Sahni,Amir Shevat
Publisher: "O'Reilly Media, Inc."
ISBN: 1492026875
Category: Computers
Page: 232
View: 9332
DOWNLOAD NOW »
Using a web API to provide services to application developers is one of the more satisfying endeavors that software engineers undertake. But building a popular API with a thriving developer ecosystem is also one of the most challenging. With this practical guide, developers, architects, and tech leads will learn how to navigate complex decisions for designing, scaling, marketing, and evolving interoperable APIs. Authors Brenda Jin, Saurabh Sahni, and Amir Shevat explain API design theory and provide hands-on exercises for building your web API and managing its operation in production. You’ll also learn how to build and maintain a following of app developers. This book includes expert advice, worksheets, checklists, and case studies from companies including Slack, Stripe, Facebook, Microsoft, Cloudinary, Oracle, and GitHub. Get an overview of request-response and event-driven API design paradigms Learn best practices for designing an API that meets the needs of your users Use a template to create an API design process Scale your web API to support a growing number of API calls and use cases Regularly adapt the API to reflect changes to your product or business Provide developer resources that include API documentation, samples, and tools

Designing Evolvable Web APIs with ASP.NET


Author: Glenn Block,Pablo Cibraro,Pedro Felix,Howard Dierking,Darrel Miller
Publisher: "O'Reilly Media, Inc."
ISBN: 1449337902
Category: COMPUTERS
Page: 538
View: 5323
DOWNLOAD NOW »
Design and build Web APIs for a broad range of clients—including browsers and mobile devices—that can adapt to change over time. This practical, hands-on guide takes you through the theory and tools you need to build evolvable HTTP services with Microsoft’s ASP.NET Web API framework. In the process, you’ll learn how design and implement a real-world Web API. Ideal for experienced .NET developers, this book’s sections on basic Web API theory and design also apply to developers who work with other development stacks such as Java, Ruby, PHP, and Node. Dig into HTTP essentials, as well as API development concepts and styles Learn ASP.NET Web API fundamentals, including the lifecycle of a request as it travels through the framework Design the Issue Tracker API example, exploring topics such as hypermedia support with collection+json Use behavioral-driven development with ASP.NET Web API to implement and enhance the application Explore techniques for building clients that are resilient to change, and make it easy to consume hypermedia APIs Get a comprehensive reference on how ASP.NET Web API works under the hood, including security and testability

Irresistible APIs: Designing Web APIs That Developers Will Love


Author: Kirsten L. Hunter
Publisher: Manning Publications
ISBN: 9781617292552
Category: Computers
Page: 325
View: 4275
DOWNLOAD NOW »
A Web API is a platform with a web-style interface developers can use to implement functionality. Well-designed APIs feel like a natural extension of the application, rather than just a new interface into the backend database. Designing Web APIs based on use cases allows an organization to develop irresistible APIs, which developers can consume easily and which support the business values of that organization. Irresistible APIs provides step-by-step, jargon-free guidance for designing APIs that reflect an application's core business value, delight the developers who use them, and will stand the test of time. In it, business product managers and developers learn to treat an API as a first class product, discovering what questions to ask during design so that the first version is the best possible product. Because APIs are a combination of business needs and technical implementations, exercises throughout the book present both sides of the design process, allowing users to engage with the material that's most comfortable and relevant for them. After reading, teams will be able to design APIs that attract developers, lead their industry, and add value to their core business. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

Modern Web Development with IBM WebSphere

Developing, Deploying, and Managing Mobile and Multi-Platform Apps
Author: Kyle Brown,Roland Barcia,Karl Bishop,Matthew Perrins
Publisher: IBM Press
ISBN: 0133067092
Category: Computers
Page: 384
View: 6399
DOWNLOAD NOW »
Build Tomorrow’s Best Mobile/Web Applications with IBM WebSphere Application Server 8.5 and IBM Worklight This guide presents a coherent strategy for building modern mobile/web applications that are fast, responsive, interactive, reusable, maintainable, extensible, and a pleasure to use. Four IBM experts offer practical, hands-on coverage of front-end development with IBM WebSphere Application Server 8.5, IBM Worklight, and today’s most popular open source frameworks. Using well-crafted examples, the authors introduce best practices for MobileFirst development, helping you create apps that work superbly on mobile devices and add features on conventional browsers. Throughout, you’ll learn better ways to deliver Web 2.0 apps with HTML /JavaScript front ends, RESTful Web Services, and persistent data. Proven by IBM and its customers, the approach covered in this book leads to more successful mobile/web applications—and more effective development teams. Coverage Includes • Developing for MobileFirst: moving from “graceful degradation” to “progressive enhancement” • Quickly delivering lightweight JEE apps with WebSphere Application Server’s new Liberty Profile • Implementing an agile, user-centered, page-oriented approach to design • Constructing REST services with WebSphere Liberty, Eclipse, and JEE annotations • Building better front-end application architectures with frameworks and JavaScript • Designing and building complex, transactional RESTful services that interface with databases and other data sources • Building IBM Worklight hybrid apps with open source frameworks: jQuery Mobile, Backbone, Require.js, and Handlebars • Debugging cross-platform, multi-language modern web apps • Promoting scalability, security, and connectivity into the wider enterprise The IBM Press developerWorks Series pairs books with complementary resources on the developerWorks website at https://www.ibm.com/developerworks/dwbooks/

REST API Design Rulebook

Designing Consistent RESTful Web Service Interfaces
Author: Mark Masse
Publisher: "O'Reilly Media, Inc."
ISBN: 1449319904
Category: Computers
Page: 116
View: 4178
DOWNLOAD NOW »
In today’s market, where rival web services compete for attention, a well-designed REST API is a must-have feature. This concise book presents a set of API design rules, drawn primarily from best practices that stick close to the Web’s REST architectural style. Along with rules for URI design and HTTP use, you’ll learn guidelines for media types and representational forms. REST APIs are ubiquitous, but few of them follow a consistent design methodology. Using these simple rules, you will design web service APIs that adhere to recognized web standards. To assist you, author Mark Massé introduces the Web Resource Modeling Language (WRML), a conceptual framework he created for the design and implementation of REST APIs. Learn design rules for addressing resources with URIs Apply design principles to HTTP’s request methods and response status codes Work with guidelines for conveying metadata through HTTP headers and media types Get design tips to address the needs of client programs, including the special needs of browser-based JavaScript clients Understand why REST APIs should be designed and configured, not coded

Mastering ASP.NET Web API


Author: Mithun Pattankar,Malendra Hurbuns
Publisher: Packt Publishing Ltd
ISBN: 1786469383
Category: Computers
Page: 330
View: 5034
DOWNLOAD NOW »
Leverage ASP.Net Web API to build professional web services and create powerful applications. About This Book Get a comprehensive analysis of the latest specification of ASP.NET Core and all the changes to the underlying platform that you need to know to make the most of the web API See an advanced coverage of ASP.NET Core Web API to create robust models for your data, create controllers, and handle routing and security This book is packed with key theoretical and practical concepts that can be instantly applied to build professional applications using API with Angular 4, Ionic, and React Who This Book Is For This book is for .Net developers who wants to Master ASP.NET Core (Web API) and have played around with previous ASP.NET Web API a little, but don't have in-depth knowledge of it. You need to know Visual Studio and C#, and have some HTML, CSS, and JavaScript knowledge. What You Will Learn Acquire conceptual and hands-on knowledge of ASP.NET Core (MVC & Web API) Learn about HTTP methods, the structure of HTTP content, internet media types, and how servers respond to HTTP requests and their associated HTTP codes Explore middleware, filters, routing, and unit testing Optimize Web API implementations Develop a secure Web API interface Deploy Web API projects to various platforms Consume your web API in front end application based on Angular 4, Bootstrap, and Ionic Implement and explore the current trends in service architecture In Detail Microsoft has unified their main web development platforms. This unification will help develop web applications using various pieces of the ASP.NET platform that can be deployed on both Windows and LINUX. With ASP.NET Core (Web API), it will become easier than ever to build secure HTTP services that can be used from any client. Mastering ASP.NET Web API starts with the building blocks of the ASP.NET Core, then gradually moves on to implementing various HTTP routing strategies in the Web API. We then focus on the key components of building applications that employ the Web API, such as Kestrel, Middleware, Filters, Logging, Security, and Entity Framework.Readers will be introduced to take the TDD approach to write test cases along with the new Visual Studio 2017 live unit testing feature. They will also be introduced to integrate with the database using ORMs. Finally, we explore how the Web API can be consumed in a browser as well as by mobile applications by utilizing Angular 4, Ionic and ReactJS. By the end of this book, you will be able to apply best practices to develop complex Web API, consume them in frontend applications and deploy these applications to a modern hosting infrastructure. Style and approach Using a hands-on approach, we cover both the conceptual as well as the technical aspects of the ASP.NET Core (Web API) framework.

RESTful Web APIs

Services for a Changing World
Author: Leonard Richardson,Mike Amundsen,Sam Ruby
Publisher: "O'Reilly Media, Inc."
ISBN: 1449359736
Category: Computers
Page: 406
View: 9098
DOWNLOAD NOW »
The popularity of REST in recent years has led to tremendous growth in almost-RESTful APIs that don’t include many of the architecture’s benefits. With this practical guide, you’ll learn what it takes to design usable REST APIs that evolve over time. By focusing on solutions that cross a variety of domains, this book shows you how to create powerful and secure applications, using the tools designed for the world’s most successful distributed computing system: the World Wide Web. You’ll explore the concepts behind REST, learn different strategies for creating hypermedia-based APIs, and then put everything together with a step-by-step guide to designing a RESTful Web API. Examine API design strategies, including the collection pattern and pure hypermedia Understand how hypermedia ties representations together into a coherent API Discover how XMDP and ALPS profile formats can help you meet the Web API "semantic challenge" Learn close to two-dozen standardized hypermedia data formats Apply best practices for using HTTP in API implementations Create Web APIs with the JSON-LD standard and other the Linked Data approaches Understand the CoAP protocol for using REST in embedded systems

RESTful Java Web Services

A pragmatic guide to designing and building RESTful APIs using Java
Author: Bogunuva Mohanram Balachandar
Publisher: Packt Publishing Ltd
ISBN: 1788294963
Category: Computers
Page: 420
View: 7158
DOWNLOAD NOW »
Master core REST concepts and create RESTful web services in Java About This Book Build efficient and secure RESTful web APIs in Java.. Design solutions to produce, consume and visualize RESTful web services using WADL, RAML, and Swagger Familiarize the role of RESTful APIs usage in emerging technology trends like Cloud, IoT, Social Media. Who This Book Is For If you are a web developer with a basic understanding of the REST concepts and envisage to get acquainted with the idea of designing and developing RESTful web services, this is the book for you. As all the code samples for the book are written in Java, proficiency in Java is a must. What You Will Learn Introduce yourself to the RESTful software architectural style and the REST API design principles Make use of the JSR 353 API, JSR 374 API, JSR 367 API and Jackson API for JSON processing Build portable RESTful web APIs, making use of the JAX-RS 2.1 API Simplify API development using the Jersey and RESTEasy extension APIs Secure your RESTful web services with various authentication and authorization mechanisms Get to grips with the various metadata solutions to describe, produce, and consume RESTful web services Understand the design and coding guidelines to build well-performing RESTful APIs See how the role of RESTful web services changes with emerging technologies and trends In Detail Representational State Transfer (REST) is a simple yet powerful software architecture style to create lightweight and scalable web services. The RESTful web services use HTTP as the transport protocol and can use any message formats, including XML, JSON(widely used), CSV, and many more, which makes it easily inter-operable across different languages and platforms. This successful book is currently in its 3rd edition and has been used by thousands of developers. It serves as an excellent guide for developing RESTful web services in Java. This book attempts to familiarize the reader with the concepts of REST. It is a pragmatic guide for designing and developing web services using Java APIs for real-life use cases following best practices and for learning to secure REST APIs using OAuth and JWT. Finally, you will learn the role of RESTful web services for future technological advances, be it cloud, IoT or social media. By the end of this book, you will be able to efficiently build robust, scalable, and secure RESTful web services using Java APIs. Style and approach Step-by-step guide to designing and developing robust RESTful web services. Each topic is explained in a simple and easy-to-understand manner with lots of real-life use-cases and their solutions.

Service-Oriented Computing - ICSOC 2007 Workshops

ICSOC 2007 International Workshops, Vienna, Austria, September 17, 2007, Revised Selected Papers
Author: Elisabetta Di Nitto
Publisher: Springer Science & Business Media
ISBN: 3540938508
Category: Computers
Page: 452
View: 2445
DOWNLOAD NOW »
This book constitutes the thoroughly refereed papers presented at five international workshops held in conjunction with the 5th International Conference on Service-Oriented Computing, ICSOC 2007, in Vienna, Austria, in September 2007. The five workshops were selected out of eight submissions. The volume contains papers presented at the First International Workshop on Web APIs and Services Mashups (Mashups 2007), the Workshop on Non-Functional Properties and Service Level Agreements in Service-Oriented Computing (NFPSLA-SOC 2007), the 2nd International Workshop on Business-Oriented Aspects Concerning Semantics and Methodologies in Service-Oriented Computing (SeMSoC 2007), the First International Workshop on Telecom Service-Oriented Architectures (TSOA 2007) and the Third International Workshop on Engineering Service-Oriented Applications (WESOA 2007). The papers offer a wide range of hot topics in service-oriented computing: development of mashups; management of non-functional properties and service level agreements; engineering approaches; semantic methodologies; and telecom services and service architectures.

Hands-On RESTful API Design Patterns and Best Practices

Design, develop, and deploy highly adaptable, scalable, and secure RESTful web APIs
Author: Harihara Subramanian,Pethuru Raj
Publisher: Packt Publishing Ltd
ISBN: 1788998588
Category: Computers
Page: 378
View: 994
DOWNLOAD NOW »
Build effective RESTful APIs for enterprise with design patterns and REST framework’s out-of-the-box capabilities Key Features Understand advanced topics such as API gateways, API securities, and cloud Implement patterns programmatically with easy-to-follow examples Modernize legacy codebase using API connectors, layers, and microservices Book Description This book deals with the Representational State Transfer (REST) paradigm, which is an architectural style that allows networked devices to communicate with each other over the internet. With the help of this book, you’ll explore the concepts of service-oriented architecture (SOA), event-driven architecture (EDA), and resource-oriented architecture (ROA). This book covers why there is an insistence for high-quality APIs toward enterprise integration. It also covers how to optimize and explore endpoints for microservices with API gateways and touches upon integrated platforms and Hubs for RESTful APIs. You’ll also understand how application delivery and deployments can be simplified and streamlined in the REST world. The book will help you dig deeper into the distinct contributions of RESTful services for IoT analytics and applications. Besides detailing the API design and development aspects, this book will assist you in designing and developing production-ready, testable, sustainable, and enterprise-grade APIs. By the end of the book, you’ll be empowered with all that you need to create highly flexible APIs for next-generation RESTful services and applications. What you will learn Explore RESTful concepts, including URI, HATEOAS, and Code on Demand Study core patterns like Statelessness, Pagination, and Discoverability Optimize endpoints for linked microservices with API gateways Delve into API authentication, authorization, and API security implementations Work with Service Orchestration to craft composite and process-aware services Expose RESTful protocol-based APIs for cloud computing Who this book is for This book is primarily for web, mobile, and cloud services developers, architects, and consultants who want to build well-designed APIs for creating and sustaining enterprise-class applications. You’ll also benefit from this book if you want to understand the finer details of RESTful APIs and their design techniques along with some tricks and tips.

ASP.NET MVC 4 and the Web API

Building a REST Service from Start to Finish
Author: Jamie Kurtz
Publisher: Apress
ISBN: 1430249781
Category: Computers
Page: 152
View: 7070
DOWNLOAD NOW »
This one hundred page book focuses exclusively on how you can best use the ASP.NET MVC 4 Framework to build world-class REST services using the Web API. It sets aside much of what the ASP.NET MVC Framework can do, and focuses exclusively on how the Web API can help you build web services. You will not find any help on CSS, HTML, JavaScript, or jQuery. Nor will you find any help on the Razor view engine, HTML Helpers, or model binding. If you need this information then Pro ASP.NET MVC 4 is your perfect book. ASP.NET MVC 4 and the Web API: Building a REST Service from Start to Finish helps you build cutting-edge REST services using ASP.NET MVC 4 and the Web API in more depth and detail than any other resource. ASP.NET MVC has always been a good platform on which to implement REST, but with the advent of the Web API it has now become even better. This book will show you why it's great and how to get the most from it. Author Jamie Kurtz will take you from zero to full-blown REST service hero in no time at all. And you'll even learn how to incorporate some popular open source tools along the way: little or no experience with ASP.NET or the MVC Framework is required.

Hands-On RESTful Web Services with TypeScript 3

Design and develop scalable RESTful APIs for your applications
Author: Biharck Muniz Araújo
Publisher: Packt Publishing Ltd
ISBN: 1789955017
Category: Computers
Page: 470
View: 1454
DOWNLOAD NOW »
A step-by-step guide that will help you design, develop, scale, and deploy RESTful APIs with TypeScript 3 and Node.js Key Features Gain in-depth knowledge of OpenAPI and Swagger to build scalable web services Explore a variety of test frameworks and test runners such as Stryker, Mocha, and Chai Create a pipeline by Dockerizing your environment using Travis CI, Google Cloud Platform, and GitHub Book Description In the world of web development, leveraging data is the key to developing comprehensive applications, and RESTful APIs help you to achieve this systematically. This book will guide you in designing and developing web services with the power of TypeScript 3 and Node.js. You'll design REST APIs using best practices for request handling, validation, authentication, and authorization. You'll also understand how to enhance the capabilities of your APIs with ODMs, databases, models and views, as well as asynchronous callbacks. This book will guide you in securing your environment by testing your services and initiating test automation with different testing approaches. Furthermore, you'll get to grips with developing secure, testable, and more efficient code, and be able to scale and deploy TypeScript 3 and Node.js-powered RESTful APIs on cloud platforms such as the Google Cloud Platform. Finally, the book will help you explore microservices and give you an overview of what GraphQL can allow you to do. By the end of this book, you will be able to use RESTful web services to create your APIs for mobile and web apps and other platforms. What you will learn Explore various methods to plan your services in a scalable way Understand how to handle different request types and the response status code Get to grips with securing web services Delve into error handling and logging your web services for improved debugging Uncover the microservices architecture and GraphQL Create automated CI/CD pipelines for release and deployment strategies Who this book is for If you’re a developer who has a basic understanding of REST concepts and want to learn how to design and develop RESTful APIs, this book is for you. Prior knowledge of TypeScript will help you make the most out of this book.

Learning Behavior-driven Development with JavaScript


Author: Enrique Amodeo
Publisher: Packt Publishing Ltd
ISBN: 1784390178
Category: Computers
Page: 392
View: 9447
DOWNLOAD NOW »
This book is ideal for any JavaScript developer who is interested in producing well-tested code. If you have no prior experience with testing, Node.js, or any other tool, do not worry, as they will be explained from scratch.

RESTful Java Web Services


Author: Jobinesh Purushothaman
Publisher: Packt Publishing Ltd
ISBN: 1784396370
Category: Computers
Page: 354
View: 3266
DOWNLOAD NOW »
Design scalable and robust RESTful web services with JAX-RS and Jersey extension APIs About This Book Get to grips with the portable Java APIs used for JSON processing Design solutions to produce, consume, and visualize RESTful web services using WADL, RAML, and Swagger A step-by-step guide packed with many real-life use-cases to help you build efficient and secure RESTful web APIs in Java Who This Book Is For If you are a web developer with a basic understanding of the REST concepts but are new to the idea of designing and developing RESTful web services, this is the book for you. As all the code samples for the book are written in Java, proficiency in Java is a must. What You Will Learn Introduce yourself to the RESTful software architectural style and the REST API design principles Make use of the JSR 353 APIs and Jackson API for JSON processing Build portable RESTful web APIs, making use of the JAX-RS 2.0 API Simplify API development using the Jersey extension APIs Secure your RESTful web services with various authentication and authorization mechanisms Get to grips with the various metadata solutions to describe, produce, and consume RESTful web services Understand the design and coding guidelines to build well-performing RESTful APIs See how the role of RESTful web services changes with emerging technologies and trends In Detail REST (REpresentational State Transfer) is a simple yet powerful software architecture style to create scalable web services and allow them to be simple, lightweight, and fast. The REST API uses HTTP and JSON, so that it can be used with many programming languages such as Ruby, Java, Python, and Scala. Its use in Java seems to be the most popular though, because of the API's reusability. This book is a guide to developing RESTful web services in Java using the popular RESTful framework APIs available today. You will begin with gaining an in-depth knowledge of the RESTful software architectural style and its relevance in modern applications. Further, you will understand the APIs to parse, generate, transform, and query JSON effectively. Then, you will see how to build a simple RESTful service using the popular JAX-RS 2.0 API along with some real-world examples. This book will introduce you to the Jersey framework API, which is used to simplify your web services. You will also see how to secure your services with various authentication mechanisms. You will get to grips with various solutions to describe, produce, consume, and visualize RESTful web services. Finally, you will see how to design your web services to equip them for the future technological advances, be it Cloud or mobile computing. By the end of this book, you will be able to efficiently build robust, scalable, and secure RESTful web services, making use of the JAX-RS and Jersey framework extensions. Style and approach This book is written as a step-by-step guide to designing and developing robust RESTful web services. Each topic is explained in a simple and easy-to-understand manner with lots of real-life use-cases and their solutions.

Guide to Standards and Specifications for Designing Web Software


Author: Stan Magee,Leonard L. Tripp
Publisher: Artech House Publishers
ISBN: 9780890068199
Category: Computers
Page: 353
View: 4939
DOWNLOAD NOW »
This is a "must-have" book for every Internet software designer! This unique guide provides abstracts of nearly 300 standards and specifications, and listings on over 200 other Internet-related documents. The book explains what each standard covers, its appropriate software design category, and where to obtain copies of the complete document.