I am a little bit familiar with development. I used to do web and api operations. I recently want to develop it, but many developers do not understand it. Hope developers will give me some advice and give me some advice. Thank you very much! 1. Can I use a common code framework for development? What are the advantages and disadvantages? 2 .. I am developing a little white one (I used to do web and api). I am going to develop it recently, but I don't know much about it. Hope developers will give me some advice and give me some advice. Thank you very much!
1. Can I use a common code framework for development? What are the advantages and disadvantages?
2. What are the features of code and framework during development?
3. Do some public platform development frameworks (such as weiphp) on the Internet require such frameworks? If not, what principles should we design and select a framework?
++
Reply content:
I am a little bit familiar with development. I used to do web and api operations. I recently want to develop it, but many developers do not understand it. Hope developers will give me some advice and give me some advice. Thank you very much!
1. Can I use a common code framework for development? What are the advantages and disadvantages?
2. What are the features of code and framework during development?
3. Do some public platform development frameworks (such as weiphp) on the Internet require such frameworks? If not, what principles should we design and select a framework?
++
From your question, we can see that the direction of your Web and Api operations should be too small. If you are doing Api operations, let's simply put it:
- The user sends a message,
- Send the message to you using its standard struct.
- You parse the message and generate a reply according to the standard.
- Response
- Then, forward the content you sent to the user.
In this process, you must have gone through API development.
I am responsible for a little more, that is, there are several more back-and-forth data requests between your application and the server. Read the official documents and competent programmers, you should be able to start development in one afternoon (no matter which language you are familiar ).
Suggestion:
- If you are not familiar with development, do not use the framework. It will make you understand the framework.
- For development, there is nothing special about the code framework, such as writing interfaces or writing pages. The difference is that you may write server interfaces first, the caller then writes the call according to your interface specifications. Now, the call is completed first, and you write the backend service according to the calling method. The two things have different directions, the difficulty should be different.
- Do not think about development as mysterious. you are writing a program.
It is recommended that you add some developed technical groups or communication communities. There will usually be tutorials and video posts there, so it is not suitable for all-in-one testing.
Bmob is used for subscription code development. You can use cloud code development directly. According to their official tutorial, I got around in about half an hour. I personally think it is quite convenient, it is better to have a node. js Foundation, which is easier to use.