Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

Cloud Development What are the capabilities of cloud development?


May 27, 2021 A minimalist getting started manual for cloud development serverless



Again, cloud development is a product solution that the Serverless concept has come to the fore, with the first push of the cloud-side development model.

What cloud development can do

Cloud development is essentially a service-side capability, a student without back-end capabilities, can use cloud development to build "high-quality" services, can independently complete the application's front-end full stack development. S o cloud development can help big front-end students expand their boundaries. Cloud development was first released with this WeChat applet and can only be used in WeChat applets, and now cloud development supports all ends, available on PC Web, H5, WeChat Public, iOS, Android, and more.

Cloud development capabilities

The cloud development mentioned in the last article provides the capabilities of FaaS and BaaS, as follows:
Cloud Development What are the capabilities of cloud development?

Cloud storage
We can upload/delete files through the client SDK or the service side SDK, on the front page or in the cloud function. T he file can be js, css, html, or pictures, pdf, word, excel, video.... At the same time, cloud-developed storage provides CDN acceleration by default.

Cloud function
This is the implementation of FaaS, which is typically used for interface development, timed tasks, and so on; Cloud functions currently developed by the cloud provide http call and client callFunction.

Database
Cloud development supports the NoSQL database, which stores records in JSON format, while MySQL can be called through a proprietary network (VPC) channel in a cloud function, or redis can be used.

Cloud calls
Cloud calling is the ability provided by cloud development to open interfaces using small programs based on cloud functions. For example, to obtain WeChat small program user information, small program code, OCR capabilities and so on, see: https://developers.weixin.qq.com/miniprogram/dev/api-backend/

Static site hosting
Deploy a website that includes html, css, js, and media resources, and no longer need to purchase servers. P reviously you could choose github pages, now you can choose a stable managed service, all traffic and resource consumption is pay-as-you-go, how much you pay. S tatic site hosting currently provides default domain name access, but is limited in speed. Y ou can bind your domain name and request a free SSL certificate.

Cloud access Cloud access capabilities are used with cloud functions, such as turning on HTTP access to cloud functions, such as deploying an entire Node.js application into a function so that Node.js can automatically expand its capacity. Y ou can also host next .js SSR apps, and so on.

The ability to scale
The entire Tencent Cloud cloud service can be used directly in cloud development, such as AI image recognition, SMS capabilities and so on.

Product architecture

The above details what each part of the capability does, and the following is a diagram of the capability architecture for the entire cloud development.
Cloud Development What are the capabilities of cloud development?

Cloud development now provides side-side SDKs, two project management tools, a visual console (https://console.cloud.tencent.com/tcb) and CLI tools.