From: Tanti Steve <STETAN@melbourne.vic.gov.au> - 2004-05-26 01:43:27
Hmmm well that was an email from M$'s web mail client... Here it is in
text format so humans can read it...
From: Tanti Steve=20
Sent: Tuesday, 25 May 2004 8:19
Subject: RE: Echo vs Print
Hi guys'n gals,=20
In an earlier email, Ken said that he's keen to do the print() -> echo
conversion once the code freeze has happend. Is this still the case? If
so, instead of doing all that work, why not just implement the Smarty
Template system at that point instead?=20
From what I've seen, it will require people to go through the whole code
base and change the print to echo's, and then at some time in the
future, you'll do it all over again to change to templates.=20
Why not cut down on the overall work load, and do it just one time? It
will make the code a hell of a lot easier to read as well with all the
HTML seperated from the code too. Plus the templates just give sooo much
more flexability to the end user than there is in the current code
Just my 2c.
This e-mail message and any attachments are confidential and may contain co=
pyright material of Melbourne City Council (MCC) or third parties. It is i=
ntended only for the use of the individual or entity named. If you are not =
the intended recipient, any dissemination, copying or use of the informatio=
n is strictly prohibited.
Please check this e-mail for undetected viruses before opening. MCC's liabi=
lity for the transmission of viruses is limited to the re-supply of the e-m=
ail and any attachments or to the costs of such re-supply.
MCC policy expressly forbids the dissemination of offensive or inappropriat=
e material by e-mail.=20
If you receive this e-mail in error or in breach of these conditions, pleas=
e advise Melbourne City Council by e-mail to enquiries@...=
or by telephone on (03)9658 9658, then delete the e-mail immediately.
From: Victor Boctor <victor@fu...> - 2004-05-26 10:17:48
> In an earlier email, Ken said that he's keen to do the print() -> echo
> conversion once the code freeze has happend. Is this still the case?
> so, instead of doing all that work, why not just implement the Smarty
> Template system at that point instead?
I agree. I am actually very keen about the move to templates. I think
it will make the code much cleaner + add a lot of flexibility when it
comes customizing the look and the fields on each page.
> From what I've seen, it will require people to go through the whole
> base and change the print to echo's, and then at some time in the
> future, you'll do it all over again to change to templates.
I assume this was going to be done via a script, or a "Replace in files"
feature which replaces the strings on all files in one directory tree.
But I would rather if we skip this since it makes applying old patches