RE: [SMARTY-DEV] case-insensitive plugins

From: Date: Tue, 29 Apr 2003 13:25:06 +0000
Subject: RE: [SMARTY-DEV] case-insensitive plugins
References: 1  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-1294@lists.php.net to get a copy of this message
Writing HTML in upper case is not XHTML compliant and it doesn't add any benefit. So it doesn't make any sense to write uppercased HTML and so it doesn't make any sense to make Smarty case insensitive. IMHO Making smarty case-insensitive will make us read really ugly templates sooner or later, we all know someone will write a template like {Foo} <TABLE> <tr><td>Hey!</td></tr> </TABLE> {/foo} Isn't it ugly? Then why? why? :-) -----Original Message----- From: Konstantin [mailto:checat@pochtamt.ru] Sent: Tuesday, April 29, 2003 6:28 AM To: smarty-dev@lists.php.net Subject: Re: [SMARTY-DEV] case-insensitive plugins Hi! As long as we use HTML 4, which is mostly case-insensitive, case-insensitive Smarty is logical. It's simply an accident that I prefer lower-case HTML and so Smarty. If I'd write HTML in upper-case, I'd like to write Smarty tags in upper-case too. My 2 cents. WBR, Konstantin A. Pelepelin P.S. But if we think about future... Existing XHTML specification requires elements and attributes to be in lower-case, XML is case-sensitive. -- Smarty Development Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.smarty.dev (#1294) next »