Jacob,
Oh, I am familiar with there HEREDOC syntax :) I tend to not use it as much as I should. I'll be sure to use it if I come across any larger string that I'm building.

Usually (when I do things right), my logic/view is separate and I don't get into any messy HTML in my php or anything that would otherwise give me a long string.

Thanks for the headsup AND the commit :D!

- Blake

On 26-Mar-09, at 3:34 PM, Jacob Farber wrote:

Heya, just another little comment:

When you want to do large string concatenations (like the $str is in VULAB-189) you could use HEREDOC syntax instead of ".=" concatencation, which would result in MUCH cleaner code and readability:

http://www.php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc

Lemme know if you want me to clarify in any way :)

Other than this little pointer, I will apply it and get back to you.

Jacob


-----Original Message-----
From: [email protected] [mailto:[email protected] ] On Behalf Of electBlake
Sent: Thursday, March 26, 2009 2:36 PM
To: fluid-work List
Subject: 2 VULAB Issues (Resend)

Hey,

These are 2 issues that got lost in the release/bug parade fray.

http://issues.fluidproject.org/browse/VULAB-189
http://issues.fluidproject.org/browse/VULAB-188

thanks for your attention on this :)
- Blake
_______________________________________________________
fluid-work mailing list - [email protected]
To unsubscribe, change settings or access archives,
see http://fluidproject.org/mailman/listinfo/fluid-work

_______________________________________________________
fluid-work mailing list - [email protected]
To unsubscribe, change settings or access archives,
see http://fluidproject.org/mailman/listinfo/fluid-work

Reply via email to