|
Posted by Peter Fox on 01/21/06 21:26
Following on from neodem's message. . .
>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..
Yeah. The whole thing's rubbish. I shouldn't tell you this but you can
write "Hello world" without a single include, base class, foundation
widget, and (so it's rumoured but don't quote me) no objects or even an
interface.
>
>Can someone give me an idea of where I am wrong?
Actually : "It works".
There's plenty of freedom for poor programmers to make poor applications
but that isn't a crime.
Of course if you've swallowed a whole programming encyclopaedia mixed
with useless value judgements (eg "better...traditional") you'll have
some indigestion.
--
PETER FOX Not the same since the cardboard box company folded
peterfox@eminent.demon.co.uk.not.this.bit.no.html
2 Tees Close, Witham, Essex.
Gravity beer in Essex <http://www.eminent.demon.co.uk>
Navigation:
[Reply to this message]
|