Bear harvest and a summary of the application development programming projects

The pair programming partner project is based on my personal project. I am responsible for the preparation of UI front-end and back-end servers, code generation part of my partner in charge of the subject.

Project Address: https://github.com/qkuns/ATPGS

 

Although the twinning project spent a week's time, the fact that only commit26 times.

We decided to start a mobile application is completed, so as to use React-Native frame (front end) developed backend php.

Development platform macOS, operating platform iOS.

 

I started to list all the needs of the project, probably conceived order of each demand realization. Then the handwritten code.

Based on previous experience in the development of complete pages quickly. But there are some mistakes:

I consider this the beginning of a data communication application is not a lot in the assembly, it decided to open routes for data transfer between the components of props and pages. But by the late development of front-end and we found that communication between components written a lot of incomprehensible code.

The following diagram, this home page there is a card, the card is responsible for Tab bar on the input elementary junior high school, four buttons below and a text input is responsible for the number of grades need to get data from Tab in generating the papers, but also from the text Gets the number of data but also the text box and button bindings ......

I wrote half felt redundant code, the start should use redux data management.

The front end basically no more questions.

 

Thus began a back-end server and deploy.

First, a simple learning about the operation and maintenance of knowledge, Ali bought the cloud servers. Familiar under LAMP server environment, how can be accessed from the outside, how to deploy a Web site.

Then learn a little knowledge of php, php basic grammar and how to operate the database. Written after the back-end code registration function of the other is not difficult.

 

Later, there was a little problem when the rear end of the front butt.

The front passed through axios data back-end, back-end can not receive, regardless of the password is correct, the back end always return to succeed.

Later solved through a search engine . axios pass data type is json, but needs to receive php is formData.

 

After the completion of these, SMS verification code registration function stumped me.

php api to learn enough not to use the back-end storage session and do not know how to read, and finally a search engine to solve the ......

 

to sum up:

Overall the pair programming project to upgrade my big.

 

project outcome

 

Guess you like

Origin www.cnblogs.com/qkuns/p/11595630.html