Meal is an application that I like most recently. I think it is really hard to use the user experience of my website. Today I briefly analyzed the webpage of my website. Code The webpage layout is very clear and HTML is very clean. Source code I briefly understood the website architecture. The main domain name of the website is as follows:
Fanfou.com, wap.fanfou.com, static.fanfou.com, dev.fanfou.com, help.fanfou.com, avatar.fanfou.com,
Api.fanfou.com .
Fanfou.com is the main domain name of the website. The front-end applications of the website are mainly concentrated on the server where the domain name is located. wap.fanfou.com is mainly responsible for WAP applications, and static.fanfou.com is the server for storing static website resources, the static images, JS scripts, style sheets, icons, and other resources used by the main site are stored on this server. dev.fanfou.com provides the development site for the background (WordPress 2.2.3 is used for Site Building ), at the same time, it also provides website service logs and other information. help.fanfou.com is the server corresponding to the website's help information, and avatar.fanfou.com is the site for user thumbnail storage,Api.fanfou.com is used to provide secondary development interfaces.
In addition, the system also uses del. icio. us/fanfou site promotion, the use of www.google-analytics.com site back-end management and performance analysis.
Versioning is used for static scripts and styles. The format is as follows: static.fanfou.com/css/base.css? V = 032, static.fanfou.com/js/library.js? V = 001
Based on these analyses, we can see whether static resources are stored separately based on the characteristics of resources, and the "user profile picture" part that consumes website resources is also stored separately, other functions are processed in a simple distributed manner based on business conditions.
It doesn't matter whether these applications are on one server or multiple servers, because this design can completely expand the hardware based on the actual website traffic, second, in some non-main applications such as help and other sub-sites, the system uses open-source software to build applications, or uses 3rd-party services for system applications, there are not many optimizations.
In addition, the website also uses its own service features to build some system applications, such as message boards and meal or message messages. In itself, it is a form of micro-blog, making the system more novel and chic.
The website itself has excellent support for the concept of "ecosystem", which makes the system outstanding in terms of expansion or application, and is worth learning and learning from.
PS:
Xiaoxiaosheng-caogen network 20ju.com 21:15:52
Stone 21:10:24
Can Mr. Wang reveal the structure of the core team? I personally think that the product details and technologies can be very good and considerate. {is the website developed in Python, if you are talking about your feelings, there are not many websites using python in China}
WANG Xing-meal No fanfou.com 21:18:18
No, we didn't use something as cool as Python, that is, the great lamp architecture (Linux + apahce + MySQL +
PHP ). One major difference is that we don't have to worry about how to make money because we have some money in our hands and there is no economic pressure. So we are easy to feel that this is fun, at least we
I am willing to play, so I try to make things better and use them better..