How can we make a good website Series 3 initial ideas

Source: Internet
Author: User

Welcome back to this series of courses. Let's talk about the "first thought" today"

I think this course is the foundation of everything, because this initial idea is also the stuff that determines your website's achievements.

 

There are a lot of kids shoes, experience in designing websites, and experience in developing websites. Everyone's ideas have their own styles. When I hear that I want to develop my website, I will immediately configure the environment, add the jar package, and use SSH skills .. Net, start to open vs, start to build a solution, add a project, create a page or something. Experienced kids shoes start to build a "complete" project architecture in their minds. What IOC, AOP, MVC, and other frameworks are waiting to be installed in the website framework.

 

In fact, I am not talking about how to build a website project ,. net and Java, Java and. the idea of the net camp is different. php is slightly closer to Java.

What I am talking about is how to accomplish the goal. Different ideas may lead to different problems in the development process and conflicting solutions. If an improper solution is used to solve the problem blindly, the problem is solved at the end, but it is far from the target.

 

My initial thought was to say that "all programs in the system serve the front-end HTML code ".

 

Why is this idea? Because when we look at the website, as long as the HTML generated by the program is consistent with the expected HTML code, the effect of the web page will never go wrong, this is also the only criterion for judging truth ".

 

No matter how we do the program, we don't actually need to implement any function or access any data. The real purpose is to generate a bunch of HTML code and then let the client get these strings.

This is the essence of our program and the simplest way of thinking. To remove the gorgeous shell, all pages are strings.

 

According to this "idea", all platforms, all frameworks, and all class libraries are made to generate HTML, as long as we can generate the HTML code that the user needs efficiently and return it to the client. Speaking of high endpoints, this idea is also a "cross-platform" solution.

 

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.