For encoding system, generally two common strategies: 1 is to do htmlspecialchar endode for all pages on save and to decode only on inserting code.* pages 2 is to save all pages as original and escape them on loading non- code* pages, datas, infos or so.
good for 1: -better performance -simpler codes good for 2: - convenient for modifying the source files directly - less disk spent the bad is no matter 1 or 2, the backward compatibility would be terrible... I used to think about 2 because I didn't notice the choice of 1 and notice that data and info loading also needs escape, but now I think 1 may be the better choice since we load often and save less. Also, the current data/info loading is buggy since ">" are not escaped so <b>xxx</b> in data/info would not be parsed as markups.
-- You received this message because you are subscribed to the Google Groups "BoltWire" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/boltwire?hl=en.
