Let 's write some front end codes

  sonic0002        2013-01-22 04:00:24       3,130        0    

I've seen a lot of arguments that there is no much technical value writing web portal, I think that the vast majority of good programmers will try many different things. The low level development and machine learning are not the only technologies which are  full of wisdom and challenges, I wrote web site for a few years, it is difficult to say that this is my initial interest, although I touched on other technologies as well, I still feel building website is challenging.

Front end development is an important aspect of the many technologies we should touch on. Those who put much effort on front end development may have the feeling that this is a whole new world both on theory and techniques. If you have not tried it, believe me, it will enrich your horizons, at least you will have a new understanding of design and coding.

For example, JavaScript has many quirks, you can find many substitutions of it. But it does give programmers rarely limit - if you wrote perl code before, you probably understand what is free code, what is poetic code. In contrast, there are some languages with strict syntax such as Java, they will not bring you much trouble, but they will not bring you an abundance of code aesthetic as well. There are many active JavaScript libraries and JavaScript has enough grammar freedom,it has eval and prototype, it also has dynamic language features.

On the other hand, the freedom of the code must introduce the art of code level design and decoupling. If there are many global var and global functions in your code, it certainly means that you are not very proficient in writing JavaScript code. Many people think that front-end development is very simple, honestly it's very easy to pick it up at the beginning, you can know how to alert a string, change the color of a div quickly. But if you want to grasp it, it takes your much time and effort. The great power comes with great responsibility.

Once you work on a product with complex UI, you will feel the power of design and decoupling. In HTML, CSS and JavaScript, variables or objects are easily contaminated, Modularization is very important. In  Java, you can complete the modular work easily with classes and packages. however you need to consider, these yourself such as the block layout of the page, CSS inheritance tree JavaScript bindings and anonymous functions. All these can help you understand development better.

Front-end development can also help you become the programmer who understand the product UI best. Programmers may easily fall into the trap to use a variety of techniques to achieve something but ignore the clear and reasonable user needs. The interface you create is going to help solve the problem, whether it is the layout, color or behavior feedback, it will always help you focus on the actual requirements of the user. Writing front-end code can help you easily communicate with users and quickly make the interface prototype.

The process of front-end development may also make you feel a sense of accomplishment. Because you only need to have a browser, a text editor with code highlight capability or maybe a little debugging tool. This is enough, you do not need to tangle in compiler implementation process or wait for the restart of the application. You can focus on your code design and coding.

Let's write some front end codes.

Source : 《四火的唠叨》

CSS  JAVASCRIPT  FRONT END DEVELOPMENT 

       

  RELATED


  0 COMMENT


No comment for this article.



  RANDOM FUN

Can you write code like this?

A TV program visits one game company. The programmer doesn't want to showcase his programming skills to the world. So he did this. Can you write code like this?