I and CMS's past

CMS (Content Management System) on the web in the understanding, that is, we often say that the background for the daily management of the site. Went to the end, our curriculum --web programming, you need to submit an end of major operations, recently needed to develop a simple web-based JSP, So, we thought of the beginning of the past when doing web development. So special to write an article about my past and get to know familiar with from CMS familiar.

Initial contact site should be back in the second half of 17 years, was followed by a team of seniors do web development, the initial intention was to develop a static web, I was also just finished learning html, so the aim of studying the attitude, the next this development tasks. At that time while learning is js, while doing development. I studied js, you can find to change the content of the page by js, so I naively thought, can not write a more even tell the user html page to change the contents of the program by js it? CMS then know where this kind of thing had already been invented people. I also silly to try, and found not, why, because the content changes by js just change the contents of the current user's browser requests through the html page, it just runs in the user's browser page only, and even if you change the current page, you can not change other page has been requested before. Later have forgotten is how to know the difference between before and after the end of the program, it may be through access to information. Later we learned that the front end is running in a browser, and back-end processes are running on the server side, so I started to learn the language of the backend PHP (now PHP has lost count of how to learn, and my heart there are several possible the reason, not go into here). I was watching the online PHP tutorials found in the tutorial to do things and I like the idea (the tutorial is doing something called the background I now know), I was really surprised, because it was discovered their own ideas it is feasible, and has been familiar and used a long time ago.

Beyond that later, then, it is to learn PHP, take a framework to develop the background page also spend the database to access data, while still doing the user interface and back-end development Front program. At that time has not yet begun to write user registration, login function, because there is no demand in the project only required to show users on the line (or at the time development of demand is not so clear it), we do not know the cookie, session this kind of thing presence. Doing his discovered an interesting thing ^ _ ^, because I am interested in safety, so I thought, that if someone else's site was discovered by chance backstage others, that sensitive information is not to disclose it? This has to be! ! ! So put doubt in the online search, so you know, the basis of authority do to control this function by administrator login. So I made a background page, the login function to spend, so I'll give my own background coupled with a door, you want to get into my background, then you need to know the administrator account and password. Of course, I also did a background frame access control, users can only log in to view the content. Then simply do not know php pages include incoming control authority in the end how much scope there will think that the whole background to the role of all, there is no so many pieces.

One pair of security interest to programmers of course always thinking of security issues in development (at least at the time I put all the places may appear vulnerabilities can think of himself think of O (∩_∩) O ~ ha ha), I found, others will not go back to visit my page with my background frame, but enter an absolute path back page directly in the URL address? Under that to try, so I found out while signed out, you can go back through the access method directly to the back of the page, so it's like I locked the door of my room, but I gave the thief left a lot of windows , but also the open window! ! ! Nature is the solution to all background pages include php program access control.

So, then, my story and my own background to develop a basic understanding of it. With further development, learning more and more things, very smooth development over natural background. Later, then go down, web development task is complete, I left out the project area safe. Engage in infiltration time I found, ah ha? Others have developed a good CMS, and it's free, there is such a thing! This can be directly through CMS directly to build a web, and this is what I know, the original developers do not understand is that you can build your own website is really achievable ah! Even if the development can also be secondary to develop their own web according to others develop good CMS. So before their own costs so much effort to develop the background not a waste of time, do their own security is not enough, this time really kind of feel small feeling that they do not know too many things in this world ...... of course his original the hard work will not be wasted, because it made me grow up, I fear, are growing step by step Well, not before, they will not now own, it does not seem to present myself in the future there will be more good yourself.

Guess you like

Origin www.cnblogs.com/po-bear/p/10981510.html