Forum: Ruby on Rails The no-framework PHP MVC framework

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
429500a5a54600958c9c7ac032a37f66?d=identicon&s=25 Joe (Guest)
on 2006-03-02 01:47
"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
7252adadcb6c9e824375c8deaf7174ae?d=identicon&s=25 Nola Stowe (Guest)
on 2006-03-02 02:09
(Received via mailing list)
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 <joe@yahoo.com> wrote:
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>


--
http://PhpGirl.blogger.com
http://CodeSnipers.com
433024a5a3f9fc91664c8170af1c7350?d=identicon&s=25 Tomas Jogin (Guest)
on 2006-03-02 17:02
(Received via mailing list)
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
429500a5a54600958c9c7ac032a37f66?d=identicon&s=25 Joe (Guest)
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
Aad37b5f7116c8d1f547d23b37566032?d=identicon&s=25 Greg Donald (destiney)
on 2006-03-02 21:40
(Received via mailing list)
On 3/2/06, Joe <joe@yahoo.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.



--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
429500a5a54600958c9c7ac032a37f66?d=identicon&s=25 Joe (Guest)
on 2006-03-02 21:47
Greg Donald wrote:
> On 3/2/06, Joe <joe@yahoo.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
3319ab6fb19fcf97c8a3d66b8a9b68bf?d=identicon&s=25 Josh on Rails (Guest)
on 2006-03-02 22:38
(Received via mailing list)
>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 [1], 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_...
2cd7ec719ca4f264bd0e3e4173b7401d?d=identicon&s=25 Dan Croak (croaky)
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.
This topic is locked and can not be replied to.