Why rails is better than php?

I have three years of experience in developing application in PHP.

From last one and half year i am working with rails.

i found me very comfortable with rails. In PHP we cannot develop app
with test cases and test driven. and every PHP guys have his own style
to write a code or develop applications.

Lets discuss about PHP and Rails.

http://www.ruby-forum.com/forum/3?filter=php

On 10 Jul 2008, at 14:37, Purab K. wrote:

I have three years of experience in developing application in PHP.

From last one and half year i am working with rails.

i found me very comfortable with rails. In PHP we cannot develop app
with test cases and test driven. and every PHP guys have his own style
to write a code or develop applications.

Lets discuss about PHP and Rails.

This horse has been beaten to death already so many times that this is
just a pointless discussion.

Besides, the MVC frameworks for PHP, whether that’s Symphony or
CakePHP or Framework X also have a testing framework built-in and also
make you follow a certain convention.

Is PHP bad? No. Will I ever use it again? I certainly hope not. I feel
more productive and comfortable with Rails and especially Ruby.

Best regards

Peter De Berdt

On Thu, Jul 10, 2008 at 7:51 AM, Purab K.
[email protected] wrote:

PHP is not bad at all. Ya as we know Cakephp is inspired from rails.
but i know we cannot huge traffic web portal. because of speed rails is
lacking somewhere that i feel. through ajax and using indexing tool
trying to feel or look faster in rails.
but php is faster this is true.

There are plenty of huge sites using Rails:

http://rails100.pbwiki.com/Compete+Rankings

http://rails100.pbwiki.com/Alexa+Rankings

And there are very large data sets being processed with Ruby and Rails
in genomics research:

http://www.vimeo.com/1104164

Perhaps what is lacking is your own understanding of how to run a
production Rails app.


Greg D.
http://destiney.com/

On Thu, Jul 10, 2008 at 7:43 AM, Peter De Berdt
[email protected] wrote:

Is PHP bad? No.

http://www.google.com/search?source=ig&hl=en&rlz=&q=why+php+sucks

Not to mention the completely ludicrous attempt at a MVC framework by
Zend:

http://destiney.com/blog/zend-framework-web-2-0-framework-my-ass


Greg D.
http://destiney.com/

On Thu, 10 Jul 2008, Greg D. wrote:

Not to mention the completely ludicrous attempt at a MVC framework by Zend:

http://destiney.com/blog/zend-framework-web-2-0-framework-my-ass

I prefer to call it the Zend Library because its not really a framework
in
the sense that Cake or Symfony is.

Gents,

I did an extensive research on web frameworks last year before
starting a project and concluded that the more powerful, productive
and fun one was RoR. But we cannot simply dismiss PHP as crap.
Nowadays it really sucks, but back in 1998 it was absolutely
amazing!!! I implemented a whole e-Learning system based on it and it
was such a fantastic tool. I simply would not have made it without
PHP.

PHP was a pioneer that actually revolutionized web development.

Cheers, Sazima

Peter De Berdt wrote:

On 10 Jul 2008, at 14:37, Purab K. wrote:

I have three years of experience in developing application in PHP.

From last one and half year i am working with rails.

i found me very comfortable with rails. In PHP we cannot develop app
with test cases and test driven. and every PHP guys have his own style
to write a code or develop applications.

Lets discuss about PHP and Rails.

This horse has been beaten to death already so many times that this is
just a pointless discussion.

Besides, the MVC frameworks for PHP, whether that’s Symphony or
CakePHP or Framework X also have a testing framework built-in and also
make you follow a certain convention.

Is PHP bad? No. Will I ever use it again? I certainly hope not. I feel
more productive and comfortable with Rails and especially Ruby.

Best regards

Peter De Berdt

PHP is not bad at all. Ya as we know Cakephp is inspired from rails.
but i know we cannot huge traffic web portal. because of speed rails is
lacking somewhere that i feel. through ajax and using indexing tool
trying to feel or look faster in rails.
but php is faster this is true.

On Thu, 10 Jul 2008, Sazima wrote:

But we cannot simply dismiss PHP as crap.
Nowadays it really sucks

Dont these two statements kinda contradict each other?

PHP was a pioneer that actually revolutionized web development.

A lot of the PHP frameworks like symfony have used a lot of good ideas
from RoR and Django. While RoR is very nice (I like it!), I would not
automatically dismiss all other frameworks either.

Its also a little bit disingenuous to compare RoR (i.e. a framework)
with
PHP (a language).

As in all of these kinds of discussions its possible to write bad code
in
any programming language.

<…>

In PHP we cannot develop app
with test cases and test driven.
<…>

Uhm, why not? http://www.phpunit.de/

Regards,
Rimantas

http://rimantas.com/

Rimantas L. wrote:

<…>

In PHP we cannot develop app
with test cases and test driven.
<…>

Uhm, why not? http://www.phpunit.de/

Is PHP itself invented via TDD?

Also, what’s the relation between PHP and Perl? Is it a fork of Perl? If
so, why?

On Fri, 11 Jul 2008, David A. Black wrote:

In the spirit of “Link To Something Other Than Wikipedia!” Week[1],
http://us3.php.net/history.

Ruby is very Perl-like in some ways (even the name :slight_smile:

Hi –

On Fri, 11 Jul 2008, Phlip wrote:

Rimantas L. wrote:

<…>

In PHP we cannot develop app
with test cases and test driven.
<…>

Uhm, why not? http://www.phpunit.de/

Is PHP itself invented via TDD?

Nothing is invented via TDD. That would be TDI :slight_smile: But I don’t know
the answer to your question. You could check the code base and see
what kind of test suite there is or isn’t.

Also, what’s the relation between PHP and Perl? Is it a fork of
Perl? If so, why?

In the spirit of “Link To Something Other Than Wikipedia!” Week[1],
http://us3.php.net/history.

David

[1] http://tinyurl.com/66nu4t


Rails training from David A. Black and Ruby Power and Light:
Intro to Ruby on Rails July 21-24 Edison, NJ
Advancing With Rails August 18-21 Edison, NJ
See http://www.rubypal.com for details and updates!

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs