"The no-framework PHP MVC framework" http://toys.lerdorf.com/index.php?url=archives/38-... Yuck! What spaghetti code. I can't ever imagine preferring that to Rails. Joe
on 2006-03-02 01:47
on 2006-03-02 02:09
haha.. yeah I saw that. I am rather fond of my simple 3 class framework.. since I can't use RoR at work.... this at least doesn't make me insane :) .. the idea hit me while I was thinking of RoR. (My goal not being to make a PHP framework to replace RoR, so don't flame me! I'm looking for a RoR job!) Stupidly Easy MVC in PHP App Walkthough http://codesnipers.com/?q=node/247 Original two articles: Stupidly Easy MVC in PHP or We Don't Need No Stinkin' Framework http://codesnipers.com/?q=node/156 http://codesnipers.com/?q=node/156 On 3/1/06, Joe <email@example.com> wrote: > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails > -- http://PhpGirl.blogger.com http://CodeSnipers.com
on 2006-03-02 17:02
Realize that the author of that article is Rasmus Lerdorf himself, the _creator_ of PHP (their DHH). Somebody please wrap up a Rails equivalent to show him how it's DONE. I'd do it myself but my weblog is on hiatus and I'm up to my neck in work already (which is keeping the weblog on hiatus). His code kind of scares me; it's roughly equivalent of what NEWBIES produce, and this from the guy who created the language. Guess it kind of explains why PHP is such a mess to begin with, huh? Regards, Tomas Jogin
on 2006-03-02 20:55
Tomas Jogin wrote: > Realize that the author of that article is Rasmus Lerdorf himself, the > _creator_ of PHP (their DHH). Somebody please wrap up a Rails > equivalent to show him how it's DONE. I'd do it myself but my weblog > is on hiatus and I'm up to my neck in work already (which is keeping > the weblog on hiatus). > > His code kind of scares me; it's roughly equivalent of what NEWBIES > produce, and this from the guy who created the language. Guess it kind > of explains why PHP is such a mess to begin with, huh? > > Regards, > Tomas Jogin Oh I know who Rasmus is and without him PHP would be much worse off. But his whole post reeks of trying to bang a square peg into a round whole and trying to "prove" that an old dog can learn new tricks and doesn't need no stinkin' fancy frameworks. Ugh, it's just the "use the same tool for everything" mentality that PHPers seem to have. I also think Rasmus and many other PHPers throw out bones like this to the PHP community, but they themselves don't build businesses around it, unlike a lot of Railers. Joe
on 2006-03-02 21:40
On 3/2/06, Joe <firstname.lastname@example.org> wrote: > Oh I know who Rasmus is and without him PHP would be much worse off. If by 'much worse off' you mean 'not invented' then yes. -- Greg Donald Zend Certified Engineer MySQL Core Certification http://destiney.com/
on 2006-03-02 21:47
Greg Donald wrote: > On 3/2/06, Joe <email@example.com> wrote: >> Oh I know who Rasmus is and without him PHP would be much worse off. > > If by 'much worse off' you mean 'not invented' then yes. Yup, that too. Joe
on 2006-03-02 22:38
>From "The no-framework PHP MVC framework": Clean separation of your views, controller logic and backend model logic is > easy to do with PHP. Using these ideas, you should be able to build a clean > framework aimed specifically at your requirements instead of trying to > refactor a much larger and more complex external framework. For myself, at least, I didn't come to Rails because I wanted a framework. I *wanted* a object-oriented Web development language (Ruby) and found Rails to be a fantastic implementation. The way I read the history of PHP , I believe it was originally a C framework that morphed into a language. At any rate, I'm not sure I understand the terms perfectly, but I wouldn't think Rasmus' controller would qualify for that label. But it looks like this is already being debated on that page's comments track... -- Joshua *1: http://www.oracle.com/technology/pub/articles/php_...
on 2006-03-28 19:38
I have a friend who has been working on a PHP MVC framework for a few years. I belive he is launching the open source project very shortly at http://www.dynacore.org/ I've seen his code and it is VERY clean. He is a big fan of Rails now, although he still does all his work in his framework. He added an extra layer to the stack that Rails doesn't have, either. Rather than Presentation Layer, Business Logic Layer, Data Layer, he has a Service Layer sitting above Business Logic. I would recommend checking it out once it is ready.