merkalt:rendering_analysis
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| merkalt:rendering_analysis [2013/09/05 06:39] – dmitriy | merkalt:rendering_analysis [2013/09/05 09:20] (current) – ramil | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| **Analysis of rendering labels on other sites** | **Analysis of rendering labels on other sites** | ||
| - | Now the merkalt sites (excluding wallstickers) are using the next schemz: after the customer changed label parameters (type the text on the lines and leave the field; select motif, background or text color) there is a lock of all controls of product and execution of script in the background which renders label. The rendering result is saved in a temporary image file. In the HTML the label' | + | Now the merkalt sites (excluding wallstickers) are using the next schema: after the customer changed label parameters (type the text on the lines and leave the field; select motif, background or text color) there is a lock of all controls of product and execution of script in the background which renders label. The rendering result is saved in a temporary image file. In the HTML the label' |
| * http:// | * http:// | ||
| Update performed after each character set in the lines fields of the label preview constructor. On each change of solitary character, delayed update is started (timeout is 500 ms). After each click (color changing, motif selecting, etc.) the label update started without a pause. When update of label preview is ready, it applied unless user made any other action - this case the change not applied and preview generation starts again. | Update performed after each character set in the lines fields of the label preview constructor. On each change of solitary character, delayed update is started (timeout is 500 ms). After each click (color changing, motif selecting, etc.) the label update started without a pause. When update of label preview is ready, it applied unless user made any other action - this case the change not applied and preview generation starts again. | ||
| - | Label' | + | Label' |
| + | For example, after typing text " | ||
| + | /extensions/ColorStickers/operations.php?& | ||
| + | If we change the color of the text to blue the URL will be | ||
| + | /extensions/ColorStickers/operations.php?& | ||
| * https:// | * https:// | ||
| - | A similar algorithm for rendering the label as in the previous case. The only difference is that the process takes place without timeout. | + | A similar algorithm for rendering the label as in the previous case. The only difference is that the process takes place without timeout. |
| * http:// | * http:// | ||
| There are div elements as container for the label. All changes made by the user are displayed directly in the container html markup using javascript. | There are div elements as container for the label. All changes made by the user are displayed directly in the container html markup using javascript. | ||
| This method is used on the merkalt' | This method is used on the merkalt' | ||
| - | The advantages of this method is that the whole process of rendering labels are on the client side, no server requests are performed and therefore there is no need to use lockers or calls rendering by timeout as preview change is immediate. The disadvantage of this method is that we need to adapt the layout preview of the label for the main types of web-browsers. //Я не понял что это значит - adapt как? Там по идее только работы много// | + | The advantages of this method is that the whole process of rendering labels are on the client side, no server requests are performed and therefore there is no need to use lockers or calls rendering by timeout as preview change is immediate. The disadvantage of this method is that it need much more work. This method is one of the best in terms of performance. Perhaps it could be considered to be used. |
| * http:// | * http:// | ||
| The principle of label rendering is similar to the previous case | The principle of label rendering is similar to the previous case | ||
merkalt/rendering_analysis.1378363166.txt.gz · Last modified: (external edit)
