Added: 4 years ago
From: envyads
Views: 146,411
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:
see all

All Comments (199)

Sign In or Sign Up now to post a comment!
  • PHP uses Red Bull, that's all what I want for my programming language.

  • This is a bullshit... RoR is framework, like Symphony/CakePHP/ZendFramework­... And all there have this "options", Thats like to compare ruby vs Symphony... Bullshit :X

  • Ruby on Rails is a framework but PHP is a language, you can't compare the two. It's like comparing OpenGL to C++...

  • That Palm Treo is looking pretty sweet :)

  • RT @wonderful68 poor PHP .

  • Comment removed

  • Use CakePHP if you really need a framework... or if you want to and need the flexibility, do it by yourself... problem solved, no need for learning a new language like Ruby...

  • That is what PDO is for

  • Where is Ruby now huh

  • So this is a bunch of videos showing fictional douches versus RoR which just happens to be made by *real* douches behind RoR.

  • You can compare ruby and php but not ror and php, you should compare ror with zend framework/symphony/codeigniter­/cake, that one should be a correct comparison.

    Anyway, this series of videos are crap and they should get a life instead to say these bullshits.

  • Comment removed

  • Comment removed

  • Who would actually want to SWITCH FROM MySQL to Oracle???

  • @MrDjZarko ...there's a number of cases where Oracle can perform a lot better. So a lot of businesses.

  • @MrDjZarko lol. script kiddies. ever used oracle in depth?

  • @faggend I suppose you have, and now you're going to tell us all about it. *rolls eyes*

  • the only people who make these commercials are people who don't know jack shit

  • another stupid advertising talking without know anything :P

  • omg, php ftw, this ad is so ugly.

  • I love how everyone of these videos has the same top rated comments. Ruby > PHP.

  • hahah.

    RoR or imposed OOP is definately not the future of the internet. Too much resource waste.

    But I would love to see a comparison between Ruby & PHP and watch the PHP Hawaian-Shirt guy go to the beach, go the club and have dinner, during the time it would take for the Ruby guy to get to the front door.

  • what a noob dudes!

  • php -> pdo ;]

  • Comment removed

  • would be funny to if in the end phone starts to ring during php monologue

  • this is so fuckin lame :facepalm:

    they don't know what to say about php, cause they don't know it.... so pathetic ;S

  • @unsubdu3d no shit, stupid people,

  • Comment removed

  • Comment removed

  • well, there is cakePHP...

  • Comparing a language with a framework is silly. Switching to Oracle is just plain ridiculous though o_O

  • I think using one technology as a magic fix is a bad idea

  • Zend would beat Rails down & take Ruby's girl... watch?v=S8zhmiS-1kw

  • Lol, poor PHP

  • Language elitists sound a lot like Linux distribution elitists, or operating system elitists.

    Is this what the Internet is now? A bunch of children acting like chimps throwing crap at each other over what language to program in?

    Not to say that the Internet was ever, or will ever be any different than this, but really... Grow up and learn to use more than a single language.

  • Actually this is pretty accurate for any of you that actually work in a php company you would see this commercial to be pretty damn factual. Most php shops follow the AGILE philosophy and they fall flat on their face.

  • This only applies to poorly designed php

  • stupid to make a comparison

  • Both of these technologies are for pussies. I use strictly C and the MySQL API.

  • @MatW1lson, would you mind telling us how you are going to migrate your awesome C app to the web?

  • @bagingkagu On the web? You just set your server up with a CGI handle.. Remember the cgi-bin folder.. the 'bin' part for binary, executable.

    Even Facebook rewrote PHP in, I think, C++.. it's called 'Hip-hop' or something like that. I am mainly a Flex programmer. PHP is good to quickly get access to functions like e-mail and stuff. I don't care to learn Ruby.. too much on my hands already. (remember: typically the easier the language, the more resources cuz of the hierarchy its based on ;)

  • @MatW1lson, i did cgi in c about 15 years ago there was no other way except perl and c. it is good for the occasional form submission or getting the date and time or page hit counters. but to write an entire web app in c as cgi is counterproductive. one reason is maintainability. there will be thousands of little c programs in your cgi-bin directory. another is length of code. you will write an entire page of code which will take just one line in php or rails.

  • @bagingkagu - Yep. That was exactly the case! Lot's of 'sub-programs' and executables. It actually is counter-productive; and I did waste lotsss of time. But it is good experience if you ever want your users on the web to interact with programs that no parser could do.. think YouTube and its video-encoders.. surely it can't be using PHP or Ruby!

    Here was the application I made with Flex and C: mindprog (dot) com/schedule

  • @MatW1lson, your site seems to be tight and i can't see any loose ends. although i don't understand what it is about, thanks for the link.

    here is my site for charice done in rails:

    h t t p : / / karitoy . hopto . org / charice

    you can upload your own video there in another format and will be transformed into flash. it merely calls ffmpeg with the right parameters. which goes to show that you don't have to write your own encoder. i don't reinvent the wheel and utilize what is already there.

  • @bagingkagu My apology for late reply. I like what you did on your site. Yes, I wouldn't recommend reinventing the wheel.. of course you can set-up other software to encode.

    I ended up having to write my own CGI library in C.. So, I'll still be using C and I can do stuff pretty fast in it with MySQL since I wrote my own interface for handling data. But PHP is good with all its functions already available. I may look in Rails down the road.

    My site is for my hypnotherapy practice.

  • @MatW1lson, thanks for visiting and thanks for replying.

  • MVC can be used to any lanaguage. that's don't just ruby spell

  • bullshit its not just like that

    u can swap just like that it does take abit of a time

  • No they had performance issues with Ruby that have since been mostly rectified but will need some more work done like multi threading Ruby apps.

  • Ugh. This PHP FUD is starting to annoy me. If you're writing PHP code that does NOT use PDO then you're already doing it wrong.

    A professional PHP developer will write good code. And good code will use PDO for DB access. This means (in terms of DB abstraction) that rails would offer you no advantage.

    Rails DOES have advantages though. But this video is a load of bullshit.

  • The were referring to the SQL meaning you'd have to rewrite the SQL commands not actual PHP it doesn't matter if your using PDO or a database extension SQL changes from engine to engine.

  • Comment removed

  • and most of those large sites only use rails for the front end. check out high scalability blog.. most of the rails sites eventually moved to having an application tier done with java, and used other tools to handle the volume of requests

  • To the Rails evangelists: Perhaps you can switch database with a mere few lines of code (as you could in ANY web-stack if it was developed by a professional).

    I think you'll find you're royally screwed if you want to talk to > 1 database within your app though :)

  • @LAnonHubbard That's not a problem, juste define your connections in database.yml, then use "establish_connection :mydb01" in your model, done

  • Why are you promoting Ruby on Rails?

  • Why do you think this? Is it better than Rails?

    I know that at the moment, Rails is the parent of web :P

  • Ruby on Rails: Web Sites:

    Twitter, Shopify, Yello Pages, Mtv Style..

  • You cannot compare Rails with PHP. Rails is a framework.

    You should compare Rails with Zend Framework or Cake or something.

  • @trd002200 well, it can be compared. 1st generally people use PHP and MySQL they find that easy so they use it, now comes Rails which is easy too. Now if you compare PHP web framework like cakephp or zend, its not that easy as rails specially when you have to use PHP in place of Ruby, Rails provides maintainability from start. BUT php is not going anywhere its good for simple tasks if you use to it or using it with wordpress or joolma.

  • @trd002200 Same connects.

  • @trd002200 But they're both web development solutions. It's what you want to see it as. Framework vs scripting language OR web solution vs web solution.

  • @trd002200 Exactly! You can never estimate the power of PHP!

  • that guy has tits

  • That comparision sucks!

    The ruby's guy is gay.

    PS: I used adodb and I can change my SGBD in seconds. what is the big deal!?!

  • "Youtube = idk. Knowing Google, it's probably python. " Youtube = PHP, which makes this video even more wrong.

    And switching databases in php with the way I code is only the matter of changing one line of code.

  • This is bent. PHP is a language, Rails is a framework that sits on top of Ruby. It's like comparing a train to being a passenger in a car. what a load of shite.

  • Why does Ruby On Rails look like a nerd and PHP like some normal guy?

  • this competition never ends. use what you are comfortable with.

    in addition, if you like to compare *things* go and listen "My Dick By Mickey Avalon". It suits your needs

  • php have database-independent connections. PDO.

  • hmmm myspace = ? php?

    hmmm facebook = ? php?

    hmmm youtube = ? php?

    hmmm I believe over HALF of the successful web sites are php/mysql :-p thx

  • Plus Yellowpages and a bunch of others.

    Though, of course there are a lot of big sites written in PHP, PHP has been around since like.. 1995 or so. Rails was born just a couple of years ago.

    People really get angry at this? Seriously, they are just messing around.

    I've worked with PHP's "Zend, Cake and CodeIgniter" back in my PHP days. And I'll tell you now that all of them don't even compare to either Ruby's: "Rails or Merb". Most of you probably don't even know what Merb is, lol.

  • hmmmm not anymore

  • hmm twitter can suck my dick? the stupidest site ever.... like i really wanna know what the fuck ur doing...i can use facebook status for that

  • you have failed to understand the point of twitter.

  • twittyer can choke on a bag of dicks!

  • Um.. fail?

    Myspace = Coldfusion.

    Youtube = idk. Knowing Google, it's probably python.

  • Facebook is slow as hell by the way

  • It's a lot faster than YouTube is, I'll say that much.

  • MySpace is Cold Fusion I believe

    But personally I only work with PHP, never really looked a Ruby or Ruby on Rails for that matter.This video is funny coz they compare a framework to a language!

  • they really should be comparing to something like zend framework or cake...not PHP.

  • omg, this is such a crap, Ruby On Rails is a FRAMEWORK! PHP IS A LANGUAGE

    Ruby is the language! Compare that ugliness with PHP if you want!

  • Well I'm sure everyone already knew this. Besides if you compare Ruby to PHP, you can't make a web-based comparison. Which is what everyone in the web-world seems to forget.

    Also, you say Ruby is ugly, while PHP is the one that has like hundreds of "random" functions that are not even namespaced in any sort of way. Plus the fact that it's totally "not strict", you can do: "hello world " . 1 and it'd just append an "integer" to a "string", what? Immature.

    Then there's the needle/haystack thing.

  • @xsk8 Ruby is way more advanced than PHP. It's not comparable.

  • @yzhang2008 So in what ways is Ruby "more advanced" than PHP?

  • @zenpher I coded in Assembly, C, C++, Perl, Java, PHP, C#, and RUBY in last 15 years. Ruby is the one which can express my idea the best and the easiest. PHP is roughly in the same level of C/C++ language wise. PHP is a web oriented language. It's not so unfair if someone compares it with Rails. If you want to know more, doing some googling may give you a better answer than I can do here in this small "text area".

  • @yzhang2008 Comparing PHP to C/C++ shows how little you know about PHP.

  • @zenpher I know more about Ruby than PHP now. My last PHP project was 5 years ago. My understanding was that PHP was like C language plus OO and a bunch of web related APIs.

    Some developers tend to stick with one language after they're familiar with it. I understand that. I happened to code in both languages in real projects. Just wanted to express what I feel about the 2 different programming languages. Hopefully some new developers can benefit from what I said.

  • @xsk8 It's like Perl... with less sense.

    I want to write apps, not write art.

    I think I'll be sticking to PHP.

  • @xsk8 although I agree with your sentiment - Ruby is a far sexier language than PHP. For one, it has a standard of arguments across built-in method calls ;)

  • @torment3d I've done some research on Ruby, it is a beautifully designed language. :)

    I think Python and Ruby are the sexiest dynamic languages in existence.

  • @xsk8 @trd002200 You CAN compare Rails with PHP. They are both tools (to use a broader term) to develop web applications. What the commercial is saying is that developing with Rails can save you a lot of headaches PHP would cause. There is nothing wrong with that, considering that a great number of websites/web applications used to be developed with PHP alone, without any additional frameworks.

    So please, stop saying the same thing over and over again.

  • @pchris256 yeah you can compare them. It's just useless marketing blurb, but YES you can compare them.

  • @lesmiralha

    Well, have you seen an advertisement that wasn't useless marketing blurb yet? I know for sure I haven't. Most of the time I really get the impression that those ad dudes have no idea what product they are advertising for.

  • @xsk8 how can you compare rails to PHP when rails isn't a web development language? even if somehow you did manage to compare the rails language to PHP you would see rails is very clean, much cleaner than PHP to read and write. Although I code in both a PHP framework (cake, CI, zend I tried them all) can not stand up to a the ruby on rails framework. For a small quick app ruby on rails can not compete with PHP, they both have their places.

  • have you seen my phone?

    >.>

  • this makes me wanna not wanna learn ruby. the ruby guy is a dick.

  • Ruby is actually pretty cool but I agree with you. The Ruby guy looks like a smug prick and I'd probably knock his teeth out if I ever saw him at the bar.

  • yeah :(

  • lol well if you design ure code good(no hard at all) then you can easily switch databases

  • Comment removed

  • your grammar is amazing

  • lolz PHP is easy as fuck.

  • yeah.. sure... I believe you.. the beach ey? Kiss my ass. Don't forget to wear your Ruby thong homo.

  • This is retarded. Making a database class in Php is quite simple, and then editing that one file to switch databases is probably Easier than RoR, since there's no other script to run.

  • really?

    Make a class that dynamically creates methods and SQL statements can be easily done?

    really?

  • yeah

    watch Propel or Doctrine

    watch Symfony, same RoR on PHP

  • PHP is a hideous language with absolutely no built in security.

    PHP == language written by amateurs, for amateurs.

  • Sorry you're eating sour grapes because PHP is "too hard." PHP is very easy and used in many professional environments. PHP has a better user base, and better stock of tutorials.

  • 90% of my programming work in done in C. 9% Java, and the rest Python and Ruby. Web development is a side hobby for me, since there are no challenges in it. I almost have a Master of Science in Computer Science.PHP the language of choice for the 'for dummies' crowd. Mainly I reverse engineer executable code, which means lots of assembly and crawling around in memory, something "php developers" can't do, neither can Rails for that matter.

  • and oh ya i have ALSO a phd in software engineering i also program in cobol.. oh no even better i program in binary .. yes .. what ?! you dont believe me ? here.. "01000111010011110010000001000­110010101010100001101001011001­000000101100101001111010101010­101001001010011010001010100110­001000110"

  • that translators to "GO FUCK YOURSELF" lol it actually does.

  • Symfony is a rails wanna be and since PHP lacks the flexibility and expressiveness of Ruby, it is done as a very ugly hack.

  • Before you spout off, knowing a language is completely different than understanding how programming languages are developed.

  • wow now I am about to look for code examples

  • I love ruby and php, but whoever compares Ruby on Rails to Php is an idiot. RoR is a framework plus a language, and Php is just a language.

  • use Symfony and Creole

    and you same RoR on PHP

  • except for the fact that PHP is a crappy, security hole ridden, sorry excuse for a language.

    Of course, ruby has countless uses outside web development as well.

  • Ruby on Rails has Catalyst envy.

  • Well at least they didn't reinvent the wheel for their marketing campaign.

  • Ok, first of all, this is comparing a framework (RoR) with PHP, not the same thing. Even that, PHP-5 has PDO (PHP Data Objects) which provides a standard set of functions for all databases. Assuming, you do the code using proper design patterns (Singleton for Database), so, changing from one database to another database is just changing a *single* line (the constructor of PDO).

  • Rails is designed properly out of the box. Even a crappy programmer can switch DB's easily.

  • symfony to ... watch it

    you can easily switch db through yaml,ini or xml config

    that guys don't even understand what they talk about and watching from one point

  • Learn about programming language design and get back to me about how PHP is so great.

    It is an embarrassment,

  • This video is fun.

    Why don't you do the same with Seaside/GLASS?

  • It is indeed important to have a certain level of abstraction the application and the database... But man, if you gotta deal with "The Client", who one days goes like: "Oh! I suddenly feel like switching from MySQL to Oracle - I don't know why, but I just do!" - then yeah it does suck to be you... Different RDBMSs exist for a reason...

  • Wow... This isn't even funny. I've written PHP webpages were all i would have to do is edit 1 file and my whole program would work again. From What I haven't used RoR to extensively, but from what I've seen, It simply takes too much power away from the programmer.

  • You are right, ignorance isn't funny. Rails takes no "power" away from the programmer. It doesn't stop you from doing anything, it just makes it easier to deal with tedious tasks that all web apps have to do. Don't reinvent the wheel. Just because you used PHP in a few crappy web pages doesn't make you knowledgeable or a programmer.

  • You're better off comparing it to CakePHP. Or comparing PHP to Ruby, not rails. Apples and oranges my friend. PS: Ruby is much, much better than PHP (having come from PHP myself and moved to Ruby recently)

  • This comparison is stupid... programming language vs framework? ZendPHP vs RubyOnRails is correct but isn't it!

  • AnythingPHP is a failure. PHP, the language of choice for amateurs. It is clunky, ugly, poorly designed and filled with security issues.

  • Actually the comparison is not stupid, since in PHP, and the language itself has tight and unmistakable bindings indicating that it is for web development, and comparing Ruby for non-web development with PHP for non-web development would be the stupid comparison, as the result would be obvious.

  • mdr

  • Why do I get the impression neither one of these guys has seen a womans vagina up close.

  • With the type of money they make, vagina tends to be a matter of choosing rather than persuading. When you pull up some place in a posche, I think even those guys could swing some tail, Ofcourse I am sure the girl in question would have to watch alot of Babylon 5, or worse yet engage in a friendly game of dungeons and dragons. After that she usualy demands sex.

  • Ruby on Rails tiene frio

  • Well, first of all, isn't this a ripoff from the apple ads? Second, ...PDO + a PHP framework! :)

  • oh my god are they really ??

    read the vid description first... lmao

  • its SQL not seequel

  • i know ruby on rails and php, you can always use ADODB or a database framework with php, so changing databases is not that complicated... hehehhee

  • Childish vids. I code stuff but I am not that into such advocacy. Get a life geeks. There's more to it than bitching about which framework works better, because it depends on your working style. You don't need ruby to switch database as you like. Sheesh... and to think I was a geek/nerd.

  • why not rubyonwhatever versus George W. junior Bush?

  • PHP has the PDO Class, you can change it just as quick. PHP is starting to move towards more defined standards which will make it more usable and more user friendly.

  • Yes, there is PDO.

    Not to mention, that changing the database is a theoretical myth. To optimize queries, the engine's specifics are required.

    If you can change your Oracle engine to MySQL that easy, there's no doubt; your project sucks.

  • I think this vids are too much childish

  • Wow, so you've compared RoR (a framework) to PHP (a language). Why not make a fairer comparison and use CakePHP vs Ruby on Rails.  Your single argument is eliminated.

  • use OO php and brains and u won't have troubles with databases (actually it's true for any language) you really don't need RoR...

  • Well, RoR is only a framework. And there are not so many other frameworks like that available for ruby, which means that if something goes wrong with RoR or at the end doest'n fit your needs, you don't have other options from which to choose. At least in Java and PHP (I don't know Phyton) you have a lot of options ;-)

  • Ah, dumbasses, you don't preappend My to SQL to pronounce MySQL. You pronounce MySQL as my-S-Q-L n00b. Wow... Doesn't really matter, PHP ftw imo

  • who cares? i know people at google that pronounce it both ways, besides my-sequel is easier to say. That's a good reason to call someone a dumbass though, good work.

  • okay. and because it's easier justifies the fact that it's wrong. beautiful logic, eh. well, i'm going to pronounce English the way i want to because it's easier.

  • who made this video? are you a programmer or some amature over-exuberant ror fanatics? comparing a programming language to a framework? isn't it stupid? php has lot of frameworks where it can solve this database issue as ror does? if you really have a point tell us something about ruby vs php.that will be reasonable.

  • boooooooo

  • Seriously though, funny video...but...

    Well, you're comparing a framework to the language. :P Perhaps Plain Old PHP and Plain Old Ruby? Or RoR and one of the many the php frameworks(or just the zend framework).. Even without using a third-party abstraction layer, anyone with a brain is going to create some sort of data abstraction layer if they are making anything but the most trivial application...

    Of course everyone knows that.....but did you know that Ruby is a whore?

  • This video has a point, but look at the difference between the two languages. One's a geek, one's a cool guy. Mmm?

  • Can you run custom queries in RoR? If so, I would find it hard to believe the DAL is flawless.

  • I use Perl, PHP, Ruby on Rails, Python...etc. Whatever gets the job done best or I inherit.

    REALITY: Ruby doesn't scale well. Ask Twitter. Doh! Even they admit it was a nightmare getting it to scale.

    FANTASY: Not fixing the fact that Ruby processes requests about half as slow as PHP.

    BOTTOM LINE: Use whatever is best suited for the application. Unless you're an idiot, if you know something doesn't scale well then DON'T USE IT. I am not even defending PHP but at least I know it scales well.

  • It's S-Queue-el, it's not been referred to as sequel since the 90s.

  • I stay with cakephp :D MVC

  • PHP, not more ^^

  • The Zend Framework is really great!

    - DB abstraction

    - lightweight

    - open source

    - easy to learn

    - enterprice ready

    - and more...

    Get Eclipse, PHP plugin (available tomorrow) and ZF. You will rock!

  • One of the developers of the Zend Framework uses RubyOnRails pretty much exclusively now. But if you're forced to use PHP, Zend at least makes it somewhat less painful.

  • Zend Framework is way too primative. It might be better once it becomes a bit more mature. I recently switched from Zend to RoR and haven't looked back.

    When Zend actually integrates something as basic as error handling, I might consider going back to it.

  • Yeah, PHP users HAVE database abstraction layers, numerous of them, at least if you not have any of them, you can write urself one in few days ...

    And strange, the last common one is called Zend Framework, never heard ? Seems noone here mentioned it ? This RoR videos are ridiculous, take your RoR inst, build your first RoR blog, make the famous 3 wows and shtf.up ...

  • Yeah, there's no database abstraction layer for PHP... well, except for the ones that are older than Ruby itself... MDB2 and adodb for PHP are figments of everyone's imagination.

    u fale at truth

  • Great job guys keep the videos coming :D

  • Where can i get a rails? What is ruby? It sounds exciting and expensive. And it seems easy to get ruby to make a webpage.

  • It seems some rails users are so lame they don't dare comparing rails to a PHP framework and PHP to Ruby. What's next ? Rails vs Ubuntu ?

  • rofl

  • I'm still waiting on one of these vids that deals with PHP vs RoR on scaling issues. Eat that rails.