APIs and Servers and Whatnot
$71.99
Regular Price
$54.99
Bundle Price

APIs and Servers and Whatnot

Build APIs You Won't Hate
Servers for Hackers
The following 2 books are included in this bundle...

About the Bundle

Your API has to go somewhere, and unless you're literally made of money, and have some way to get that money through Heroku's payment gateway, then you need to know how to manage a server.

  • 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,105

    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.

Servers for Hackers

Servers for Hackers

Server Administration for Programmers
  • 367

    Pages

  • 80,401

    Words

  • PDF

  • EPUB

  • MOBI

  • APP

Don't catch Accidental Sysadmin Syndrome™

Application development is getting more complex, and we developers need to know how to setup and maintain the servers that run our applications. Don’t get stuck at 3am with a broken server, or in the middle of your workday fighting configuration. Learn how to administer your servers!

Run & Manage Web Servers

Learn how to install and configure Nginx, Apache so you can serve your web applications.

Multi-Server Setup

Learn how to connect multiple servers so they can work together for load balancing, caching, redundancy and more.

Latest Technologies

Learn how to install and manage the latest technologies, including setting up queues/workers, monitoring processes so they don’t fail, handling server and applications logging and more!

Setup and Security

Learn how to setup each server with needed software and security configuration to keep your applications and their data safe.

This includes preventing unauthorized access, managing permissions and users, learning how to use the iptables firewall, configuring SSH, enabling SSL certificates and more!

Case Studies

Read the case studies to learn from specific examples from real-world usage.

These includes examples of load balancing, web server configuration, caching and 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.

Chris Fidao
Chris Fidao

Coding in the PHP world for 10 years, Chris has much experience in architecting and structuring applications large and small.

Chris immediately jumped on board with Laravel 4 when he discovered it's rare mixture of ease-of-use and ingrained support for enterprise-grade code architecture.

You can find Chris blogging about Laravel and coding at fideloper.com and writing about servers at serversforhackers.com. He loves digging into the code to find the perfectly crafted solution.

Chris  works at UserScape, supporting and developing HelpSpot.

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