First, basic introduction

The opening

  • [1.1] Download and Install
  • [1.2] Create your own project (with instructions for four script commands)
  • [1.3] Online experience
  • [1.4] Documentation, help and the official website
  • [1.5] PhalApi framework selection

Development manual

  • [1.11] Quick Start: Interface development examples (source + text)
  • [1.12] Parameter rule: Interface parameter rule configuration
  • [1.13] Unified interface request mode:? sevice=XXX.XXX
  • [1.14] Uniform return format and structure: RET data MSG
  • [1.15] Database operation: Based on the use and optimization of NotORM
  • [1.16] Configuration reading: Perfect switching of extranet environment configuration
  • [1.17] Journaling: Simplified journaling interface
  • [1.18] Quick function: Humanized care
  • [1.19] DI Service Quick Query: List of resource services
  • [1.20] DB operation: Quick check of basic database operations

More skills

  • [1.21] Auto-loading of classes: Follow PEAR package naming conventions
  • [1.22] Signature verification: User-defined signature rules
  • [1.23] Request and response: Both GET and POST can be returned in JSON format and beyond
  • [1.24] Cache policy: More flexibly configurable multi-level cache
  • [1.25] International translation: Prepare for the internationalization of translation in advance
  • [1.26] Data security: Symmetric data encryption scheme
  • [1.27] Lean Development: a more expressive Model layer and a solution to heavy data acquisition
  • [1.28] COOKIE: The original COOKIE support and memory encryption upgrade version
  • [1.29] Open and closed: Multiple entry and unified initialization
  • [1.30] The power of retention: Interface development best practices
  • [1.31] New scheduling tasks: Scheduling tasks implemented in the form of interfaces
  • [1.32] Online interface documentation: Annotated specification
  • [1.33]- Developer tools: utility functions

Ii. Advanced topics

Ideas and Applications

  • [2.11] Core idea: Di makes resources more controllable
  • [2.12] Massive data: configurable sub-database sub-table
  • [2.13] Interface debugging: online SQL statement viewing and performance optimization
  • [2.14] Test-driven development: Interface development under intent-driven programming
  • [2.15] Evolution: A continuation of the new scheduled task
  • [2.16] Domain-driven design: The Domain layer for complex Domain business
  • [2.17] Microservices: Api interface service layer
  • [2.18] Customization: re-implementation of resource services
  • [2.19] Extension library: A library of reusable extension classes
  • [2.20] Convention programming: Architecturally explicit programming style

Tools and Practices

  • [2.21] CentOs + Nginx + php-fpm + MySql [+ Memcached]
  • [2.22] More tools: Elite projects and team building

Third, extend the class library

  • [3.1] Extended Class Library: wechat development
  • [3.2] Extended class library: Easy support for PHPRPC protocol in proxy mode
  • [3.3] Extended library: PHPMailer based mail delivery
  • [3.4] Extended class library: Called by Youku Open platform interface
  • [3.5] Extended class library: seven Cattle cloud storage interface call
  • [3.6] Extended Class libraries: New scheduled tasks
  • [3.7] Extended library: Apple Push //TODO based on Service_Apns
  • [3.8] Extended class library: User, session, and third-party login integration
  • [3.9] Extended library: Implementation of long links and asynchronous tasks supported by Swoole
  • [3.10] Extension Library: Auth Permission Extension (provided by @Huang Miaosun)
  • [3.11] Extension Library: Fast Routing based on FastRoute (RESTful)
  • [3.12] Extension Library: DB Cluster extension based on PhalApi (provided by @meowaomi)
  • [3.13] Extension Library: Redis extension based on PhalApi (courtesy of @meowaomi)
  • [3.14] PhalAPi-based image upload extension (by @Summer)
  • [3.15] PhalApi based third-party payment extension (by @Summer)
  • [3.16] Phalapi-image — Image processing (provided by @miaoqiaomi)

Iv. Project practice

  • [4.1] Development Combat 1: Use the extension library to develop wechat service number //TODO
  • [4.2] Development Actual combat 2: Simulated Youku open platform interface project development
  • [4.3] Development Field 3: A simple small project development (Running Man voting)
  • [4.4] Development Field 4: A possible large project development (multi-terminal multi-version) //TODO
  • [4.5] Landing Application Framework: freeApi is a free interface supply platform for Internet developers. Devastated offers, and is working on improving)

Five, the other

  • [5.1] Architecture and Thought: Core design and thought interpretation of the Phal Api
  • [5.2] Ramble: Talk about phal Api’s past and present lives
  • [5.3] Framework Summary: Glossary and PHP development recommendations
  • [5.4]
  • [5.5] Contact and join us
  • [5.6] Update your diary
  • [5.8] To Framework Contributors: Add PhalApi open Source guidelines
  • Appendix 1: Reference template for interface documentation

Sixth, the SDK package

  • [6.1] SDK package based on interface query language
  • [6.2] SDK Package (JAVA Version)
  • [6.3] SDK Package (PHP version)
  • [6.4] SDK package (Object C Version) is provided by @aevit
  • [6.5] SDK package (javascript version) provided by @meowaomi
  • [6.6] SDK Package (Ruby)

Seven, tutorials,

Tutorial – Getting Started

  • [7.1]- PhalAPI – Introduction 1(Introduction and Environment Setup)
  • [7.2]- PhalAPI – Introduction 2(Play It)
  • [7.3]- PhalAPI – Introduction 3(Requests and Returns)
  • [7.4]- PhalAPI – Introduction 4(Internationalizing High Availability and Automatic Document generation)
  • [7.5]- PhalAPI – Introduction 5(Database Operations and Model Layer)
  • [7.6]- PhalAPI – Introduction 6(Tips and brief introduction to THE SCOPE of the API and introduction summary)

Tutorial – Advanced chapter

  • [7.7]- PhalAPI – Advanced Text 1(Three-tier structure Api,Domain, and Model)
  • [7.8]- PhalAPI – Advanced Part 2(DI dependency Injection and singleton pattern)
  • [7.9]- PhalAPI – Advanced Section 3(Autoloading and interceptors)
  • [7.10]- PhalAPI – Advancements 4(Notrom advancements and Transactions)
  • [7.11]- PhalAPI – Advanced Section 5(Database read-write separation)
  • [7.12]- PhalAPI – Advanced Part 6(Addressing table and library expansion of Large data Storage Database)
  • [7.13]- PhalAPI – Advanced Section 7(Practical Problem solving with Caching and Redis Extension)
  • [7.14]- PhalAPI – Advancements 8(What PhalAPI Brings and Advancements Summary)

Tutorial – Actual combat

  • [7.15]- PhalAPI – Combat 1(Redis queue processing asynchronous tasks)
  • 8. Video tutorials

  • [8.1]-PhalApi video tutorial

PhalApi (π Framework)

A lightweight PHP open source interface framework, focusing on interface Services development, supports HTTP/SOAP/RPC protocols, has automatically generated online documentation, a variety of development languages client SDK packages and reusable extended class libraries, can be used to quickly build microservices, RESTful interfaces or Web Services.

Links:PhalApi | Open source in China | Ai translation | Phalcon | PHPUnit | ThoughtWorks

©2015-2017 PhalApi All Rights Reserved. Guangdong ICP 15028808