Re: PHP Standard style of writing your code
| From: | Robert Cummings | Date: | Tue, 02 May 2006 16:58:58 +0000 |
| Subject: | Re: PHP Standard style of writing your code | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-235281@lists.php.net to get a copy of this message | ||
On Tue, 2006-05-02 at 04:02, Barry wrote:
> > - I try not to let lines grow larger than about 100 cols (cannot
> > be really done with strings and other thingies, and maybe that
> > should remain in the old 80 cols, but it's too litle space), and
> Never possible if you write web-applications.
> CLI might be possible for that but for web it's a no-go.
I think you're kidding. I write web applications all the time and
constrain my line width's to 80 columns. If you are speaking to embedded
HTML code then I can see your problem.. but I use a good templating
system which keeps most html out of my code... and I never use what I
consider to be the ugliest style of all... switching back and forth
between PHP and HTML mode.
Cheers,
Rob.
--
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com
|
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'