Vagrant API's
$38.99
Minimum price
$38.99
Suggested price

Vagrant API's

About the Bundle

Most developers know, deep down, that they should be provisioning environments for their development work to match their staging and production environements. Sometimes when working on a basic website that runs a FooCMS installation it is easy to just ignore it and run a basic LAMP stack or a MAMP/XAMP/WAMP alternative, but when you're building complex applications things get a little different, and that is where Vagrant steps in.

One instance of making a complex application is when you're building an API. You'll probably have Redit/Memcache/both, lots of credentials to put into place that you don't want in your Git repo, all sorts of worker processes, Chef/Puppet/Ansible scripts to run, etc. An API has a lot of moving parts, and it can be complicated to get them all running perfectly for everyone who needs to work with your API, especially your iPhone/Andriod developer who has never heard of Composer before, and needs to have a local copy of the codebase so he can work with feature branches without spoiling your enire staging server.

Vagrant and API development go together like peanut butter and jelly. Like Keanan and Kel. Like tea and... everything.

  • Share this bundle
  • Categories

    • Software
    • Vagrant
    • Programming Cookbooks
    • Self-Help
    • API Design

About the Books

Vagrant CookBook

A practical guide to Vagrant
  • 1,581

    Readers

  • 128

    Pages

  • 20,466

    Words

  • 100%

    Complete

  • PDF

  • EPUB

  • WEB

Portable and Disposable environments for effective development

How many times did you hear the sentence "it works on my machine"? With Vagrant, this excuse won't cut anymore. Your environments will be exactly the way you want them to be, targeting specific projects for different needs. Portable, disposable and reproducible. As easy as cloning a repository and running "vagrant up".

This book covers from basic to advanced concepts on Vagrant, including important ProTips to improve your Vagrant projects and to avoid common mistakes. It is updated to cover recent features like Vagrant Share and Vagrant Push.

Configuration Management Tools

Vagrant Cookbook comes with quick guides to 3 of the most popular configuration management tools out there, which can be used as provisioners for Vagrant: Ansible, Puppet and Chef. Following the guide, a practical example will show you how to provision a basic web server running Nginx with PHP 7. Choose the tool you like the most!

Recipes for common tasks

The book also includes useful recipes for common tasks, written in Ansible, Puppet and Chef.

Code Samples

The complete provisioner examples are available for free on GitHub.

Audience

Vagrant Cookbook targets beginner to intermediate users, also serving as a quick getting-started guide for Ansible, Puppet and Chef.

Updates

Thanks to the LeanPub platform, when buying this book you'll get lifelong updates at no extra cost. For any new content / corrections, you will be notified to download the newest version.

Printed Version

If you prefer a printed version (paperback) rather than an ebook, you can get it here: http://www.lulu.com/shop/erika-heidi/vagrant-cookbook/paperback/product-21809746.html . As a downside, you won't be getting future updates as with the Leanpub version.

Build APIs You Won't Hate

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

    Readers

  • 194

    Pages

  • 38,206

    Words

  • 100%

    Complete

  • PDF

  • EPUB

  • WEB

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 Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

80% Royalties. Earn $16 on a $20 book.

We pay 80% royalties. That's not a typo: you earn $16 on a $20 sale. If we sell 5000 non-refunded copies of your book or course for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earnedover $13 millionwriting, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

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. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub