Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. PHP or Ruby on Rails?

PHP or Ruby on Rails?

Scheduled Pinned Locked Moved The Lounge
rubyquestionphpdatabasehelp
26 Posts 9 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W WillemM

    Ruby on rails is fun to build with and very powerfull too. But I like PHP better, you should look into CakePHP[^] It provides a similar framework that rails provides, but this time it runs on most webservices out there. I don't know how the support for Ruby on rails currently is, but it was kinda bad a few months back. There were almost no providers available that installed it on their webservers.

    WM. What about weapons of mass-construction?

    S Offline
    S Offline
    smaaaart
    wrote on last edited by
    #21

    WillemM wrote:

    CakePHP[^]

    Very nice! Thanks! I will look into it. And I got your point about support for PHP vs that for RoR.

    1 Reply Last reply
    0
    • R Rohde

      If you just want to learn something new and fun then I'd go for RoR since that's the new kid on the block. But why not do something entirely spacey - like using Ocaml and Ocsigen (http://www.ocsigen.org/[^]) for creating a dynamic web site.

      S Offline
      S Offline
      smaaaart
      wrote on last edited by
      #22

      Building the web app is my main priority. Since I'm doing it for myself, I will use the chance to learn something new. Learning something new is not the point, building the app is. That is why I asked for advice. Otherwise I'd have gone for RoR myself. :D I will also look into Ocaml and Ocsigen. Thanks! It looks very interesting so far.

      1 Reply Last reply
      0
      • J Jeremy Falcon

        smaaaart wrote:

        So what say you?

        Another thought, try and do a very small project with both. That should also give you a feel for which environment you prefer before you commit too much time learning one or the other.

        Jeremy Falcon A multithreaded, OpenGL-enabled application.[^]

        S Offline
        S Offline
        smaaaart
        wrote on last edited by
        #23

        Good advice again, thanks!

        1 Reply Last reply
        0
        • J Jeremy Falcon

          smaaaart wrote:

          So which language should I use for it? PHP or RoR? I don't know anything about either of these.

          I know PHP, but not RoR. Paul Watson knows RoR however. With that being said, I can't compare and contrast for you, but I can give you a general idea of what PHP has to offer. Pros: - Combo of C-like and Perl syntax. This was good for me because it made it quicker to learn. Some people may not be as old as me, and may not think this is a good thing however. :-D - It has a lot of functionality, I mean a lot. There's not much it can't do (even save out to PDF, embed a separate website in your page w/o frames, a lot of db connectivity, and so on). - It's fast. Really fast, compared to other interpreted languages. - Supports classes if you prefer an OOP paradigm, but doesn't force you into one if you don't. - It also has a ton of support groups, so finding out how to do something in it will be easy via Google. Cons: - The main one is the overall design and general structure of PHP is a bit lacking. There is no "it just makes sense I can almost guess it" design. You have a look up lot of functions up to see if you can do something, etc.

          Jeremy Falcon A multithreaded, OpenGL-enabled application.[^]

          D Offline
          D Offline
          Dario Solera
          wrote on last edited by
          #24

          Jeremy Falcon wrote:

          It's fast. Really fast

          :laugh: :laugh:

          ________________________________________________ Personal Blog [ITA] - Tech Blog [ENG] Developing ScrewTurn Wiki 1.1 (1.0.7 is out)

          J 1 Reply Last reply
          0
          • D Dario Solera

            Jeremy Falcon wrote:

            It's fast. Really fast

            :laugh: :laugh:

            ________________________________________________ Personal Blog [ITA] - Tech Blog [ENG] Developing ScrewTurn Wiki 1.1 (1.0.7 is out)

            J Offline
            J Offline
            Jeremy Falcon
            wrote on last edited by
            #25

            If you don't think it's fast, I suggest you check your web server, db, and compare it to other interpreted languages (not including Perl b/c their in memory pre-compilation is nice). Also, if it's slow to you, you're probably using the CGI version of it on Windows. Any PHP guru will tell you thats a crap way to go. I only use the CGI version for dev.

            Jeremy Falcon A multithreaded, OpenGL-enabled application.[^]

            1 Reply Last reply
            0
            • J Jeremy Falcon

              smaaaart wrote:

              So which language should I use for it? PHP or RoR? I don't know anything about either of these.

              I know PHP, but not RoR. Paul Watson knows RoR however. With that being said, I can't compare and contrast for you, but I can give you a general idea of what PHP has to offer. Pros: - Combo of C-like and Perl syntax. This was good for me because it made it quicker to learn. Some people may not be as old as me, and may not think this is a good thing however. :-D - It has a lot of functionality, I mean a lot. There's not much it can't do (even save out to PDF, embed a separate website in your page w/o frames, a lot of db connectivity, and so on). - It's fast. Really fast, compared to other interpreted languages. - Supports classes if you prefer an OOP paradigm, but doesn't force you into one if you don't. - It also has a ton of support groups, so finding out how to do something in it will be easy via Google. Cons: - The main one is the overall design and general structure of PHP is a bit lacking. There is no "it just makes sense I can almost guess it" design. You have a look up lot of functions up to see if you can do something, etc.

              Jeremy Falcon A multithreaded, OpenGL-enabled application.[^]

              K Offline
              K Offline
              Kevin McFarlane
              wrote on last edited by
              #26

              Jeremy Falcon wrote:

              Combo of C-like and Perl syntax. This was good for me because it made it quicker to learn. Some people may not be as old as me, and may not think this is a good thing however.

              I am one of them!

              Kevin

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups