For the Web site development Novice, should be HTML, CSS to learn after the PHP or should first understand some of the front-end knowledge and then learn PHP?

Source: Internet
Author: User
Tags version control system ruby on rails

Reply content:

First of all, these two things are not a restrictive relationship, there is no first to learn good one and then learn another problem. In fact, a few years I also often think of similar questions, such as specializing in Python or PHP, whether to devote to learning a certain framework and other issues.

Later on in a forum I found a can convince me that the first language is not good or bad only fit not good, the field has no merits and demerits only like not to like, so say learn what to look around the environment, for example, you have a python cow, Python source He has studied one side, There's such a cow around. Why not start with Python. If you are not around any conditions, like looking at the front, and then look at python,php and other backstage, like which to learn which. There's always one for you.

If it is to get started, you can start from JS, because JS things have been written down there is a place to use, such as you write a chorme plug-in, directly is installed on your computer running, will give you a lot of motivation to learn. Of course, as you understand the depth, you can go to the direction of Linux and other development.
four sections
Here's a rough list of the four-part points of knowledge that you need to master when you're learning web development.
    1. The basics of web frameworks, such as Ruby on Rails, are also known as "include site modules and their connection structures."
    2. Front-end development, aka "How to make content appear in the right place, and look good in the browser".
    3. Versioning, aka "How to use free and easy software, enables programmers to save their version of the program in an organized manner." This way they don't have to worry about the version clutter that changes the code, but also work well with other programmers. "
    4. Deployment, aka "How to really put your website on the Internet".
PS: Mark these parts as 1 to 4, but this does not mean that there is any particular order between them. You can learn these things at the same time.


Part I: Choose a web framework and start learning it
The time spent in this section is much like this model, which is "choose a web Framework" and "within about 10 minutes". "Learning this framework" = "many many (happy) hours".
So, what is a Web framework? My understanding is this: there is a framework before people in deciding to make a new website, often need to add some of the same things to the new site every time. Since these are repetitive and tedious tasks, programmers have developed frameworks such as rails that move a lot of repetitive work beyond web development. People like to say that rails stands for "Conventions better than Configuration". It means that if you want to develop in the way you agreed, rails makes web development simple.
Part II: Learning the front-end stuff
The definition of "front end" and "back end" incomplete/inaccurate may be this: "Backend" in web development refers to the place where you store and organize your website data. Sites like Yelp, for example, store a lot of things: its users and users ' profiles, a lot of restaurant information, what users say about a particular restaurant, and so on.
Yelp stores this information on the server, which is a mainframe computer that is distributed in different places. When you search for "Pizza in San Francisco", your computer sends a request to Yelp's server, and the Yelp server receives a post-postback HTML request message (Yelp each time it instructs the server to behave in this way) to your browser, browsers are rendered (for example, separating HTML into text and pictures, and then having the images and text appear in the browser window in the correct way). The later part-the instructions about how the data should appear in the user's window (rather than what data should be echoed)-is the "front end."
Part III: Learning version control (e.g. Git)
Broadly speaking, the version control system allows programmers to save their code in a timely manner at any point in time (formally saying "commit"). When a project is finished, a programmer may have accumulated hundreds of or thousands of copies of such a code backup.
I didn't realize the importance of version control before. When I was writing an article, I didn't save every modification I made to my article to a Word document. Will things be different when I write the code?
It turns out that the answer is at least two ways. First, programmers often lead to unexpected problems when they write code. When the problem occurs, we can easily roll back to the last working version of the code. Then, programmers often work in the same project. In this case, they need to be able to easily merge their code. A version control system like Git (currently the most popular) makes it easy to do the above two points.
Part IV: Learning how to deploy (e.g. Heroku)
When you develop a Web site, most of the time you will be validating the check in your development environment-in other words, on your own computer, not on the Internet.
The reason to have such a development environment is simple: uploading your code to a remote server takes some time (for example, uploading to an actual server on the Internet). Because your site is in the development phase, you need to constantly check your site, and each time you upload new code, you need 20-30 seconds to wait for the server response, and then see the new code to run the effect, it is really annoying.

The above is purely extended reading, for your questions I directly give my advice to put:
    • Since you are a front-end, then html,css these must be learned.
    • PHP is a powerful server-side scripting language that creates dynamic, interactive sites that are ideal for web development, and that code can embed HTML code directly.
    • Understanding the front-end knowledge, not only in communication more smooth, design more reasonable, for the design process also has certain help .

Summary: Learn HTML and CSS first, then learn and use PHP when you can use the previous learning HTML and CSS. This helps to become more fully familiar with the use of these 3 languages. Why do I think that PHP's front-end technology is higher than the average designer level? will do coding design. No..... Many.... Bar .... These two techniques are not really relevant, and learning none strengthens or weakens the other.
From the salary to find a job, learn PHP first, the money is not good or bad for the language is not suitable, the field has no merits and demerits only like not to like, so say learn what to look around the environment, for example, you have a python cow, Python source He has studied one side, There's such a cow around. Why not start with Python. If you are not around any conditions, like looking at the front, and then look at python,php and other backstage, like which to learn which. There's always one for you. I do not know whether the questioner accepts, I still straight into the topic: first understand the basic HTML, and then learn PHP.
You learn PHP, and ultimately can not be separated from the page to render a dynamic page, to understand how HTML performance page, for your ultimate purpose is helpful, at least, you know how to write PHP page, how to write. Simple to learn a bit of HTML, and then play open source program imitation station, dozens of stations in the evening, began to open the open source program two opened, found that the struggle, began to learn the basis of PHP, through learning once again, began to play Yii, and then do not limit the way, play on a pile of items, this time again to ask this question
Dongying website Construction
http://www. uu546.cn First look at the CSS implementation of the case, learn from each other:

Pure DIV+CSS3 Code Draw Hellokitty Cat
Doraemon Blue fat Come, HTML5+DIV+CSS3 code drawing machine Cat
Pure DIV+CSS3 code draw cute little girl First pre-school section based on HTML CSS JS
Then learn back-end PHP ASP. NET

Shenzhen website Design Shenzhen website Construction
http://www.sj4a.cn/
  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.