Thinkphp Cloud Engine Release version 3.0 new SAE engine

Source: Internet
Author: User
Keywords Cloud engine SAE engine thinkphp
Tags broken cloud cloud engine cloud platform cloud platforms create developed developers

Starting with the 3.0 SAE engine, thinkphp has started to support the cloud platform, but as the domestic different cloud platform surging, different cloud engine is easy to create a lot of confusion for developers, the 2013 New Year, the official launch of all cloud platforms and distributed systems developed cluster cloud engine expansion.

The cluster cloud engine uses the IO separation mechanism, realizes one engine expansion, the universal all cloud platform and all distributed environment, in the ordinary environment also may run, truly has broken the cloud platform incompatible flaw. Programs written by developers using the cluster engine will not rely on the cloud platform and can be easily ported to another cloud platform.

For your convenience, two download packages are available (only one can be downloaded):

Cloud engine extensions Download thinkphp Cloud engine version

If you are downloading the engine extensions, download and unzip the system into the extend/engine/directory.
The Cloud engine version integrates the latest GitHub version of the 3.1.2 core pack and the latest cluster engine extensions, as well as common drive and class library extensions.

The new engine extension entry file no longer needs to load the engine entry file, loading the frame's entry file and then defining the engine name, for example:

<?php&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp;define" (' app_name ', ' APP ');  Define (' App_path ', './app/');  Define (' Think_path ', './thinkphp/');  Define (' Engine_name ', ' cluster '); Require Think_path. ' thinkphp.php ';

The copy code uses the standard mode core if it does not define Engine_name constants.
Specific cloud engine usage, refer to the following tutorials and documentation.

Related Article

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.