Journey - a new starting point

       Suddenly entry for a month, the new company is a relatively busy work overtime has become the norm, not the day before, I think the water seriously work at night after work basically get down to the task of the arrangement, or even ahead of schedule, to which I found everything I used to do with not the same as before may be too busy, right, thought for a long time before dinner with a Huawei students, he said he had been busy from work I said he is not planning more water, now experienced to know What is really busy. "Wait for the job at hand busy shop and go XXX, does not exist."
       Since a long time to work overtime, so be sure to have a grow. The company received the job is not done before, like me, used to do android development is UI + business logic, with a large infrastructure with what MVC, MVP, in fact, in terms of a person in charge of a separate module from the UI to business logic is their own a stud. To this good, I received a service development, well just started really look Mongolia, hell, with this month's continuous development also have a basic understanding now.
       It means to write some business logic jar or bag aar bag, put him inside the designated APP inside the method call, then the data I give him what he wants me to what, as to why the data corresponding to him, he can not control, that is equivalent to the P layer in MVP our future we can directly replace UI View layer changed, or that the P layer P layer, so that facilitate the development, the development of a similar function, casing will develop chicken thief children fast, I first company APP is such a lot of features are actually the same, but at that time are written in MVC architecture, so basically want to take a big block to the rapid development does not exist. Should take the lead and start again, we can not blame, after all, that company's APP do not have any requirement, as long as the effect on the line. Beside the point to say that this service is similar to the P layer back to the business of processing and return processing, but this is no bright spots, but when once you have this data, or the business logic to be carried out to obtain a more APP is very comfortable . Come For example, we use a map, we have to get a latitude and longitude coordinates, which we will call the GPS coordinates of the point get to get our latitude and longitude, but why do we call that method will get the latitude and longitude, we do not You know how he operated, we only know what we call a callback method to the data we want, more APP are added using the GPS method, and then call on OK. Service also make written order to achieve this, a more logical use APP. In this way users interact with APP just take the time to implement cool UI, but can be achieved as long as the Service has been used. As shown below


6650292-911224361bfd6014.PNG
service.PNG

       APP is a resident APP0, opens a Service, APP123 to communicate data through AIDL, this can be done a plurality of APP common logic. For this APP0 then be decoupled to achieve more functionality by adding a dependent to the APP for external calls.
       Reason things are not particularly difficult, but never touched the stuff, think it is a very good practice. Basically busy here every Saturday to catch the project, also known as 996 companies, I have to complete this in a month's time there, and did not feel what's special pit 996 places, family time may not yet compare and more of it, just the feeling of playing the game time to work overtime to get past, it is actually not that tired, after all, in fact, playing games is not easy. Plus I was just doing IT, considered early to spend more time to fiddle with it. After all, outside of the competition or really big, good people too much, once let down, a few days a few months can not see over time that simply can not make up for the gap between those pits. No weekend people say happiness will be reduced, I am now really is such a thing did not seem a good start over. But let me cherish the time, go to bed before 12 o'clock in the evening, to ensure 7-8 hours of sleep should be about, after all, pathetic life do not bear sudden death. After the time we can make full use of them, to learn more.
       The last new work refueling, now more than a point force, is not always a bad thing.

Guess you like

Origin blog.csdn.net/weixin_34067102/article/details/90999681