Written in front of the words: A time ago, a friend is ready to do an education-related things, its people in Shenzhen, big city, always want to use spare time to test a certificate, listen to a training course and so on to recharge their own charge, I often go to a bookstore, often lectures are full of people, even the ground is filled with people. So he thought, can do the following one thing: He made an intermediary platform, while calling some people who want to listen to lectures (apprentices), while convening a number of people who can lecture (master, I think a lot of people who work for many years, in a certain aspect, must also accumulate belly dry, want to chest, At the same time to earn their own hard-pressed wages while giving knowledge, earn some extra money. The money he received from his apprentice, with his master, was probably one of those things. As for people, venues and so on, all can be done, so, want to make a website, because it is working side to do this thing. Therefore, want to do this alone, do not want to trouble others, to me to ask the method, about three requirements: 1 can be developed quickly. 2. The latter can be modified relatively flexibly. (WordPress still feel not too flexible AH) 3. A person to develop, the background of the art of all their own, as far as possible for their own. So this is the article.
Before you start writing, make a statement:
1. Pure independent writing, with the parties do not have any interest, is like chatting with friends, said I gave him the solution, the only kind of propaganda effect, is the bottom of this blog public number, there is no other request.
2. A friend knows so little computer, a mess of the site knowledge is also understood a bit, so I wrote the website development only for his tailor-made, and Daniel's classic method will have different, look slightly despise.
3. Blog Park Big God gathered, if for beginners inspired, also not white code so many words.
========== official content begins =================
A formal website development, theoretically need a team of cooperation, each play their strengths, the site needs analysis, prototype design,, transduction, foreground art, backstage code, algorithm design, database design, server configuration and so on a series of things, and a person want to cover these, still need to spend some time. So for a beginner, my advice is: Leave him 3,721, do not want to develop a Web site, do not understand, first developed a said, in the process of development, encountered problems, and then find solutions to the process, their own learning, and so completed a website, a lot of knowledge also learned some, With a perceptual understanding, it is not too late to go to a systematic, in-depth study.
Here is a way for me to develop my ideas and concrete implementations:
Develop a website, presumably these things:
1. There is a whole web page look like, we call it the front-end development.
2. The front end has, click inside the button, link, add information, modify information and so on operation, need background code, let's call it background development.
3. The front end has, the backstage has, the data puts where ah, therefore needs to use the database, is called the database development.
4. After the completion of the previous pass, the website can be looked at, the next need to find the server released, let's call the site release.
5. The website is published, if want to let others through a domain name to visit, therefore need to bind domain name, call Domain name binding.
6. Go back and digest it. Let's call it memorable.
The next step is described in detail. (It is recommended to read it first, and don't get caught up in a certain detail)
First, the front-end development
1. First take a pen to find a piece of paper, probably think of their own site which pages, what is the appearance of each page, if there is no inspiration, surf the internet for a while, draw on other people's practice.
2. The website probably looks like the idea, next to develop, do not write the code from scratch, you can use the front-end framework, a variety of front-end framework I do not compare, do not let you pick the headache, use bootstrap bar, website: http://getbootstrap.com/, Twitter's engineers have developed a lot of sites that are useful, and developing a passable website is no problem. Plainly, is to provide you with CSS, JavaScript files, for some page layout, JavaScript effect, do not have to write their own, you can directly follow the official instructions to operate. Specific instructions can look at the official website, do not think others are English, in fact, there are few words you do not know, find first practice, look for feelings.
3. What? Encountered in the process of HTML, CSS, JavaScript and so on, do not understand the words, suggestions on this site to sweep a blind: http://www.w3school.com.cn/, their own practice practiced hand, knowledge should be enough.
After the first three steps, you should be able to develop a similar effect of the site, about one weeks to see it, enough.
Note: The front-end development process without thinking about how to implement the backend? For example, click a button how to implement the function? Concentrate on developing front-end pages on the line. The front-end and back-end are separate, requiring only a small integration.
Second, backstage development
1. If the front-end pages are developed, the next to implement some of the features on the page, if the registration, login and so on, it is necessary to develop backstage, here I also recommend the framework, background development framework is also the sea went, with thinkphp Bar, domestic framework, also line, the pattern is more obvious. URL: http://www.thinkphp.cn/, it's PHP, what? Didn't learn PHP, used to learn C #? Java? Wait, don't worry, it won't take a long time to learn PHP, the key is to learn thinkphp, the other side of the PHP to learn it. How to learn thinkphp, you can look at the official documents, if you do not understand, you can look at this buddy's video tutorial: http://www.thinkphp.cn/document/258.html, speaking or good.
2. After watching the video tutorial or some puzzled, what a messy MVC concept, and so on, do not worry, go ahead, maybe slowly can understand, who said do not understand can not go forward, is not?
Note: This process may be a bit difficult, but also acceptable, learn to understand, later changes will be more flexible, at least feel more flexible than WordPress.
Third, database development
1. Background development process, to save the data, it is inevitable to use the database, then install MySQL bar, if you feel bad management, you can install a visual tool: Navicat, need to use what table, build what table it, anyway later feel not suitable also want to revise.
2. If the database does not understand a bit, then search the web-related knowledge, probably familiar with familiar, will build tables, increase or decrease data on the line. Some database operations, with the thinkphp framework, are very simple and do not need to consider too many things yourself.
Note: Database development is to be developed in conjunction with background development. Probably finished the backstage development, the database also almost built.
Iv. website Release
1. There are many managed code servers, there are charges, there is free, I recommend a bar, with Sina's SAE, speed can also, just start to find a try it, and then have time, you can try another. Here SAE is the SAE version that supports thinkphp. So upload the code to see the effect, post-release URL will look like: ****.sinaapp.com
2.SAE is based on access to traffic charges, get a real name certification, will send traffic, for the beginning of the site, enough to use; If you are not at ease, you can apply for a mid-level developer, each month will be given traffic. Before the microblog has added V can apply for intermediate developers, micro-Boga v to send a photo of their own work. Now my mid-level developers, there is a need to recommend, I can also help, anyway, I do not use.
3. If you want to view locally, you can install an Apache, as for deployment, it is not difficult.
Note: To release this step, I think there should be nothing difficult. Although once I and Sina various death knock, today or selfless for him to do the advertisement, I represent Sina, thank myself. (Please don't say I'm naughty)
Five, domain binding
1. The website has been built, if feel ****.sinaapp.com not good to see, want to use own domain name, also can.
2. Go to GoDaddy application, why is GoDaddy, others say, I also use, anyway I applied for two domain names, to now do not how to use, just play.
3. There is a domain name, you can login SAE backstage, binding domain name, operation steps, there will be a very detailed description.
Six, memorable
1. After a series of previous processes, a website that you think you can still be born.
2. What else do you want to learn in the process?
3. After the development of a website, this set of templates can be saved, and then develop other sites, they can also use.
4. Years later, you will feel your website is very low, but what can be, this is a kind of life smell.
It's a lot of talk, there are any problems, you can explore each other, I hope to help you.
Have obtained the author's consent to reprint
More Java http://techfoxbbs.com
The above describes a person's website development, including the aspects of the content, I hope that the PHP tutorial interested in a friend helpful.