Forum: Ruby on Rails Do the same in PHP?

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.
1b9d26e15b355571a7bca1d27074b0d1?d=identicon&s=25 Jacob Friis Saxberg (Guest)
on 2005-12-13 23:53
(Received via mailing list)
Hi.

Would it be possible to use the same principles in PHP?
Where can I learn the basics of the Model-View-Control pattern?

Thanks,
Jacob
42292bf8a0acbc98862d9306b501275d?d=identicon&s=25 Rabbit (Guest)
on 2005-12-13 23:56
(Received via mailing list)
Several attempts have been made. The ones I've seen are no where near
as powerful as Rails.

But you can always try. :)

Cake - http://cakephp.org/
Biscuit - http://bennolan.com/biscuit/

- Rabbit

---
42292bf8a0acbc98862d9306b501275d?d=identicon&s=25 Rabbit (Guest)
on 2005-12-13 23:56
(Received via mailing list)
4a5d0e9262c6fb55055e7e80ca7d574f?d=identicon&s=25 Alexander Aguilar (Guest)
on 2005-12-14 01:07
(Received via mailing list)
Symfony (for PHP5) is getting some buzz
http://www.symfony-project.com/askeet
5cfd7e9223637ea26c81c2cc3e43799e?d=identicon&s=25 Craig Webster (Guest)
on 2005-12-14 01:13
(Received via mailing list)
On 13 Dec 2005, at 22:51, Jacob Friis Saxberg wrote:
> Would it be possible to use the same principles in PHP?

Yes, as well as the previously mentioned frameworks you should also
check out Seagull:
http://seagull.phpkitchen.com/

> Where can I learn the basics of the Model-View-Control pattern?

General principles:
http://ootips.org/mvc-pattern.html
http://en.wikipedia.org/wiki/MVC

Yours,
Craig
--
Craig Webster | t: +44 (0)131 516 8595 | e: craig@xeriom.net
Xeriom.NET    | f: +44 (0)709 287 1902 | w: http://xeriom.net
3ba9bd833d418d4c4002dde0750499ff?d=identicon&s=25 Adrian Madrid (Guest)
on 2005-12-14 01:49
(Received via mailing list)
> Yes, as well as the previously mentioned frameworks you should also
> check out Seagull:
> http://seagull.phpkitchen.com/
>
I must say that Seagull is a worthy MVC framework although I don't see
much of a Rails connection.

My .02 cents,


Adrian Madrid
HyperX Inc.
Mobile: 801.815.1870
Office: 801.566.0670
aemadrid@hyperxmedia.com
www.hyperxmedia.com

9000 S. 45 W.
Sandy, UT 84070
5cfd7e9223637ea26c81c2cc3e43799e?d=identicon&s=25 Craig Webster (Guest)
on 2005-12-14 03:23
(Received via mailing list)
On 14 Dec 2005, at 00:48, Adrian Madrid wrote:
> I must say that Seagull is a worthy MVC framework although I don't
> see much of a Rails connection.

The original post asked about MVC without stipulating that it had to
be well connected to Rails.

Yours,
Craig
--
Craig Webster | t: +44 (0)131 516 8595 | e: craig@xeriom.net
Xeriom.NET    | f: +44 (0)709 287 1902 | w: http://xeriom.net
4a562e36cdf80f1dffe279688ebeebd2?d=identicon&s=25 Jacob Friis Saxberg (Guest)
on 2005-12-14 13:14
(Received via mailing list)
> > Where can I learn the basics of the Model-View-Control pattern?
>
> General principles:
> http://ootips.org/mvc-pattern.html
> http://en.wikipedia.org/wiki/MVC

Thanks, that's what I was looking for.

Jacob
Eea3feaacbe44706164289d068d94828?d=identicon&s=25 Peter Michaux (Guest)
on 2005-12-14 18:15
(Received via mailing list)
Are you locked into PHP? I switched to Ruby and Rails and although I am
still learning I think it is better.
F15fdc7cb2e911b3808837f2be244add?d=identicon&s=25 Adam Denenberg (Guest)
on 2005-12-14 18:33
(Received via mailing list)
i agree with this. I lost of a bunch of php code (system failure with no
backup) so i decided to see if i can recoup my lost time by using rails,
and
i havent looked back.  I migrated a few hundred lines of code and 2
weeks
worth of php code in about half a day in rails.  Very well worth it and
not
looking back.  I am very new to ruby too, and the agile book, this list
and
the wiki really make things easy.

adam
4a562e36cdf80f1dffe279688ebeebd2?d=identicon&s=25 Jacob Friis Saxberg (Guest)
on 2005-12-15 10:16
(Received via mailing list)
> Are you locked into PHP? I switched to Ruby and Rails and although I am
> still learning I think it is better.

Not at all.
I have systems running that use PHP, and I don't have as much study
time as I used to have, so I'll stick with it.

Jacob
Aad37b5f7116c8d1f547d23b37566032?d=identicon&s=25 Greg Donald (Guest)
on 2005-12-15 15:32
(Received via mailing list)
On 12/14/05, Peter Michaux <petermichaux@gmail.com> wrote:
> Are you locked into PHP? I switched to Ruby and Rails and although I am
> still learning I think it is better.

Switched?  As in you will never code another line of PHP ever?

I consider my new Ruby and Rails skills an addition to the tool belt,
not a replacement.


--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
10d9ed7ab11115b081bb36f56a7a13bc?d=identicon&s=25 John Wilger (Guest)
on 2005-12-15 16:03
(Received via mailing list)
On 12/15/05, Greg Donald <gdonald@gmail.com> wrote:
> On 12/14/05, Peter Michaux <petermichaux@gmail.com> wrote:
> > Are you locked into PHP? I switched to Ruby and Rails and although I am
> > still learning I think it is better.
>
> Switched?  As in you will never code another line of PHP ever?

I can't speak for Peter, but in my case I'd say -- In a green-field
project where the decision of programming language to use is mine, I
would definitely choose Ruby over PHP. As for _never_ coding PHP
again, well, I probably won't have that luxury. :-)

> I consider my new Ruby and Rails skills an addition to the tool belt,
> not a replacement.

Of course. If all you have is a hammer...  Most customers won't be too
thrilled if you tell them that you'll need to rewrite their entire PHP
application in Ruby if you are going to need to make one small feature
change. (However, if any of you really feel that you don't _ever_ want
to do PHP again, feel free to send paying customers my way. ;-) )


--
Regards,
John Wilger
http://johnwilger.com

-----------
Alice came to a fork in the road. "Which road do I take?" she asked.
"Where do you want to go?" responded the Cheshire cat.
"I don't know," Alice answered.
"Then," said the cat, "it doesn't matter."
- Lewis Carrol, Alice in Wonderland
This topic is locked and can not be replied to.