You are here: Re: Is PHP the best way to create a web application? « PHP Programming Language « IT news, forums, messages
Re: Is PHP the best way to create a web application?

Posted by Tony Marston on 01/22/06 00:08

"neodem" <nospamnd@neodem.com> wrote in message
news:qK6dnSbEM8Hd7U_eRVn-vg@comcast.com...
> PHP, and to a lesser degree JSF has become very popular ways to build web
> applications. What I don't understand, and what I would like you all to
> comment on, is how these methods are the best way to build web
> applications. I come from the traditional Struts/JAVA world and the
> traditional MVC archetecture. It seems to me, and I could be wrong, that
> PHP and JSF seem to be pulling more business and data layer code up to the
> View Layer. I don't see how this is a good thing. Wouldn't it be better to
> use the traditional method and keep the code out of the view? How does one
> maintain the code? It will be scattered across web source code (PHP pages,
> etc.)... The coupling would seem to be really high and that can't be a
> good thing for reusue..
>
> Can someone give me an idea of where I am wrong?

The language is irrelevant, it's how you use it that matters. Saying that
PHP prevents you from writing layered applications is total rubbish. If you
want reusable code, then you have to write it. It doesn't come for free. If
you are a competent programmer you can progress from single tier into
2-tier, 3-tier or even N-tier. How do I know? Because I've done it.

Tony Marston
http://www.tonymarston.net

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация