Re: [PHP] Buxa Coding Guidelines

2007-09-10 Thread Per Jessen
brian wrote: Jim Lucas wrote: Or, even better, turn off short_open_tag Then PHP will not try and parse ?xml Exactly. Per: i obviously did misinterpret you. I thought you meant that SOME_XHTML_PARSER would choke on PHP tags. If so, perhaps my response will make sense to you now. But my

RE: [PHP] Buxa Coding Guidelines : This is how we do

2007-09-10 Thread Daevid Vincent
Just wanted to see what you think of the strictness of Buxa, according to their PHP guidelines: http://www.buxaprojects.com/en/php_coding_guidelines.htm In their oppinion stuff like the short PHP init ? or inline echo ?= $var ? is forbidden. Do you people code that strict? I like

Re: [PHP] Buxa Coding Guidelines

2007-09-09 Thread Per Jessen
magoo wrote: In their oppinion stuff like the short PHP init ? or inline echo ?= $var ? is forbidden. Do you people code that strict? Yep. If you're using XHTML you have no other option. /Per Jessen, Zürich -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Buxa Coding Guidelines

2007-09-09 Thread Per Jessen
Greg Donald wrote: On Sun, 9 Sep 2007, magoo wrote: Just wanted to see what you think of the strictness of Buxa, according to their PHP guidelines: http://www.buxaprojects.com/en/php_coding_guidelines.htm In their oppinion stuff like the short PHP init ? or inline echo ?= $var ? is

Re: [PHP] Buxa Coding Guidelines

2007-09-09 Thread Greg Donald
On Sat, 8 Sep 2007, mike wrote: although handing off to a templating engine/presentation layer would be even better of course. eval() is my favorite templating engine. -- Greg Donald Cyberfusion Consulting http://cyberfusionconsulting.com/ -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] Buxa Coding Guidelines

2007-09-09 Thread brian
Per Jessen wrote: magoo wrote: In their oppinion stuff like the short PHP init ? or inline echo ?= $var ? is forbidden. Do you people code that strict? Yep. If you're using XHTML you have no other option. If you're parsing XHTML that is choking on any instances of % then you've got a

Re: [PHP] Buxa Coding Guidelines

2007-09-09 Thread brian
Greg Donald wrote: On Sat, 8 Sep 2007, mike wrote: although handing off to a templating engine/presentation layer would be even better of course. eval() is my favorite templating engine. You've just made my day. Mind if i put that on a t-shirt? -- PHP General Mailing List

Re: [PHP] Buxa Coding Guidelines

2007-09-09 Thread Per Jessen
brian wrote: Per Jessen wrote: magoo wrote: In their oppinion stuff like the short PHP init ? or inline echo ?= $var ? is forbidden. Do you people code that strict? Yep. If you're using XHTML you have no other option. If you're parsing XHTML that is choking on any instances of % then

Re: [PHP] Buxa Coding Guidelines

2007-09-09 Thread brian
Per Jessen wrote: brian wrote: Per Jessen wrote: magoo wrote: In their oppinion stuff like the short PHP init ? or inline echo ?= $var ? is forbidden. Do you people code that strict? Yep. If you're using XHTML you have no other option. If you're parsing XHTML that is choking on any

Re: [PHP] Buxa Coding Guidelines

2007-09-09 Thread Jim Lucas
brian wrote: Or, perhaps what you mean is that the ?xml tag might be interpreted by PHP (as opposed to an XHTML parser misinterpreting PHP tags)? If that's the case, simply don't leave it bare in the script. Have PHP print it. brian Or, even better, turn off short_open_tag Then PHP will

Re: [PHP] Buxa Coding Guidelines

2007-09-09 Thread brian
Jim Lucas wrote: brian wrote: Or, perhaps what you mean is that the ?xml tag might be interpreted by PHP (as opposed to an XHTML parser misinterpreting PHP tags)? If that's the case, simply don't leave it bare in the script. Have PHP print it. brian Or, even better, turn off

[PHP] Buxa Coding Guidelines

2007-09-08 Thread magoo
Hi NG! Just wanted to see what you think of the strictness of Buxa, according to their PHP guidelines: http://www.buxaprojects.com/en/php_coding_guidelines.htm In their oppinion stuff like the short PHP init ? or inline echo ?= $var ? is forbidden. Do you people code that strict? -- Kind

Re: [PHP] Buxa Coding Guidelines

2007-09-08 Thread tedd
At 12:17 AM +0200 9/9/07, magoo wrote: Hi NG! Just wanted to see what you think of the strictness of Buxa, according to their PHP guidelines: http://www.buxaprojects.com/en/php_coding_guidelines.htm In their oppinion stuff like the short PHP init ? or inline echo ?= $var ? is forbidden. Do

Re: [PHP] Buxa Coding Guidelines

2007-09-08 Thread Kevin Waterson
This one time, at band camp, tedd [EMAIL PROTECTED] wrote: At 12:17 AM +0200 9/9/07, magoo wrote: Hi NG! Just wanted to see what you think of the strictness of Buxa, according to their PHP guidelines: http://www.buxaprojects.com/en/php_coding_guidelines.htm In their oppinion stuff like

Re: [PHP] Buxa Coding Guidelines

2007-09-08 Thread Greg Donald
On Sun, 9 Sep 2007, magoo wrote: Just wanted to see what you think of the strictness of Buxa, according to their PHP guidelines: http://www.buxaprojects.com/en/php_coding_guidelines.htm In their oppinion stuff like the short PHP init ? or inline echo ?= $var ? is forbidden. Do you people

Re: [PHP] Buxa Coding Guidelines

2007-09-08 Thread mike
On 9/8/07, Greg Donald [EMAIL PROTECTED] wrote: I don't put PHP in my HTML. I use PHP to build my HTML, using heredoc syntax while doing so. My scripts usually only have a single ?php opening tag and never require any closing ? tags. Code that contains short open tags or instances of ?= is