Quote:
catzwolf_ wrote:
I never said because it is easier, I said because it separates presentation from logic. It means you the designer does not have to worry about the workings of the mechanics and deal with the presentation only if need be. There are many designers out there that don't programme with PHP and don't understand PHP but they feel uncomfortable working with PHP.
I completely understand that quite a few people don't understand php and don't want to understand php, but I don't understand why that means that those of us that do understand it and are comfortable with it are unable to use it because of those people.
Quote:
Forgive me, but I really don't understand the reason behind your argument, what you are suggesting is actually a step backwards, not forwards when it comes to design. You can pass information back and forth from php to html easily via Smarty without the need to have <?php My var ?> all over the place. Initially I believed your comments to be about the security implications of working with and html file? Also, Smarty does have [php][/php] tags that execute php. Allowing you to actually use PHP code, when and where you want within your template. So you have the functionality of PHP and the flexibility of smarty and html.
My first post was an example of why I personally would prefer php over html, I should have probably made that more clear, that was my fault. The reason behind my argument is the frustration with limitations of the XOOPS template system and steps being made to further complicate a system which could be "de-complicated" simply by allowing a regular theme.php as well as a theme.html and implimenting a caching system that would actually cache php...that way those that don't understand php are free to use their smarty and html while those of us that do understand it can use straight php and accomplish more than we ever could with html...If you would like to know what limitations with the current template system I'm speaking of see skenow's post about what's being implemented in the 2.3 system in addition to many other things that I've come across that simply cant be done in the current template system. My point being that all of that could be solved with allowing php instead of further complicating the current system.
Quote:
If you are referring to Joomla, trust me I have worked with Joomla, XOOPS 1.3 and other systems that use this method and I do not appreciate having to go into deep into a function in a faraway class just to change one line of html because of bad programming design. Yes, they do have better themes than us, I will agree with you on that. But I know that a majority of designers there have been demanding a templating system in Joomla for a long time (Actually 1.5 has addressed this issue). This is my own personal thoughts on the matter of Joomla and I personally dislike Joomla for that reason (Though Joomla has other things I really do like).
No I was referring to phpNuke actually...nuke is a HORRIBLE CMS and is poorly coded, but the themes for it are outstanding. Try porting a high quality, well designed, feature filled nuke theme to xoops, you will find that you will have to leave out tons and tons of features simply because although the features are present in xoops, but you just cant do _insert_feature_here_ with the XOOPS template system.