The technology architecture of Renren open platform

Source: Internet
Author: User

In the hierarchical architecture shown, Renren's open platform provides different levels of functionality. The red part of the figure indicates that a functional module is not currently available and needs to be provided by the platform or open source community in the future; The yellow section represents a functional module that has been provided in the old platform architecture but is being migrated to the new architecture; the other color is a functional module with a more complete function.

As you can see, Renren's open platform is roughly divided into three tiers, providing services for all forms of third-party applications at the top level:

    • Core Service Layer: Realize the most basic API provided by Renren, define the interface parameters and the calling process, and third party or platform can encapsulate the SDK based on this level of API.
    • SDK layer: A third-party or platform-side SDK for a variety of development languages or development environments.
    • High SDK layer: the Advanced SDK built on top of the core Service layer or SDK layer, such as the Discuz SDK, is encapsulated based on the JS SDK.

Third-party applications can be developed using an API provided by any of the three tiers.

So why should we introduce such a layered architecture? Because it has the following benefits:

    • Versatility. Better support for the web, mobile, desktop and other operating environments, providing a variety of forms of API. This provides rest APIs that require authorization to use, as well as widget APIs that can be used without authorization .
    • Standardization. An important feature of the new architecture is its layered architecture and well-defined API interface, which facilitates a stable and clear programming environment for third parties.
    • The clarity of the industry division of labor. One of the benefits of standardization is the ability to deliver SDK development and maintenance work to third-party open source communities, rather than all of them being done by the platform. The open source community develops the SDK on the API provided by the core Service layer layer, and third-party application developers develop applications based on the SDK.
    • Easy to maintain and understand. A clear hierarchical model and well-defined interface specifications help to reduce the maintenance costs of the platform and facilitate the understanding of the Platform architecture by third parties.
    • Expand the open range and provide more new features. Features that are not available through the rest API for security reasons, such as the Buddy feature, can be provided by the new widget API

Original address: http://www.cnblogs.com/babietongtianta/articles/3653867.html

The technology architecture of Renren open platform

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.