What do the front-end development experience?

It is said that you are qualified to deliver this talk, in fact, is this, lol I was watching the game live, there is a well-known anchor said, hit more than 2,400 professional players have to do, and 1800- still struggling, only 2,000 hovering just out of the anchor to do, but it is so, if you are a very strong ability of programmers, you can capitalize on new technologies, frameworks, then you regressed may mask some real problems but some people say the problem happens to feature.

Many front-end development with jQuery contempt proud to jq-free as a blow-owned, this is no problem, because if your goal is to IE9 +, or mobile terminal, MVVM framework so you do not jq. However, let us consider two points, why force users to upgrade IE8 to chrome? win7 is such a good operating system, Internet cafes, computer, and even many office computers are xp, a large number of sites compatible with IE8, the user is God, we have no reason to upgrade eligibility requirements God browser it? Many programmers despise 360, but you should really thank the 360, 360 in a more moderate way to make a large number of users have upgraded chrome browser kernel, compared to the same user YY is simply rape, do not report in the background skeletons in the closet.

Then went on to say JQ where excellent, JQ is not worth the framework of the framework, and I hope that every product managers learn about JQ, JQ usage is definitely not accidental, the first JQ api design is very good (with generation for The Have selected Choose Device Yes too Cattle force of Assume meter when However This in and also To mention One u n d e r s c o r e 线 ) f e t c h a x i o s a x i o s g e t p o s t p a r a m s d a t a 便 J Q j q Instead of all the options are too fast hardware design, of course, have to mention here underscore underscore), this is a step backward compared to fetch high do not know to go there, I have used axios, axios get in and post with a with params with a data, this is a semantic requirements or standards it? I do not want tube semantic, because the tools of the package is to block out the semantic differences and inconvenient, be people-oriented. A lot of people criticize JQ a selector to do too many things, but if the jq Replaced jqDOM, jqString, jqSelector, then there will be many people with a framework.

Compatibility is not mentioned, jq2 perfectly compatible jq1, just give up some browsers. Product manager is worth learning, jq programmers focus on solving operational problems encountered dom, by the way comes with almost perfect ajax package and a few tools, the others have, and almost without any extra features. So, before moving end not to force, a lot of front-end templates are jq + fix everything. So, trying to jq some criticism, put forward a big news?

Next, let's talk about react, I have recently jumped the pit, no way, ng2 and vue on the core components of a third party's poor performance I need, even vue demo of this component can not be opened, star also It was rolled several times. But this does not mean that react no problem, there are a lot of people say that react cows cow on jsx, yes, I recently wrote, jsx's very flexible, built-in functions port households wording will let you do almost anything . However, I would like to ask you, in turn, used the template you in this life, no matter js, java, python, if someone does not support templates and for, this time it was not out to educate me jsx templates, custom templates is too simple , and a string of support for $ {} this variable substitution, this is the template, jsx fully satisfy this condition. Of course, there are people who meet the needs of the masses, there are plenty of on npm if and for implementation can be used.

Another point I want to say is redux or flux, this design, in order to make up for the one-way transmission itself react insufficient data (a feature you say I have no idea), I think the reverse is actually a way, because both before ng1, now ng2, domestic support avalon ie6 vue there are double tied support, but why this is one way to react binding. I first saw redux, is not that what a state machine, think again, think back decoration company in this science through the compiler theory and formal languages and automata these courses, yes, the state machine is not simple, especially in the a large state system of clear comb up, is not an easy task, demanding the team, so I was in project selection, decisively rejected the use of the familiar redux event model before.

Incidentally, here there is a problem I encountered, a tab assembly requirements are simple (1) basic function tab, click on the tab that is highlighted tag and a corresponding tab to switch styles and html (2) label by the user enter it yourself, do not limit what is, as long as the highlight label bg-color enough. (3) the tab labels and content may not have on adjacent or nested relationship dom, this is optional, this demand with even jq Primal should be handwritten level of it, then we try to develop much code reactive need it ?

Then talk about the mixed-use development, this thing is clear that is specifically designed for enterprise developers, of course, for the kind of business long before the collapse of the money transfer native or not say. Companies to develop, implement it, do not require multi-cool interface and fluency, the network is not sensitive to speed, internal applications nobody busy to see you find your code or loopholes to avoid this perfect mix of development weaknesses. No way, js features, no matter what kind of confusing to bare all with the same do not wear underwear, this is definitely not as lua addition to the traditional confusion this may also change the magic parser scripting language. Well, now the small micro-channel application, in addition to the traditional problems of H5, your entrance, the user, the entire Mania fall on the hands of others, you are willing to it? Perhaps that can purify what is now the app chaos, leaving the functional users really need, that is, big companies and big enterprises that "public" applications, such as check courier, registered mail, check a single laboratory, these uncontested, copy something useless, is the perfect thing to try small applications.

Recently out rn, but also out of Ali's weex, with cordova this (project some time ago to engage in cordova upgrade, really like the name, do read the writing cordova pit dug) system is not the same framework, cordova top no matter what the underlying We have a lot of native plug-ins you fit enough Primal function, with rn better, after all, too much on the boat react, it was to solve the problem of native layer, whereas for the new native frame, you confirm that you engage in a given Mody.

People like to make the front wheels, a few days ago to find a framework param url stitching, hair installing other applications actually rely on the two url param, is not as long. Carefully over the pages, there are a lot of isEmail, isURL such dependence, count on a project first started more than 600 node modules (including of course the dev dependency), if put in java, it is simply incredible, because apache utils provides a set of functions do not know how much. As mentioned in the apache, I have to say about java, many people say that the situation greatly changed the front end, a rear end with stagnant water, like, I want to ask, in recent years, whether taobao or just 12306, are the result of front-end optimization, As long as the back-end that put fend for themselves will be able to solve the big problem of concurrent?

If you are a java project selection, spring as the underlying certain unanimously, the next battle may be mybatis and hibernate, the characteristics of the project is almost the only choice, these set behind have nothing to argue about. But the front-end selection, I guess react, vue, ng be able to play one day. Therefore, java style that remained unchanged for decades, precipitation does not know how much of the essence, in addition to the tuning of the virtual machine, there are a lot of sports, this is not the wheels, including the evolution of many generations of lucene (now with elasticsearch a), as well as a series of hadoop, spark data mining framework, what the rest of the workflow, data bus are embarrassed to say. But now come out to the front, they use js swept everything, I would like to ask so much java, php, python, c ++, erlang, golang engineers will sit still what?

Maintaining the status quo is a good thing, js had hastily opening, and now the rapid evolution to ecma2015, but the underlying operational or ugly ecma3 (I do not reject the requirements of God, God gave me the money I make IE8 compatible), compared to the how many people with lower java1.6, python2.7, I believe, language, syntactic sugar itself is definitely not the first choice, because if you really like syntactic sugar, then you should support the c # fishes, the only explanation is that people who do nothing js own leisure leather own life. Habit is a good thing, if stable, but also to meet the requirements, you watch TV for many years are square, round two bicycle wheels for many years are now js world is what kind, there is a very fast hardware bicycles, cool running fast, the only problem is, no grip, grip you need to achieve. .

Just to be on her own and revolution are two different things, just to be what is the real solution, one jq, I think it is a large-scale open mvvm of ng1, but both are despised you, then google hastily out of the car ng2 , they found themselves at the front end of a built-in super-fast hardware complier have actually increased the burden on the system until a few days before the official release only the aot. Then again react to this mixed html js wrote in. On the other hand, we see architecture tools, glup and grunt is history, webpack rise last year, someone to be leather of his life, next year, what is packaged tools? grunt no mistake, his design is batch processing, compression, confusion, integration can do, webpack also bundle more convenient heating debugging, the new architecture tools, what feature allows users to give up something before, once again massive reconstruction wheels?

When such chaos enabled? do not know.

Author: fish
reprint: Front Lane

Guess you like

Origin blog.csdn.net/RedmiPro/article/details/91375702