JS transmission period – Chapter 3: The Cat Heroes

See section 2: here

Summary of the previous part : NodeJS and a series of frameworks were born, making great panic.

Note : This chapter is useful for most front-end developers or those who work a lot with JavaScript. If you are back-end developer or do not use javascript then you can read entertainment.

Seventh episode – Wanderer

In the old days, just knowing Javascript and jQuery could be poisonous; mastering a little AJAX technique is able to ride the clouds on the wind, goofy and crazy. Unfortunately, there was no more. Currently, only front-end features have more than 63 JavaScript frameworks, this number continues to increase ( source ).

Black people fall into misery. Dozens of these frameworks combined into a battle of the bagua making crazy island from the experience coder to newcomers to the profession. NodeJS and countless libraries / frameworks front-end and back-end … make panic-stricken now more and more chaotic. Please briefly mention some of the JS frameworks that are making the wind rain ( source ):

Ember, Angular, React, Express, Grunt, Bower, npm, Broccoli, Gulp, Lodash, Underscore, rxjs, Knockout, SocketIO, Threejs, D3, Backbone, Ionic, Angular2, React Native, Redux, Alt, Reflux, Webpack, Bluebird , Q, Express, Mocha, Jasmine, Chai, Koa, Less, Sass, Postcss, Impressjs, Revealjs.

To comment on the world, please quote two verses in "The Framework Bay" due to the lack of congregation by Hoang, my master subject to go for a walk .

Those who still remember the old days

Ji Qi (jQuery), A Jac (AJAX) is an extra power

Now it is hard

La (AngularJS) on, Rét (React) under, guilty of life.

It is rumored that these ancient poetic poems were composed when the author was drinking wine and watching white. This coward thought that it was composed when the author was cracking up the stone. (The proof is that it is said to be two sentences above and below the four lines).

Great Congress in chapter 1: In the old days, jQuery at the lower level lived very well. Now martial is too disturbing, do not know to practice Angular or React

Want to know how people (developers) are in chaos live, invite to see later.

The eighth episode – The happiness and suffering of the computer

The Nguyen Dynasty Dynasty Magazine once said: "Hung, compose suffering; death, the gauge of suffering ", the idea is to accept the developer, then life will always suffer. Say that that is not so. The advent and competition of frameworks for developers' work has become much easier. Everything is available, just use the / framework library to finish:

  • Want to build the web with nodejs? Just install express. Want to write RestAPI ? Using express also plays.
  • Want to write a mobile app? Ionic (based on Angular) is available. If you need to be stronger, play React Native (based on React).
  • Want to write JS standard ES6 ? Just install Gulp , install Babel .

But besides the happiness, suffering is also very much. For experienced developers, having too many frameworks makes it difficult for them to choose the right technology to pursue. With new developers, things are much worse.

Friendly developer 12 water berths

In the old days, if you wanted to learn static web, the initiator just had to do the following 3 steps to get started:

  1. Open Notepad
  2. Type HTML, then paste the jQuery CDN and Angular links
  3. Start the code

For now, if you want to make a simple website, displaying only 2 lines, we have to do about 11 steps as follows:

  1. Install NodeJS
  2. Create a new project by typing npm init
  3. Install Webpack
  4. Create a webpack.config.js file, edit the file accordingly
  5. Install Babel
  6. Create the .babelrc file and edit the .babelrc file
  7. Install React
  8. Open Nodepad or IDE
  9. Create 1 index.js file, an index.html file
  10. In the index.html file point the path to the index.js file
  11. Start writing code in index.js file

Of course, if you follow 11 steps, the code will be "happier". However, what we want to underscore is the reality of JavaScript : so many frameworks are born, making the lives of developers become more complicated and causing numerous difficulties for newcomers. The Western developers expressed their views on:

In this chaos, wanting to survive is not simple. Fortunately, in the lower part, he collected some secrets of his predecessor's room. Please read these tips at the end.

Conclusion – Secret room

In my experience and my seniors, the most important thing every developer needs is the basics .   Remember, learn the basics of JS , don't want to study the framework first . What is this basic:

  • Basic JavaScript. How to practice? Read sida JavaScript series, reflect the rules and some other books .
  • Learn NodeJS and learn npm. This is required because NodeJS is used for a lot of things, not just the front-end.
  • Practice getting acquainted with ES6 because this is the future of JavaScript. With Babel, we were able to write JS to run on older browsers.
  • Some patterns and basic concepts: Callback , Class , Module, Prototype , Promise , Ajax Rest API. Remember to learn MVC and MVVM models too.

After learning these things, you have a strong foundation on the front-end path. Now we can focus exclusively on a framework (AngularJS, React) depending on the job requirements. If you follow the back-end path with NodeJS, you need to learn more about the basic NodeJS libraries, pipe, MongoDB mechanisms .. before plugging in the frameworks like Express or Sail.js.

Remember carefully, do not follow the crowd but learn and think clearly. Please borrow two verses to describe the attitude that a front-end developer should have between the times of turmoil.

Live happily and reliably.

Center invariant, between the flow of eternal variables

In the midst of the current twist, we have two choices. One is to be entangled with the world , chasing the glittering flowers. Secondly, it is a solid base forging to keep the "unchanging" heart. Having a strong basis, every martial arts school or framework can easily grasp.

ITZone via toidicodedao

Share the news now