|Sent on:||Wednesday, October 13, 2010 9:55 PM|
Hey Sean, I wrote a script that allows me to import my php scripts and it returns HTML markup with styling. This allows me to paste the php/markup in various blog post, emails etc with color coding for easier references. it's not perfect thought - but it gets the job done.
It all comes down to header size and non-associative modifying.
You're going to get the same result in either implementation but the speed in which you retrieve the results will vary based on the size of your script and you should always code with the expectation that it will be used and modified by someone other than yourself and your application and build it portable.
We're all giving you personal preferences with a couple of universally accepted optimizations but it's up to you and the project ultimately. Just keep in mind
1. Header Size.
4. Ease of modification by third party.
Brandon R. Bissoon
Multi-Platform Developer / UX Architect
"A simple man believes anything, but a prudent man gives thought to his steps." (Proverbs 14:15)