当前位置:网站首页>What is cloud development? Why cloud development? Talk about our story

What is cloud development? Why cloud development? Talk about our story

2022-06-24 16:31:00 Programmer fish skin

Continue to share cloud development technologies

Hello everyone , I'm fish skin , Today I want to share a good news with my friends , Share another wave of Technology !

The good news is , I have been appointed 『 Tencent cloud development senior evangelist 』 La !

This is an honorary certification of Tencent for cloud development technology experts , Although my skills and knowledge are far from matching “ Talent show" ” This title , But it is also a small recognition of yourself .

Thank you, brother Guanyu 、 Bo Qun Ge 、 Lidongge 、 Brother Tianjie and all the big guys who have helped me .

Let's talk about the story of cloud development and me first .

Cloud development and I

I started to use cloud development in my junior year , At that time, a small program was just going to be launched , Understand that cloud development can greatly improve development efficiency , Free space is also available , Just try , And then it was really fragrant .

After more and more cloud development , I have fallen in love with cloud development , Although my main back-end language is Java, But as long as it is a small program , I will take cloud development as the first technology selection , No service development deployment 、 No operation and maintenance 、 Integrate SDK、 Get through wechat Ecology , It's so delicious !

after , When cloud development is used for campus Promotion , I launched a small workshop on cloud development campus technology in the school , To give students a wave of popular science small program cloud development .

As the understanding of cloud development deepens , And read more successful cases , I found that using cloud development to make web pages is also a good choice . So it's developing 『 Programming navigation 』 Website time , I chose cloud development , Not only as a whole back-end technology stack , It is also used for front-end dynamic and static site deployment .

Through constant practice and stepping on the pit , I have confidence in cloud development , I also have my own methods and opinions on the use of cloud development . So as a knowledge blogger , I often use various forms to promote cloud development , A good thing is to let more people know !

For example, I have written several articles on cloud development before , There have also been many videos about cloud development :

Besides , During the live broadcast , There are also many friends who are interested in this technology , I will answer patiently .

At ordinary times , I am also keeping track of my problems in cloud development , And feedback to the cloud development team .

I will work harder in the future , Produce more cloud development practice articles , Popularize cloud development technology knowledge , Let's experience the efficient development mode !️

Okay , I heard that , Many friends may not know what cloud development is , Then the next step is science popularization time .

Tencent cloud development technology

If you want to have your own project or product , Small programs are your best choice , Cloud development will help you get twice the result with half the effort .

at present , Major mainstream Internet companies are promoting small program ecological construction , For example, wechat applet 、 Alipay applet 、 Baidu applet 、 Byte beating, small program, etc .

according to QuestMobile Industry Research Report provided , By 19 year 4 End of month , WeChat 、 The number of small programs of Alipay and Baidu is 230 ten thousand 、20 and 10 m , It is estimated that now , From the Aladdin Institute 《2020 White paper on the development of small program Internet 》 Look at , The number of wechat applets has exceeded 380 ten thousand ! There are even more applets than native APP, Become the first application ecology !

This trend is due to the unique advantages of applets , With Advantages of wechat applet For example :

  1. More users ( billions ), There's a lot of traffic
  2. The applet does not need to be installed , Easy to use , Good user experience
  3. Relying on the platform , Social fission , Easy to share
  4. For developers , be relative to APP Easier to develop , Wide ecological range
  5. Small programs are powerful , Enough to meet most needs
  6. Rely on wechat , Safe and trustworthy

Before introducing the protagonist cloud development , Let's take a look at the traditional development of small programs .

Traditional development

Generally develop a system , We need to develop front end and Back end .

The front end is visible to the user 、 I can hear you 、 Point to get 、 Operable interface .

The back end supports the front end , Silently provide various services such as data operation .

Again , Developing small programs , We also need to develop front-end and back-end .

The development methods of small program front end mainly include :

  1. Official native grammar (wxml、wxss)
  2. Encapsulation framework ( WePy \ MpVue etc. )
  3. Cross end development framework , A set of code can be compiled to run at multiple ends (Taro \ Chameleon etc. )
  4. Low code , Visual drag ( Tencent cloud micro build )
  5. Direct purchase

And the back end , We can develop it ourselves , Major mainstream languages such as Java、Python、Golang Fine . After development , Then we need to build a database , Rent a server, etc . Very trouble , This also leads to the narrow technology stack of many students , Limited to front-end or back-end , The main reason for not being able to develop a feature rich project .

It's tiring to do too much repetitive work , Who doesn't want to be simple ?

later ,『 Applet cloud development 』 There is , Let many students who have no back-end foundation become Full stack developer

For a better understanding of applet cloud development , First, let's introduce what cloud is .

He Weiyun ?

Cloud has the following definitions and characteristics :

  1. Thousands of servers , It forms a large number of network nodes , Like a cloud everywhere
  2. Users don't need to buy hardware , You can quickly create 、 Free or use any resources
  3. The cloud has covered the whole world , Use cloud devices around the world without leaving home
  4. Including ECs 、 Cloud computing 、 Cloud storage 、 Cloud database 、 Cloud functions and other resources
  5. Services provided by professional manufacturers , Like Tencent cloud 、 Alibaba cloud 、 Baidu cloud 、 Bricklayer 、Vultr etc.

So what is cloud development ?

What is cloud development ?

The early official definition of Tencent cloud is : cloud + End Integration , Quickly build applets 、Web And mobile apps .

Today, , Cloud development concept upgrade , It is already a complete set of cloud native product solutions .

In traditional development , We need to develop our own interfaces for adding, deleting, modifying and querying , Prepare the back end server 、 Install and build database environment, etc . Besides , If it's an enterprise application , The following features and functions may also need to be considered :

  • File store 、 Content acceleration 、 Cold and hot 、 Network line
  • Load balancing 、 Container services 、 Stretch and stretch
  • Monitoring alarm 、 Safety reinforcement 、 Network protection 、 Disaster tolerance in other places
  • High availability 、 High concurrency 、 High expansion

Sounds like a lot of trouble !

But in fact , Our core focus should be Business logic , That is to realize the function . Is there a new development model , It allows developers to focus more on business logic ?

Cloud development comes at a time .

Cloud development is jointly developed by Tencent cloud and wechat teams , A one-stop back-end cloud service integrated into the applet console , Help developers quickly develop and launch small programs in the whole stack .

Cloud development includes the following core functions :

Ability

effect

explain

Cloud functions

No need to build your own server

Code running in the cloud , Wechat private agreement natural Authentication , Developers just need to write their own business logic code

database

No need to build your own database

One can operate on the front end of the applet , It can also be read and written in cloud functions JSON database

Storage

No self built storage and CDN

Upload directly at the front of the applet / Download cloud files , Visual management in the cloud development console

Cloud call

Native wechat service integration

The ability to use the open interface of the applet based on the cloud function authentication free , Including server call 、 Access to open data and other capabilities

HTTP API

adopt HTTP, Access cloud development resources outside the applet

Use HTTP API Developers can access cloud resources on existing servers , Realize interoperability with cloud development .

At first glance, it seems that cloud development is also very complicated , You might as well use two figures to compare the difference between it and the traditional development mode .

Traditional development model VS Cloud development model

Traditional development model :

Cloud development model :

Most of the problems outside the business , Can be solved by the unified services provided by Tencent cloud !

Besides , One of the highlights of cloud development is that it provides very convenient integration SDK, Direct operation database 、 Upload and download files ; The wechat ecosystem has been opened up , One line of code can call wechat developer interface , For example, sending template messages ; Besides , It also provides some powerful open capabilities , Such as audio and video 、 Content security audit 、 Image recognition 、AI、 Intelligent conversation 、 SMS, etc. .

To develop “ Upload files ” Function as an example to compare :

Traditional development : front end + backstage + Operation and maintenance , Estimated time consuming 120 minute .

Development of cloud : Front end only , Only 5 minute ! adopt wx.chooseImage and uploadFile Interface , Directly upload files to Tencent cloud storage and hosting , To save time 、 Security 、 Can be monitored , No operation and maintenance .

To develop “ insert data ” Function to compare :

Traditional development : front end + backstage + Operation and maintenance , Build and maintain your own database , At least it takes time 90 minute .

Development of cloud : Front end only , Only 2 minute . Data insertion interface developed through the cloud , Fast warehousing to Tencent cloud , Ensure high performance and security , In the applet console, you can also visually monitor and manage the database at any time .

Visual management database :

It's really very sweet , So how to use cloud development ?

How to use cloud development ?

If you want to use cloud development in your applets , It's simple , After creating the applet , Directly open wechat developer tool , Click on “ Development of cloud ”, Just apply ,10 Seconds automatically get a set of environment .

For small products , The free version is enough !

If you want to use cloud development as a website or mobile application , You can open the environment on the official website of Tencent cloud development .

The specific cloud development and use methods are not introduced in this article , Tencent cloud officials and cloud development enthusiasts have provided very intimate tutorials .

Learning resources

Finally, I recommend some learning resources to you .

Cloud development learning guide

The tutorials here are all excellent , You can learn the basic use of cloud development and all the advanced features .

Cloud development official document

Wechat applet cloud development official document

Tencent cloud development B Official account No

There are many high-quality video tutorials for cloud development , The lecturer will also be invited to answer questions on live teaching on a regular basis .

All the above tutorials can be found in 『 Programming navigation 』 Search for “ Development of cloud ” find :

Address :https://www.code-nav.cn


at present , Cloud development is becoming more and more powerful , Cloud hosting 、 cloud CMS And micro applications 、 One key deployment 、 Low code, etc , Welcome to learn , Feel the beauty of Technology !

原网站

版权声明
本文为[Programmer fish skin]所创,转载请带上原文链接,感谢
https://yzsam.com/2021/04/20210423010113285n.html