|
Not painful at all!
|
|
|
|
Not painful at all! Do you have unlimited domains/subdomains?
|
|
|
|
Like I said, I just gave up after encountering some problems. As for templating... I used my own for a while. Something like this. But then I started using Smarty. Not really too big of a deal to me and works fine.
|
|
|
|
|
Like I said, I just gave up after encountering some problems. As for templating... I used my own for a while. Something like this. But then I started using Smarty. Not really too big of a deal to me and works fine. Well, working by yourself Smarty isn't that big of a deal. But when you work with co-employees who don't know programming but know HTML, it can get a little complex. At both of my workplaces the system is just to use basic PHP for tags. No additional languages for programmers or designers.
|
|
|
|
That makes sense... but honestly, if they know HTML, Smarty isn't too hard to learn... It's not really an additional programming language. {foreach from=$loop item=item} {$item.data} {/foreach} If they had troubles with that, I'd be concerned. Explain it to them. It's really simple. "This loops through all the data in $loop and outputs it in the format you want."
|
|
|
|
|
That makes sense... but honestly, if they know HTML, Smarty isn't too hard to learn... It's not really an additional programming language. {foreach from=$loop item=item} {$item.data} {/foreach} If they had troubles with that, I'd be concerned. Explain it to them. It's really simple. "This loops through all the data in $loop and outputs it in the format you want." Yeah, but the additional parsing isn't really worth it when you have this already built in: <?php foreach($item in $loop): ?> <?php echo $item['data']; ?> <?php endforeach; ?> And I agree it's not really another programming language, but it is another language. It's another syntax to remember.
|
|
|
|
Not painful at all! Do you have unlimited domains/subdomains? Yes, why?
|
|
|
|
Do you have unlimited domains/subdomains? Yes, why? Just wondering if your solution was a massive number of directories as well, or whether it was a massive number of subs.
|
|
|
|
Yes, why? Just wondering if your solution was a massive number of directories as well, or whether it was a massive number of subs. I have a test subdomain [test.wrighty.info] that I use for everything that I test. All things are then put in their own directory in there etc.. Other than that - that's how I do it!
|
|
|