Pair programming - small high early math learning software with a UI

 

The twinning project compared to the individual projects will undoubtedly be a large number of quantities, so the beginning of the article I also attach a flow chart of a software title to think about, so that we have a whole of the first software understanding

 

 

 

Due to his teammates and personal projects than it my personal project at the completion of the topic and demand more complete, so in this twinning program, we discussed before I decide to complete the knot back-end logic part of the project by him to complete the project UI structure and the various UI module stitching, and join my logic code.

As the demand for individual projects is not required is determined by the subject is valid, so we code individual events are all data directly random birthday, and since this pair programming required to complete the calculation of the subject, so we have the to avoid the topic all cases can not be calculated when the data is changed in high school trigonometry specific about the data of π.

Upon completion of the code to calculate the subject, since I have worked on similar code before programming learning, the calculation code is basically no primary topic of consuming too much energy, then increase the junior and senior judge on the basis of the function on features special symbols, most of the original version to this topic and problem-solving modules and module completed.

As I completed the module and solving a problem while my teammates have completed the basic UI structures and systems ( 9 Yue 21 , Saturday), so far we have not yet watched each other's code. Then the next day we will combine the two codes, also we found some more than some of the features redundant and dysfunctional problems due to lack of communication caused period, but eventually resolved through discussion and hands-on. Finally, on Sunday ( 9 Yue 21 pm daily) completed the splicing code, so far all requirements have been met. So we intend to one day before the deadline, which is 9 Yue 22 days to complete optimization of the interface after you submit.

But the pleasant surprise is that the deadline is late 9 Yue 28 days, which also strengthened our determination to add additional functionality. So the next approaching a week's time, we understand each other's codes after continually test our examination system, increased the number of functional requirements not mentioned, greatly enhancing the user experience. At the same time landscaping interface, and finally completed the final version.

 

Next to this junction we summarize the results of the program:

advantage:

  1. Basically completed all of the project requirements
  2. Add a background image and icon for each interface and each key, increasing the user's comfort
  3. In the login screen adds an "eye" button, after pressing can hide the password, the password can be displayed again by pressing
  4. Registration and change password interface to add a back button to avoid accidentally pressing the wrong can only quit after the embarrassing situation relist
  5. Whether at the time of registration can be used to determine the phone number registered already exists
  6. When the verification code sent successfully pop-up "code has been issued, please wait" dialog box, avoiding the user clicks the button after the system without feedback, and when after Verification code input errors can remind bomb box.
  7. The topic and added several interface buttons: ① the end of the answer keys for direct end all answer, and the answer before clicking to start the end of the answer can not be selected, after clicking on pop-up boxes will prompt the user to determine whether responses to effectively prevent the user accidentally click on the case submitted; ② start the answer: that started the title, the title appears in the text box after the click, and click again ineffective; ③ selection keys include: a , B , C , D four options, at the beginning of the answer before not selected; ④ the next question (the previous question): display a topic (on) text box, when the subject is the last (first line) can not be selected when the question.

 

Disadvantages:

  1. The topic is still not a very high logically requirements, even though it can calculate the correct answer, but often irregular decimal
  2. Generates three other topics of wrong answers simply correct answer will be randomly subtraction, it does not have some confusing
  3. Just finished re-check function of the user's name, but did not add password recovery function (this function just to think)
  4. UI interface prompts many have adopted Java comes complete pop, in terms of the user does not have good comfort

 

Programming process difficulties encountered:

  1. Splicing code, because the code I do not consider the problem in the fit of the completion of the process, a task is generated during the first question number is also stored in the storage title string, then the process of calculating topic It does not dispose of the question number, so the function can not work properly. Finally, give up title number plus when generating the title, but in the UI for the title plus the title number display process
  2. Upon completion passwords hidden function display, since the change password box to display the password to change the time, my first thought was, but after many of the Internet to find and view the API after the password box and found this was not settings, so this function will set aside a day. But one day I suddenly remembered there is a text box to display hidden function, so I used a text box and Password boxes placed one way, when the key is pressed after the hidden surface of the text box so that the password box is displayed, again after pressing the password box and text box display cover.

Guess you like

Origin www.cnblogs.com/ljhl/p/11604818.html