“Live up to the time, the creation of non-stop, this article is participating in 2021 year-end summary essay competition”

At the forefront of

Recently again nuggets often see someone in the year-end summary. With these days of leisure, oneself also come to write.

I have also worked in the front end field for 4 years +, unconsciously also from a ignorant teenager into what also don’t know veteran.

One time when chatting with colleagues, someone said that I could use eight words to describe this year, keep the cloud open, and I do not understand this kind of literature for me, instantly I went to Baidu. This idiom comes from the day when the clouds are cleared to see the sun. It means that only those who stick it out can wait for the day when the clouds are cleared to see the sun. Tell people that if they stick it out, there will be a rainbow. The official once, after I know the feeling is a bit flattered, a bit unworthy but also feel happy in the heart –, someone recognized my this year’s achievement.

To tell you the truth, this year is also my first year in JINGdong. Although I am going further and further on the road of Rewinding god, it seems that I am not too far away from it. Because everyone year-end roll not move, in a dissociative state. It seemed that I was once again the best of the pack.

That’s a bit off track. Back to business. The end of 2021 is drawing near. I have been working for nearly a year unconsciously. With the business and technology of the department, I am constantly refreshing my own field.

How to become Curly King

Some people say that on the way to Dachang, we are constantly refreshing our cognition. In fact, what is said here is not quite accurate. For technology, some plug-ins or packaged components we use in Dachang have their own solutions.

Rio tinto real product

I’ve done projects from zero to one, big and small and done 10+. Almost every month there will be new in, roll not king, just demand. Each project is also rarely used in the market today. Here we have a few examples to talk about 🐂.

  • SaaS Mall System

    The complexity of the system is no less than making a small JD. And it needs to be compatible with small programs and H5, from 0 to 1, from the establishment of the basic framework to the final improvement of the business. It took us 3 people 2 months, isn’t it a little fast (closed development, of course it was fast). Can simply tell you what things to use, the main istaro+ts+react-hooksDevelop. I drank it out to share the details, below:The things used are not too new, you can learn to have a look, the code is confidential will not be open. In this project, I also challenged myself, leading the two leaders to go further and further on this road of no return. The difficulties were also rich, such as: how to distinguish the contents of each store in H5; Applets represent various configurations of third-party platforms and so on. Although there are many difficulties and little time, I have learned a lot along the way, including technical, management and communication skills of various departments have been supplemented to some extent. This is also the most complicated and difficult project I have written in a year, and it is also fruitful.

  • Decorate a system

    Above we said a very 🐂 project, this project is no less than the above one. With the increase of business and each business want different things, so we set up a decoration system for the business to maintain and transform, do not need us to do one by one, the business want to do their own.

    To give you a point of reality, about the implementation of ideas and principles.

    The system is divided into two modules, decoration designer and component library. Each business has its own decoration template. Each decoration template page is composed of different components, and each component has one or more editable areas. After all components are edited, fixed templates are generated and scripts are used to generate code for different ends.

    Each of our components cannot be put into the decoration designer, so we use the idea of UMD, which is packaged into UMD by Webpack and stored in CDN. However, umD packaging method cannot be used for small programs. Therefore, we draw on taro-UI packaging method and use ROLLup to package into ES Module format to generate NPM package. Taro’s project will be introduced at compile time.

    That’s all. Taro and taro-UI packaging process have also been taken a look at. It borrowed a lot from the project.

    The project was patented internally and reviewed internally.

Said the two, the rest of the some background management, some of them are propaganda, there is not much introduced, but also with a lot of common technology, such as: the front end, the service side rendering technology solutions to deal with, such as the same as on the market a lot of articles have repeat, not much said, or you can see my colleagues.

poised

From a leader at the beginning to a technology innovator now, although there is a change, BUT I think this is not a bad thing. Since meetings and communication take up half of my working time, this adjustment allows me to get rid of these management aspects, and I feel more aware of my own value from the perspective of project and technology.

  • A single measurement collection

    Hesitation testing resources are tight, some parts of the front end can only do their own testing, but testing will also cost a lot of manpower to support. So the department just thought of using a single test way to do more perfect development.

    Because we use Taro, there is no plan to do these things at present, and I have studied for a long time and decided to use jest+enzyme plug-in to use them. This plan has a bumpy road ahead, with mixed reviews. But I still had to do it. The only thing I recommend is that error plugins can mock, error parameters can mock, and error interfaces can mock. I can only mock at this point.

  • Monitoring to enhance

    The previous monitoring was done on the level of code errors to do a simple deal. Some also need to be mis-thrown from a business perspective and product thinking. We also made great determination and decided to change the frame. If you develop it yourself, it’s really not something that a team can do. We chose the internal framework to do it, and we combed the business monitoring and code monitoring again.

    Added server monitoring. The first is our nginx monitoring, only the server error report leakage, can capture the error more clearly. There is domain name search, application health monitoring. These are all internal things, so it’s not easy to explain.

  • Technology innovation

    Technology is moving so fast that it’s kind of overwhelming at the moment. But I think I should enrich my project with what I can master. Tailwindcss and windcss, which have been popular for years, have been the benchmark for mobile styling. Therefore, I also thought of these, searched for many plans and asked Taro’s developer, only to find a framework, and now I also have his ideas to rewrite this plug-in. There is also the small program publishing mechanism. At present, manual package distribution is used to carry out. We borrowed the CI plug-in provided by wechat, the open platform capability of wechat and the CI function of the company’s internal coding, and jointly produced an automatic parsing and publishing small program function.

Have the courage to challenge

After a year, if the business alone, for technology is a bit boring. I’ve been told to spend more time thinking about the business. But personal opinion, business can consider, but you are not the product. You do technology to provide ideas for products, don’t try to change the department or company’s line. Down-to-earth work for the company, think more about your job (technology has no boundaries), your improvement is to improve yourself, but also to create value for the company.

I will tell you about my precipitation in technology this year, how to be brave in innovation and challenge myself:

  • Taro X Hong Kong &&OpenHarmony

    In the second half of the year, The studio sent out an invitation to build it, and I was honored to be selected among hundreds of people. I’m glad I did.

    Although it is co-built, I don’t have much time for co-construction during working hours. Most of my time is spent on learning and developing on Saturdays and Sundays. Here I would like to talk about my experience. In fact, the technical principle is mentioned in the original article and the article of Concave-convex studio.

    At the beginning of construction, I didn’t know anything but Taro’s articles and the principle of packaging. If you want to develop or need to have some precipitation. So I took advantage of my spare time and holidays to study. Only after reading hongmeng’s technology and Taro’s packaging principle, can he barely keep up with the pace and technology of the team.

    At present, the first stage of construction has been completed. Taro 3.5 Canary has been released, you can have a try.

  • Open source is good

    In the process of doing many of the businesses mentioned above, I found that although the businesses were the same, the things used were repeated, so I discussed with the team members to make many common tools and foundations.

    The front-end Lint specification is the first thing that comes to mind, and the rules can be uniform, even if the developers are different. Therefore, we standardize ESLint, StyleLint, and CommitLint. For details, see my colleague’s article, Github here.

    The development of the front-end component library was the second point that came to our mind. Since we basically developed around Taro, we developed a set of component libraries based on Taro first. At present, the basic content has been developed and the documentation and examples are being improved. Please wait for a while, but the basic content has been completed. You can check out my Github project.

    What comes to mind again is the construction of scaffolding, because our department uses different technologies and frames. Taro – CLI /react-create-app/vue-cli encapsulates a layer for more services to use. At present this scaffolding is under maintenance, not open source, I will not share with you.

    Here is the introduction. At present, there are still many things under construction in the department. Because it is a new department, some things still need to be rebuilt. If you are interested, you can go to github to have a look. By the way, I am using Next+Graphql to create a visual middle layer system. I will share it with you later. Some things are often done, above these also please do not feel too low, many corrections.

  • Precipitation necessary

    To tell the truth, some things, or to do the necessary precipitation. Think about what you have done for a year. Although the department and the leadership have forgotten, you should not forget that every step you take is a necessary experience in your life. I think it is necessary to keep these. I learned that from someone new in our department. Tell me what you did!

    1. I filed five patents, although I only passed one. But I think writing these things can expand their thinking, analysis of internal principles, more beneficial to their growth.
    2. Did 3 internal sharing, one of which was also done in a large department.
    3. I have written 10 internal articles. The business is so tight that I have no choice but to write this.
    4. Nuggets precipitation 6. This is also from the internal article screening out, some can not be sent out, please forgive me.

Volume king is just teasing, or hope that we work and rest together, do not blindly pursue the advancement of technology, can look back, do not forget the original intention.

I feel that I can write about the work of this, business steadfast, take the initiative to undertake; Technical innovation and implementation. Although there are many shortcomings, BUT I still hope that everyone can have their own breakthrough and insight.

The world is infinite, you are at your feet

In this say oneself, here oneself actually is this year everything.

There’s too much talk about the job, a little too technical. Tell me about your life. This year is really some tired, two long time closed development, completely overwhelmed my body. Lumbar disc protrusion, fatty liver all kinds of disease all come out. I thought I was old, but I still had a long way to go. Although the work is tired, but the body matters the capital of the revolution, cherish yourself, also cherish around you.

Technology has gone up this year, but love, affection and friendship have gone down a lot. I don’t know why. It’s like everyone’s drifting away at this age. Although there is a connection, but we can see that everyone is in the struggle for small family. The technology can be looked at again, but everything around is lost.

In the end, I will say no more, but let you experience the loveliness of the world.

Look to the future, not fear

I hope in the New Year, or do a good job of their own, do not fear the future of their own, do not regret their previous. It’s a little too artistic. Let’s talk about next year’s plans

  • Perfect technology. To tell the truth, although he has a wide range of technology, but the accuracy is still lacking, grasp the details, tamp the foundation. There is also something to learn about the service side, although it is from the back end, but the previous things have long forgotten.
  • Get out more. If the epidemic situation and funding are complete, I still wish I could go out more. I feel that I have been in my comfort zone recently. Look outside more, be less grumpy, be more open-minded.
  • Go home more often. Drifting north for years, even though it’s only three hours home. But most of the time, it is impossible to escape, trapped by work and the epidemic. My parents are old and in poor health. If you can have time, or go home to see more, although parents often time to see you will be very annoying, but the heart is still warm.
  • .

That said, too many flags always feel impossible to achieve. In short, don’t let your future self down.

It’s almost over

In a word, this is the main thing I do, some details are not clear. I still hope that I will not be impatient, dare to bear, and have the courage to work hard. Do not know their worthy of the title of the content of the cloud, keep the cloud open, you see how officials feel, have ideas can comment on the common discussion.

Finally, I hope you don’t regret what you do and embrace your own way.