Build Node APIs Like a Craftsman!
$49.99
Regular Price
$39.99
Bundle Price

Build Node APIs Like a Craftsman!

Build APIs You Won't Hate
The Node Craftsman Book
The following 2 books are included in this bundle...

About the Bundle

Looking to build a good quality REST API? Want to built it with Node? Get this bundle to work out how to do both!

  • Share this bundle

About the Books

Build APIs You Won't Hate

Build APIs You Won't Hate

Everyone and their dog wants an API, so you should probably learn how to build them.
  • 4,103

    Readers

  • 194

    Pages

  • 38,206

    Words

  • 100%

    Complete

  • PDF

  • EPUB

  • MOBI

  • APP

API development is becoming increasingly common for server-side developers thanks to the rise of front-end JavaScript frameworks, iPhone applications, and API-centric architectures. It might seem like grabbing stuff from a data source and shoving it out as JSON would be easy, but surviving changes in business logic, database schema updates, new features, or deprecated endpoints can be a nightmare.

After finding many of the existing resources for API development to be lacking, Phil learned a lot of things the hard way through years of trial and error. This book aims to condense that experience, taking examples and explanations further than the trivial apples and pears nonsense tutorials often provide.

Phil worked primarily as an API developer for the last three years. One horror was managing an API built in FuelPHP by a freelancer at the million dollar startup he joined. It was utilizing a then deprecated ORM which had been hacked to death by the previous developer, so took the time to delete that mess and build the next version in Laravel, leveraging it's simple routing, database migrations, schema, seeding, etc. When the following major version of the API was built no rewrite was required, and both managed to live side-by-side on the same "API" servers.

By passing on some best practices and general good advice you can hit the ground running with API development, combined with some horror stories and how they were overcome/avoided/averted. This book will discuss the theory of designing and building APIs in any language or framework, with this theory applied in PHP-based examples.

Some of the more advanced topics covered here are endpoint testing, embedding data objects in a consistent and scalable manner, paginating responses (including embedded objects) and hypermedia "HATEOAS" controls.

The Node Craftsman Book

The Node Craftsman Book

An advanced Node.js tutorial
  • 12,914

    Readers

  • 170

    Pages

  • 30,799

    Words

  • 100%

    Complete

  • PDF

  • EPUB

  • MOBI

  • APP

The aim of The Node Craftsman Book is to help beginning JavaScript programmers who already know how to write basic Node.js applications in mastering JavaScript and Node.js thoroughly.

It is the official sequel to The Node Beginner Book, digging deeper and covering a lot more topics from the world of Node.js and JavaScript development:

  • How can you connect to a database like MongoDB or MySQL from your Node.js application?
  • How do you write unit tests and end-to-end tests for your code?
  • How do you leverage migrations for setting up a continuous deployment workflow?
  • How does the Node Package Manager, NPM, work in detail?
  • How does object-orientation actually work in JavaScript?
  • How do you keep your code fast and efficient by leveraging asynchronous and non-blocking operations?
  • How do you use and create event emitters?
  • How do you write full-fledged web applications using REST frameworks?
  • How do you integrate Node.js with AngularJS?
  • ...and much more!

About the Authors

Phil Sturgeon
Phil Sturgeon

Phil spent years developing websites with a bunch of languages and frameworks such as PHP, Laravel, Ruby on Rails, Python and EmberJS to name but a few. Over the years he has ended up writing handfuls of APIs and worked implementing even more. This gave him considerable perspective on the good, the bad and the ugly of API development.

Being a core-contributor to CodeIgniter, FuelPHP and PyroCMS has given him some insight on framework-interoperability - leading him to join the PHP-FIG, which strives to make lives easier for developers through standards and interfaces.

Now he uses this extensive and random experience to try to improve the quality of code in the PHP community, one package, book, framework, or API at a time.

Manuel Kiessling
Manuel Kiessling

Manuel Kiessling is a software developer and IT manager living in Cologne, Germany. He's interested in Behaviour- and Test-Driven Development and Agile practices.

The Leanpub Unconditional, No Risk, 100% Happiness Guarantee

Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms

Write and Publish on Leanpub

Authors and publishers use Leanpub to publish amazing in-progress and completed ebooks, just like this one. You can use Leanpub to write, publish and sell your book as well! Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks. Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. It really is that easy.

Learn more about writing on Leanpub