Recent work not only Q4 summary, and year-end summary, plus year-end report, all kinds of summary, all kinds of PPT make people upset. Those summaries tend to be rational ones, but I am a sentimental person after all, so I want to review this year with my real thoughts.

work

Business project

Outbreak, the relationship between working from home for a month, every day by all kinds of nailing voice, video pulling all kinds of meeting, to write a daily, weekly, every night the project manager again, head of the meeting, a open is good for a few hours, really I can be a naturally don’t like meeting people, especially for the low efficiency of the meeting, discuss things make me feel no sense, We are all following the manager’s whims. The most annoying thing is that in a group of people at the meeting, except for me, I am still writing code at the front line, and the product manager does not need to write code, the rest are the management people. Working from home for a month made me feel more tired than working in the company.

Project main framework: angularJs. It’s 2020, you’re right. We’re still using angularJs, and we’ve had teams leave because of the tech stack, and new hires don’t want to maintain old projects because they’re afraid they’ll be obsolete after a while and not be able to find new jobs.

I mainly did the following things:

  • The new feature is developed using react technology stack to ensure that secondary reconstruction is not required

  • Modified feature points or issues continue to be developed in AngularJS

  • Take the previously unused React version OF the UI component library and introduce it into the project. Use it while developing features and fixing problems

  • When the business is not so tense, the gap between the joint adjustment, the existing module technology switch

  • Use react and angularJs in a child application without using iframe. React development is packaged as components to the main project, which uses angularJs to wrap these components as directives for use in projects, with some routing in between

  • Increase CI/CD automation of GitLab to handle packing and reduce manual packing

  • Develop git commit information submission specifications, code merge, version management, and strictly control the version management of project code

  • Code review ensures code quality, while team members communicate constantly

  • Encourage team members, treat them to dinner, and adjust the team atmosphere

Departmental component library

Basic UI library

Online access stamp: cloud-react

React is a basic component of To B developed To meet the needs of corporate business systems.

Main things to do:

  • Develop new components and features and fix problems

  • Unit test coverage, which reduces problems with small changes, must run through all unit tests

  • Version management, for testing and official release

  • Develop code contribution specification, submit record specification, standardize process

  • Unify component CSS prefix and remove some common styles to prepare for later skin change

  • Submit code formatting and beautify code

Business Component library

Develop a common set of business components based on the basic UI library, which can be called by modules in a unified way. Existing angularJs projects can also be called directly, and business students can focus on their own business development. Reduce labor costs, reduce maintenance costs, unify a system using the same component of the experience consistency.

Separate complex business components

Technology stack: Typescript, React, Mobx, Gojs

Part of the company’s business is flow chart canvas, and there are five business modules in use. The tech stack is a mess, with jquery, Angular, react, and similar functionality from one company, but very different experiences.

Abstract out all the business, use JS development for core logic, and use React to wrap simple UI presentation in outer layer. This approach will make it very easy to cut flower stack in the future, and only need to change a few parts of code.

The use of typescript coding reduces unknown problems due to type errors, strengthens the code structure, and makes the data model of complex business clearer.

Clear API definition and simple usage make the cost of switching each business module very low. All functions can be used only after type conversion of the data model of the business line. Feedback is given to the business module in the form of data + callback, which can interact with the corresponding business by itself.

thinking

Pure front-end components reduce some costs for the company and development, and the best idea is to create a service layer at the back end to reduce the difference in the transformation of various business models, and then the service at the back end interconnects with different data sources to reduce the waste of resources in the common business code, back-end resources are also quite scarce. Further assembly saves even more resources.

Visual drag

This special written a summary, no longer separate verbose, interested can poke 👇 : taro-designer

thinking

  • Dragging and dropping components for atomic classes has limited impact on project efficiency. Instead, wrap the parts of the business components and then drag and drop components for them, which can also achieve rapid page generation.

  • Drag-and-drop atomic class components can theoretically be replaced with any component library. We can wrap any component we want and then modify the preset template after generating the source code.

  • It is well known that array is a set of ordered data. Every operation of adding, deleting, modifying, and checking needs to be re-organized. The time complexity of array is O(n), so as to see if there is a better way to organize data.

  • How much value does it bring to the business? Debatable.

other

  • Should we design a reasonable architecture to solve the actual problems? Still, there should be a lot of problems in advance, and then the architecture should be designed to solve those problems, and how many problems are actually encountered in the process of use.

  • Should we program towards KPIs or do something worthwhile without KPIs? The KPI defined at the beginning of the quarter varies greatly from the work completed at the end of the quarter. Which KPI should be used as the main target? If the main target is reality, what is the guiding significance of KPI?

  • More aware of the importance of algorithms, learning will always fall by the wayside, interrupted by something.

  • I started to restart the output of my blog. I looked back at the output of my blog, which was relatively high in 2016. After that, it almost disappeared with my busy work and was slowly forgotten.

  • Have you met some managers, some good and some bad? These are subjective feelings, so what does a good manager look like? Is there a standard by which we can objectively measure the quality of a management?

life

Home 🏠

After a whole year of decoration and drying last year, I finally live in my own nest this year. I don’t need to pay rent any more, and I don’t need to worry about how to do this thing when I move. The pressure of life is not so big.

Car 🚗

I bought a qiaoge scooter to commute to and from work, which greatly improved the happiness of commuting, because the troubles brought by traffic jam were decreasing day by day, and OCCASIONALLY I felt that my road rage would be aroused when DRIVING.

The game is 🎮

This year, I was brought into the pit by my friend to play King of Glory, and the best result should be platinum II 3 stars. I have to say I haven’t played anything but fun for years, and I’ve lost my basic skills. It seems that I do not have a great feeling for the game to grab the head, win or lose, and some people will scold teammates for the head, very can not understand such behavior, people are not the same after all, and I play the game just to release the pressure for a moment.

Remember a platoon, one of the teammates is very strong, in the game scolded us others are mentally retarded, no one pays attention to, although that game difficult to win, the somebody else has been scolded, the other party add my friends, note information wrote: you don’t deserve to play the game! I passed and then texted me: You don’t deserve it. I replied: OK, I went to watch cartoons. After the hair, the other party did not reply me directly offline, think all feel funny.

Sometimes my nephews and nieces often take me to play games. A 10-year-old boy once won the most powerful game, so the person you play games with may not be of the same level or age. Don’t argue about these, it is unnecessary for me.

feelings

One thing I want to understand most this year is that some friends fade away, and any kind of two-way affection is meaningful, while a person’s unilateral pay is meaningless. Don’t always feel guilty. You’ve done a great job. Everyone’s priorities shift.

Reduce expectations of others so that we don’t get tired and others don’t feel stressed.

Forgive yourself

Don’t force yourself to do things. Don’t do them if you don’t want to.

Do not deliberately hide their emotions, good and bad are a result.

Most of the time since we can not change anything, it is better to lie down, accept the beating of life, and then full of passion to treat it. There’s always a rainbow after a storm, isn’t there?

About the parents’

The biggest feeling of this year was that the speed of my earning could not catch up with the speed of my parents’ aging, so I secretly made up my mind to go home once a month, which I almost did, hoping to spend more time with them.

conclusion

No matter for work or life, I often wonder where the future lies, what the future should look like, and what I am pursuing. I am like a boat sailing on the sea, drifting with the direction of the wind and waves.

In 2021, I want to try some changes, do some different things, even change a way, a new environment to start a new life. When it comes to changing jobs, I wonder why I changed jobs in the first place, and what’s the point of changing jobs if I’m still doing the same thing at another company.

The road ahead is long, I see no end, I will search high and low!