ورود به حساب

نام کاربری گذرواژه

گذرواژه را فراموش کردید؟ کلیک کنید

حساب کاربری ندارید؟ ساخت حساب

ساخت حساب کاربری

نام نام کاربری ایمیل شماره موبایل گذرواژه

برای ارتباط با ما می توانید از طریق شماره موبایل زیر از طریق تماس و پیامک با ما در ارتباط باشید


09117307688
09117179751

در صورت عدم پاسخ گویی از طریق پیامک با پشتیبان در ارتباط باشید

دسترسی نامحدود

برای کاربرانی که ثبت نام کرده اند

ضمانت بازگشت وجه

درصورت عدم همخوانی توضیحات با کتاب

پشتیبانی

از ساعت 7 صبح تا 10 شب

دانلود کتاب Build APIs You Won't Hate

دانلود کتاب API هایی بسازید که از آنها متنفر نباشید

Build APIs You Won't Hate

مشخصات کتاب

Build APIs You Won't Hate

ویرایش:  
نویسندگان:   
سری:  
 
ناشر: LeanPub 
سال نشر: 2015 
تعداد صفحات: 0 
زبان: English 
فرمت فایل : EPUB (درصورت درخواست کاربر به PDF، EPUB یا AZW3 تبدیل می شود) 
حجم فایل: 3 مگابایت 

قیمت کتاب (تومان) : 57,000



ثبت امتیاز به این کتاب

میانگین امتیاز به این کتاب :
       تعداد امتیاز دهندگان : 4


در صورت تبدیل فایل کتاب Build APIs You Won't Hate به فرمت های PDF، EPUB، AZW3، MOBI و یا DJVU می توانید به پشتیبان اطلاع دهید تا فایل مورد نظر را تبدیل نمایند.

توجه داشته باشید کتاب API هایی بسازید که از آنها متنفر نباشید نسخه زبان اصلی می باشد و کتاب ترجمه شده به فارسی نمی باشد. وبسایت اینترنشنال لایبرری ارائه دهنده کتاب های زبان اصلی می باشد و هیچ گونه کتاب ترجمه شده یا نوشته شده به فارسی را ارائه نمی دهد.


توضیحاتی در مورد کتاب API هایی بسازید که از آنها متنفر نباشید

توسعه API به لطف ظهور فریم‌ورک‌های جاوا اسکریپت، برنامه‌های آیفون و معماری‌های API محور به طور فزاینده‌ای برای توسعه‌دهندگان سمت سرور رایج می‌شود. ممکن است به نظر برسد که گرفتن چیزها از منبع داده و بیرون آوردن آن به عنوان JSON کار آسانی است، اما بقای تغییرات در منطق تجاری، به‌روزرسانی‌های طرح پایگاه داده، ویژگی‌های جدید یا نقاط پایانی منسوخ می‌تواند یک کابوس باشد. فیل پس از اینکه بسیاری از منابع موجود برای توسعه API را کمبود یافت، از طریق سال‌ها آزمون و خطا، چیزهای زیادی را آموخت. هدف این کتاب متراکم کردن این تجربه است، و مثال‌ها و توضیحاتی را فراتر از آموزش‌های بی‌معنی سیب و گلابی ارائه می‌دهد. فیل در سه سال گذشته عمدتاً به عنوان یک توسعه دهنده API کار می کرد. یکی از ترسناک ها مدیریت یک API ساخته شده در FuelPHP توسط یک فریلنسر در استارتاپ میلیون دلاری بود که او به آن ملحق شد. از یک ORM منسوخ شده استفاده می کرد که توسط توسعه دهنده قبلی تا حد مرگ هک شده بود، بنابراین زمان صرف کرد تا این آشفتگی را حذف کرد و نسخه بعدی را در لاراول ساخت و از مسیریابی ساده، مهاجرت های پایگاه داده، طرحواره، دانه بندی و غیره استفاده کرد. نسخه اصلی زیر از API ساخته شد، نیازی به بازنویسی نبود، و هر دو توانستند در یک سرور \"API\" در کنار هم زندگی کنند. با ارائه برخی از بهترین شیوه‌ها و توصیه‌های کلی خوب، می‌توانید با توسعه API، همراه با برخی داستان‌های ترسناک و نحوه غلبه بر/اجتناب/اجتناب از آن‌ها، به کار خود ادامه دهید. این کتاب تئوری طراحی و ساخت APIها را در هر زبان یا فریم ورکی با استفاده از این نظریه در مثال‌های مبتنی بر PHP مورد بحث قرار می‌دهد. برخی از موضوعات پیشرفته‌تر که در اینجا مورد بررسی قرار می‌گیرند، آزمایش نقطه پایانی، جاسازی اشیاء داده به شیوه‌ای سازگار و مقیاس‌پذیر، صفحه‌بندی پاسخ‌ها (از جمله اشیاء تعبیه‌شده) و کنترل‌های «HATEOAS» hypermedia است.


توضیحاتی درمورد کتاب به خارجی

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.



فهرست مطالب

Introduction
    Sample Code
    1. Useful Database Seeding
        1.1 Introduction
        1.2 Introduction to Database Seeding
        1.3 Building Seeders
        1.4 That is about it
        1.5 Secondary Data
        1.6 When to run this?
    2. Planning and Creating Endpoints
        2.1 Functional Requirements
        2.2 Endpoint Theory
        2.3 Planning Endpoints
    3. Input and Output Theory
        3.1 Introduction
        3.2 Requests
        3.3 Responses
        3.4 Supporting Formats
        3.5 Content Structure
    4. Status Codes, Errors and Messages
        4.1 Introduction
        4.2 HTTP Status Codes
        4.3 Error Codes and Error Messages
        4.4 Error or Errors
        4.5 Standards for Error Responses
        4.6 Common Pitfalls
    5. Endpoint Testing
        5.1 Introduction
        5.2 Concepts & Tools
        5.3 Setup
        5.4 Initialise
        5.5 Features
        5.6 Scenarios
        5.7 Prepping Behat
        5.8 Running Behat
    6. Outputting Data
        6.1 Introduction
        6.2 The Direct Approach
        6.3 Transformations with Fractal
        6.4 Hiding Schema Updates
        6.5 Outputting Errors
        6.6 Testing this Output
        6.7 Homework
    7. Data Relationships
        7.1 Introduction
        7.2 Subresources
        7.3 Foreign Key Arrays
        7.4 Compound Documents (aka Sideloading)
        7.5 Embedded Documents (aka Nesting)
        7.6 Summary
    8. Debugging
        8.1 Introduction
        8.2 Command-line Debugging
        8.3 Browser Debugging
        8.4 Network Debugging
    9. Authentication
        9.1 Introduction
        9.2 When is Authentication Useful?
        9.3 Different Approaches to Authentication
        9.4 Implementing an OAuth 2.0 Server
        9.5 Where the OAuth 2.0 Server Lives
        9.6 Understanding OAuth 2.0 Grant Types
    10. Pagination
        10.1 Introduction
        10.2 Paginators
        10.3 Offsets and Cursors
    11. Documentation
        11.1 Introduction
        11.2 Types of Documentation
        11.3 Picking a Tool
        11.4 Setting up API Blueprint and Aglio
        11.5 Learning API Blueprint Syntax
        11.6 Further Reading
    12. HATEOAS
        12.1 Introduction
        12.2 Content Negotiation
        12.3 Hypermedia Controls
    13. API Versioning
        13.1 Introduction
        13.2 Different Approaches to API Versioning
        13.3 Ask Your Users
    Conclusion
    Further Reading
        API Web Resources
        Non-API Books




نظرات کاربران