From: Andreas A. (Thyrell) <a.a...@th...> - 2001-09-18 09:07:13
|
Hi Alex, Hmm regex is another option. This could be a part of the the TemplateManager. So we can do stuff like <bc:tmpl var="something" /> that would make into <?=$TemplateManager->handle["something"]?> or something similar. How are your plans for the native TemplateManager. Will it be a xslt thing (as planed some months ago) or will it be more like smarty (replace) or completely make based with bc:style tags ? I'm still unsure about the xhtml/xml/xslt stuff. It would simple things up and also make the docs clear and usable by transformers. I know if we use that it's enforcing policy. But in the process of standardizing things it's a logical step. And for what are standards? They force something so that everybody that knows the standard can use it ;-) I mean, using standardized technology will make live easier, even if people are not used to close the <img> tag. In my opinion it's not a big deal to close them. To learn this it's a matter of an hour or so. The loose-xhtml standard is not much different from html. I think if we start using xml stuff (we already have in the configs) we should use it throughout the system. Ok, it would force xhtml on users - but bc is targeting professional users and big projects. So using xhmtl would not be a drawback in my mind. Andi > Or, because of the simplicity of the tags, we could probably > build a regex that would get 'em all. > >_a > |