Leanpub Header

Skip to main content

Napravite API Koji Nećete Mrzeti

Svako sa svojim psom želi API, tako da biste verovatno trebali da naučite da ga napravite

Dobili ste zadatak od svoje firme da napravite API, ali nemate pojma odakle početi? Preuzeli ste API i mrzite ga? Napravili ste svoj API i još uvek ga mrzite? Ovo je knjiga za vas.

This book is a translation into Serbian (Cyrillic) of Build APIs You Won't Hate which was originally written in English

The authors are letting you choose the price you pay for this book!

Pick Your Price...
PDF
EPUB
WEB
151
Pages
About

About

About the Book

Razvoj API interfejsa postaje jako uobičajen za server-side programere zahvaljujući nastanku mnogih front-end JavaScript radnih okvira, iPhone aplikacija i na  API interfejsima baziranih arhitektura. Može delovati da je uzimanje stvari iz izvora podataka i prikazivanje istih kao JSON lako, ali preživljavanje promena u biznis logici, ažuriranja shema baza podataka, novih karakteristika ili zaostalih krajnjih tačaka može biti noćna mora.

Pošto je shvatio da su mnogi od postojećih resursa, koji se tiču razvoja API interfejsa, oskudni, Phil je naučio mnogo stvari na teži način putem pokušaja i pogrešaka. Cilj ove knjige je da sažme to iskustvo, dajući primere i objašnjenja na mnogo višem nivou nego trivijalni tutorijali o kruškama i jabukama.

Phil je radio primarno kao API programer u poslednjih tri godina. Jedan užas je bio upravljanje nad API interfejsom, koji je napravio honorarac u FuelPHP-u u startup kompaniji kojoj je pristupio. Koristio je zaostali ORM , koji je bio prepravljan do smrti od strane prethodnog programera, tako da je isti obrisao i napravio novu verziju u Laravel-u, koristeći jednostavna rutiranja, migracije baza podataka, sheme, seeding itd.. Kada je napravljena sledeća glavna verzija nije se zahtevalo prepisivanje, a obe su nastavile da egzistiraju jedna pored druge na istim "API" serverima.

Prenošenjem na vas najboljih iskustava i dobrih saveta, u kombinaciji sa užasnim pričama i kako su bile prevaziđene,  možete jako brzo početi sa razvojem API interjesa. U ovoj knjizi će biti reči o dizajniranju i izradi API interfejsa u bilo kom jeziku ili radnom okviru, a ova teorija biće primenjena na primere u programskom jeziku PHP. 

Neke od naprednijih tema o kojima je ovde reči su testirane krajnjih tačaka, ugrađivanje objekata podataka na konzistentan i skalabilan način, straničenje odziva (uključujući ugrađene objekete) i hipermedija "HATEOAS" kontrole.

Share this book

This book is a translation into Serbian (Cyrillic) of Build APIs You Won't Hate which was originally written in English

Price

Pick Your Price...

Minimum price

$25.99

$28.99

You pay

$28.99

Authors earn

$23.19
$

All prices are in US $. You can pay in US $ or in your local currency when you check out.

EU customers: prices exclude VAT, which is added during checkout.

...Or Buy With Credits!

Number of credits (Minimum 2)

2
The author will earn $24.00 from your purchase!
You can get credits monthly with a Reader Membership

Author

About the Authors

Phil Sturgeon

Since 2010 I've worked as a freelancer, consultant, API lead, and CTO for several API-centric technology startups. Working as an internal API consultant for WeWork gave me a lot to write about, where I used my experience of things going horribly horribly wrong to help educate developers, define standards for API design and architecture, and implementing full API design lifecycles so we weren't all just building nonsense and hoping it was useful.

Trying to get loads of different questionably built APIs tidied up, playing nicely, and working quickly was a constant source of learning for me and everyone involved. I took a lot of that learning to Stoplight, and helped plan, build, and manage most of your favourite OpenAPI tools.

When I'm not banging on about APIs I'm riding, racing, or crashing various bikes, or saving the plant through Protect Earth, an environmental charity I co-founded in 2020. We create brand new woodlands, restore and extend ancient woodlands, and run around with machetes getting rid of invasive species.

Leanpub Podcast

Episode 292

An Interview with Phil Sturgeon

Slaviša Petrović

Slaviša Petrović is 39 years old Diplom-Ingenieur in the field od Electronics and Telecommunications. He works as programming teacher and freelance developer, building websites and web applications using PHP, Laravel and Wordpress.

Slaviša Petrović ima 39 godina, po zanimanju je diplomrani inženjer elekrotehnike. Zaposlen kao profesor računarstva i informatike, programiranja. Takođe radi i kao freelance programer web aplikacija koristeći PHP, Laravel, Wordpress.

Contents

Table of Contents

  • Uvod
  • Kod iz Primera
  • Upotrebljivi Seeding Baze Podataka
    • Uvod
    • Uvod u Seeding Baze Podataka
    • Pravljenje Sidera
    • To je sve
    • Sekundarni podaci
    • Kada treba ovo izvršiti?
  • Planiranje i Kreiranje Krajnjih Tačaka
    • Funkcionalni Zahtevi
    • Teorija krajnjih tačaka
    • Planiranje Krajnjih Tačaka
  • Teorija Ulaza i Izlaza
    • Uvod
    • Zahtevi
    • Odzivi
    • Podržani Formati
    • Struktura sadržaja
  • Statusni Kodovi, Greške i Poruke
    • Uvod
    • HTTP Statusni Kodovi
    • Kodovi i Poruke Grešaka
    • Greška ili Greške
    • Standardi za Odzive sa Greškama
    • Uobičajene Zamke
  • Testiranje Krajnjih Tačaka
    • Uvod
    • Koncepti i Alati
    • Postavka
    • Inicijalizacija
    • Features
    • Scenarija
    • Priprema Paketa Behat
    • Pokretanje Paketa Behat
  • Prikazivanje Podataka
    • Uvod
    • Direktni Pristup
    • Transformaticije uz Pomoć Paketa Fractal
    • Sakrivanje Sheme za Ažuriranje
    • Prikazivanje grešaka
    • Testiranje Izlaza
    • Domaći Zadatak
  • Relacije Podataka
    • Uvod
    • Podresursi
    • Nizovi Stranih Ključeva
    • Složeni Dokumenti (poznatije kao Side-Loading Prenos)
    • Ugrađeni Dokumenti (poznatije kao Ugnježdavanje)
    • Rezime
  • Otklanjanje Grešaka
    • Uvod
    • Otkljanjanje grešaka sa komandne linije
    • Otkljanjanje grešaka preko internet pregledača
    • Otkljanjanje grešaka preko mreže
  • Autentifikacija
    • Uvod
    • Kada je Autentifikacija korisna?
    • Drugi Pristupi Autentifikaciji
    • Implementacija OAuth 2.0 Servera
    • Gde živi OAuth 2.0 Server
    • Razumevanje OAuth 2.0 Tipova Odobrenja (Grant Types)
  • Straničenje
    • Uvod
    • Paginator
    • Ofseti i Kursori
  • Dokumentacija
    • Uvod
    • Tipovi Dokumentacije
    • Biranje Alata
    • Postavljanje Alata API Blueprint i Aglio
    • Učenje Sintakse API Blueprint Formata
    • Za Samostalno Čitanje
  • HATEOAS
    • Uvod
    • Pregovaranje po pitanju sadržaja
    • Hipermedija Kontrole
  • API Verzionisanje
    • Uvod
    • Različiti Pristupi API Verzionisanju
    • Pitajte Vaše Korisnike
  • Zaključak
  • Dalje Čitanje

Get the free sample chapters

Click the buttons to get the free sample in PDF or EPUB, or read the sample online here

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...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

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

In fact, authors have earned over $14 million writing, 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