RE: [SMARTY] Re: Dreamweaver MX & Smarty!
| From: | james nguyen | Date: | Mon, 03 Jun 2002 17:28:44 +0000 |
| Subject: | RE: [SMARTY] Re: Dreamweaver MX & Smarty! | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-4552@lists.php.net to get a copy of this message | ||
i agree with the direction of allowing xml compliant templates through the use of plugins. this will allow those that do not decide to use this feature to do the design in DW to coninue to do so.
the benefits are tremedous for those that want to use the xml syntax to do design work in popular wed editors such as DW. this will allow the developers to further separate coding logic from design. how do we do that with xml syntax as appose to the current method you ask? well... i proposed that once we have a plugin that interprets xml syntax templates, we can then build tag libraries in which designers can take advantage of in their design work.
for those that bring up the xsl issue, i think that it is not applicable for this case cause we are only talking about xml syntax for parsing as appose to the current method. in theory it's almost the same because you can already change the delimiters to <smarty:function foo=bar/> style. the inline tag attributes can be handled with plugins which won't affect current users of smarty unless they opt to use the plugins. an inline tag example is <body backgroud="smarty:background">.
this will be a win win situation for the smarty community because it provides a solution for various designers. those that are vi or notepad hardcore can stay with current methods, yet we can also provide for those that are DW hardcore.
i currently have a project that's on going dealing with a popular portal app called Postnuke. my project involved making a templating system for the Postnuke community, which we called Encompass. Encompass uses smarty heavily. the problem is that we are beaten out of the template system integration into Postnuke because we did not have the option to allow xml syntax templates. this is smarty's current weakness which should be looked into. if someone here can help me write or already have something done along these lines, please contact me ASAP. i will want to fight and make smarty the core engine used in this popular product.
my project site is www.duskyblue.net and www.madhatt.info is the partner site in creating Encompass.
the portal app can be found at www.postnuke.com
i really love smarty and would like to see it incorporated in the Postnuke portal project. plus this option will NOT disturb the already existing smarty community, but will build a much bigger community.
-james
From: LIMBOURG Arnaud <arnaud.limbourg@cegetel.fr> To: smarty-general@lists.php.net Subject: RE: [SMARTY] Re: Dreamweaver MX & Smarty! Date: Mon, 3 Jun 2002 16:55:42 +0200_________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspxIf you use XML for templates you're better off with XSLT.Yes, I know. But I though only of making Dreamweaver MX work with Smarty syntax. DW settings are in XML files. If we could translate Smarty syntax into XML I could prepare XSLT transformation file. Ok i understand your point. It could be useful for sure but there is quite some work when you look at all the features samrty provides us with ;)) I do not assume that Smarty should work with XML. I would like just only export (or import) its syntax into (from) XML. Yup.I can't see any advantages in having that functionality.Wg. compatibility with other programs using other template syntax (like Dreamweaver MX). Most layouts are prepared with this tool. Designers do not like programming because it is much easier to prepare layouts using visual tool like DW MX (instead of coding with eg. HomeSite which I am using it) DW is very popular tool for designers. If it could work with Smarty, they become much more popular. That's right, it would be a good boost. Anyone has tought on the subject ? Arnaud. -- Smarty General Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php