Home  >  Article  >  How to learn web programming

How to learn web programming

(*-*)浩
(*-*)浩Original
2019-05-10 14:01:029806browse

How to learn web programming: 1. Learn html and css; 2. Learn javascript; 3. Understand web servers; 4. Learn a server-side scripting language; 5. Learn database and SQL syntax; 6. Learn web frameworks.

How to learn web programming

#How to learn web development and what aspects do you need to master? Here I write down some of my suggestions for reference only.

There are two learning methods for learning WEB programming:

The first one: no matter what, learn all the basics first, each It is enough to master 50% of the knowledge points. Finally, work hard in actual combat and do not make up for any areas. This is called learning by goals, with the goal of achieving the final development results.

Type 2: No matter what knowledge, master more than 80%, no matter what you know or don’t know, practice it 20 times first. This kind of learning method belongs to the stupid bird flying first, hard work type, and it will be practical later. , it will be much easier.

The following is a specific WEB programming learning roadmap

The first step: learn HTML and CSS

HTML (Super Text Markup Language (Text Markup Language) is the core of web pages. Learning HTML well is the basic condition for becoming a web developer. HTML is easy to learn, but it's also easy to misuse, and it takes some effort to master it. With the development and popularity of HTML5, understanding HTML5 will also become a required course for web developers. When it comes to the appearance of web pages, you need to learn CSS, which can help you make your web pages more beautiful. Use HTML and CSS to simulate the typography and layout (colors, pictures, text styles, etc.) of some websites you have seen.

Step 2: Learn javascrip

Understand the DOM JavaScript is a programming language that can make your web pages more lively. Learn the basic syntax of JavaScript and learn to use JavaScript to operate DOM elements in web pages. Then learn to use some JavaScript libraries, such as jquery, which most WEB developers like to use. Jquery can effectively improve the efficiency of JavaScript development.

Step Three: Understand the Web Server

You don’t have to spend too much energy on this, but you must master the basic configuration of IIS and Apache. Learn this knowledge It's also relatively easy to put up and doesn't take long. Learn a little basic knowledge of Unix and Linux, since most web servers run on Unix and Linux platforms.

Step 4: Learn a server-side scripting language well

Server-side script programming (backend development) is also one of the basic skills of web developers. You only need to choose A server-side scripting language, and learn it well. Currently popular server scripting languages ​​include: php, asp.net, jsp, ruby, python, etc. If you are doing WEB programming, then it must be PHP! (Recommended course: WEB full stack development)

Step 5: Learn database and SQL syntax

It is usually used to build dynamic pages Database. Commonly used databases include SQLServer, Oracle, MySQL, etc. They all follow standard SQL principles. Usually asp.net programs use SqlServer database, and PHP and java use Oracle and MySQL databases.

Step Six: Comprehensive Practice

Choose a back-end programming language you like and combine it with the html, css, and javascript front-end technologies you learned before to implement a simple Guestbook, forum program, and then implement a simple CMS (content management system).

Step 7: Learn to use Web frameworks

After you master HTML, CSS, JavaScript and server-side scripting languages, you should find a Web framework to speed you up Web development speed, using frameworks can save you a lot of time.

For example, .net's MVC, JAVA's SSH, php's cakephp, CodeIgniter, zend, ruby's ROR, python's dijango, etc. In fact, they all have some similarities.

You may also learn the use of some tools during the entire development process: Visio, Dreamweaver, Vistual Studio, elipse, (Vim, EditPlus, Notpad), sqlserver, phpmyadmin, various browsers and FireBug plug-ins, WebDevelopmentHelper, IETester, etc. under IE.

Finally

If you are careful enough, you can also discover many good resources, such as CSDN, PHP Chinese website, some senior blogs, some technical forums, etc. , these are your wealth on the way forward in the future.

If you want to study in depth, learn the http protocol and understand what stateless is, otherwise you will never be able to do WEB development well. Study the operating principles of the web program server, as well as tcp/ip, udp protocols, etc.

From the simplest HTML to Web framework, there is still a lot of content. If you want to master every technology here, you have to work hard. Half a year is enough for you to have an effective understanding of web development. At this time, think about the direction of your further study.

The above is the detailed content of How to learn web programming. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn