Source compression Package When the first hand, 2.87M, as a web program, such capacity can be considered large enough, The directory also reaches 8.74M after decompression, however, when you see PW default with a number of styles and a relatively complete IP library (and did not use the common pure IP library, but as before, according to the IP header split txt file), also understand the directory so large reasons. For today's network speed, download about 3M of the source code is nothing.
Try to install the PW and find that the installation interface has improved considerably compared to the past, but. This is certainly not my most concerned about the problem, I am most concerned about the performance of the program, perhaps every webmaster in downloading it, performance is the most concerned about.
Setup in the last step for the PW initialization, this is not the same as DZ, DZ is the first run after the automatic flush cache (perhaps because of the test version of the reason, the cache refresh may not be very successful, the background again refresh the cache after all normal). Open the Home page discovery execution time is between 0.02 and 0.03 seconds.
Although this is very fast, but after all I am now the first outfit, the database does not have any data, this execution time may not explain what. For this purpose wrote a cycle, into the database inserted 100,000 data, 300,000 replies, and then did a test.
When opening the foreground:
When opening the forum to display the list of posts:
When you open a topic content:
I have to make it clear that all the posts here are a topic, three replies. The code is also very simple, attached to the end of the article, you can ask interested friends to test themselves.
See the above several execution time, completely can see PW in the page cache aspect still do very good, because the environment is different a bit one-sided, but overall, pw response speed is still possible.
Finally, I tried to open the Web site backstage, because there are some features in the update list is very useful to me, so special attention to them (of course, I am more concerned about, why the background login page has not changed?) Is it in response to Comrade Xiaoping's saying that 100 years have not changed? A joke):
Improve post audit function, post page increase [audit] link.
Home n style with Plug-ins
Forum status settings and default home settings
Batch scoring and bulk merging
The control Surface Edition adds the personal note function.
Enhance founder functionality, allowing multiple founders.
The above list is very helpful and thoughtful to me, relative to previous versions or DZ.
1, in a number of well-known forums are negative news reports, as well as the press and publication Agency and other national institutions on the media, the content of the forum more and more attention, the post audit automatically became a focus on the object, PW is also the first domestic PHP forum post audit Function Forum, But full background batch auditing allows forum administrators to always open a background window where, administrators have to constantly switch the forum front and back window, affecting the Administrator and forum users of the interaction, while in some popular sections can not reflect the audit of the "instant" and "timely", now has a post page audit, Administrators can directly in front of the new post after reading the audit directly, so that the forum more interactive.
2, home n style with this plug-in has recently been the major webmaster attention, after all, in the Forum home page can let users know the latest hot stickers, essence, Getoux, etc., can enhance the appeal to the Forum users.
3, forum status and the default home page with the past has a different place, in the past, the forum only closed and open two kinds, timed to open this is only very old function, but once closed, in addition to QQ, MSN, mailbox and mobile phone, how we in the Forum of other elders contact? The internal opening of this function can achieve this effect, specify the most enthusiastic user or the Senate ID, we can still through the forum they maintain contact. The default home page is just compared with the previous display of a home page, you can make the forum look like a CMS or say the hottest side of the forum to show the user.
4, batch scoring and bulk merger is a simplification of a lot of previous operations, not like the previous post processing, shortened the administrator's processing time, save energy, you can spend more time on the Forum management.
5, the background of personal notes function, like a small message board, if the administrator has more than one, you can through this small window to assign other administrator to do things or greet each other. Of course, it's more like OneNote to keep track of things you need to do recently so that you can remind yourself of what's not done or what you need to do next time you log in.
6, the founder of this concept is not pw the first proposed, but this version of the PW is thoroughly enhanced this function, although only just add the founder, but the total than DZ directly modify config file is more convenient, but also more intuitive. After all, DZ Modify config file is input user ID, once the wrong and upload, may bring some unnecessary security risks.
There are other features in the update list, such as page efficiency, increased load speed, improved browsing experience, updated bugs, and so on.
These functions have been basic to a forum's daily needs, then, the rest is compare. Although the use of PHP in the domestic forum a lot, in addition to PW, there are phpbb,vbb,dz,molyx, but the real use of a large number of PW, DZ, Molyx, but have to admit, the current market share of the first two or PW and DZ, then after the function, Compare it with DZ in terms of code and database.
After a careful look at two directories, found that the directory structure of two programs almost consistent, I believe that this is the two forum procedures in the past years of development and invariably think that such a directory structure is more conducive to process-oriented applications. Two programs will be the language pack in the template directory, but DZ still adhere to the admin template and foreground application template separately placed in the admin directory, and PW but still with the style of the catalog put together.
Since PW has the ability to generate static pages from recent releases, there is a html_data directory of pure HTML pages compared to DZ, and nothing else is comparable. PW The JS directory under the root directory, and DZ is placed in the Include directory. But the effect is the same, there are other similar small differences, no longer enumerated.
and DZ in the template application has been taken by two different means. PW is more inclined to use PHP delimiters to deal with the Web template, and dz from the original is the use of their own Write template function processing, two procedures are persisted to now has not been replaced. Although DZ's template is compiled, once compiled, there is no need to deal with, but after all, there is no direct delimiter processing fast. DZ template relative to the art is easier to make, and PW in the template processing speed more than a chip, two of the focus of the program is not the same, which is better than the poor can not be said clear.
Since all two programs support the payment function, here do not compare the implementation of the function, but simply to judge: DZ put these additional functions in the API directory, and PW directly in the root directory, relatively messy; DZ's payment function is all encrypted, two development time without any reference, PW is completely open, from the file can also be known to call the Phpwind network interface.
It is also worth noting that PW and DZ both provide the FAQ customization function, because there is a database, but do not want to provide the corresponding language type for the FAQ, since the program supports a variety of language applications, why do not see the language type when helping? Can not let me in the English version of the program, still use Chinese help it? Hopefully PW will provide similar functionality in the next release.
A slight look at the program, found that PW previously favorite "short-circuit" operator (&& or) almost disappeared, and DZ began to apply more, "short-circuit" operator can significantly reduce the amount of code, but it reduces the readability of the code, and "short-circuit" operator is not very common, The average two times developers may be confused when they see them.
Starting with 6.0, getttable and getptable two functions were used in SQL when reading topics. Until I saw the two functions to understand that the original PW also have the function of the table, it seems PW or consider the Forum data volume is very large, through the table to ease the pressure of the database, carefully looked at DZ, and did not provide class Similar applications. and PW for posts and replies using three data tables, which with DZ only use two tables (theme table, content table) has a very big difference, also make me very not adapt (brush data test pressure, found that the theme of dead and dead without content, edit update also useless), it adopted the theme, topic content, reply three tables to record , the table name is Pw_threads, Pw_tmsgs, pw_posts, completely remove the subject content from the reply table, one is to reduce the pressure of the return form, and secondly also relatively easy to manage, just so in reading the data content, may be a one-time across more tables.
Overall, the PW update in addition to fix some bugs and enhance the user experience, or the entire program to a greater degree of improvement, for the pursuit of the speed of forum access PW, can maintain access speed and add a new functional experience, indeed relatively rare.
Thunder Download has always advertised its own download is "fast", pw see the name can also imagine it has a symbol of the speed of the blast, but also has the freedom of the wind.