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.
  • J Jeremy Falcon

    Jon Sagara wrote:

    Plus, it's the new kid on the block with all the buzz and hype surrounding it, so if I wanted to learn a new technology, that would be it.

    Maybe you should emphasize that joke icon a bit more before he takes this seriously. :omg: Or, at least, I certainly hope that's not the reason you choose a language.

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

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

    Jeremy Falcon wrote:

    Maybe you should emphasize that joke icon a bit more before he takes this seriously.

    Hehe. Nah, like I said in my first post, coolness is not a factor. :)

    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.[^]

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

      Great stuff, thanks!

      1 Reply Last reply
      0
      • J Jeremy Falcon

        Jon Sagara wrote:

        Plus, it's the new kid on the block with all the buzz and hype surrounding it, so if I wanted to learn a new technology, that would be it.

        Maybe you should emphasize that joke icon a bit more before he takes this seriously. :omg: Or, at least, I certainly hope that's not the reason you choose a language.

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

        J Offline
        J Offline
        Jon Sagara
        wrote on last edited by
        #18

        Jeremy Falcon wrote:

        Or, at least, I certainly hope that's not the reason you choose a language.

        I typed that out a little hastily right before a meeting. :-O No, that's not the reason why I would choose a language, but in this case -- for a learning project -- the hype would hold a lot more sway than it normally would.

        Jon Sagara When I grow up, I'm changing my name to Joe Kickass! My Site | My Blog | My Articles

        1 Reply Last reply
        0
        • L led mike

          smaaaart wrote:

          to develop a smallish largish tinyish biggish web app

          smaaaart wrote:

          It will use database and all the other usual stuff that is required in a web app.

          smaaaart wrote:

          I am asking this question before doing any kind of research.

          :rolleyes: Well with specifications like that I am sure you will meet with great success.

          smaaaart wrote:

          I would like to use the language that is robust, flexible, and whatnot.

          You really didn't need to explain that.

          led mike

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

          Hehe, do I sound like a manager? ;P I didn't specify my requirements because I only need general directions and advice. Sort of what Jeremy said in his post above, but for both languages. If I tell people what I want, they will only focus on those things, and I won't get the big picture (ouch! more "manager speak?"). And of course I plan to do my own research, and I have a really clear idea of what I am going to build. I have done the schema and most of the HTML screens are ready. But before I start tapping the keyboard to start coding, I just came here looking for some general advice from people who have already used one or both of the languages. Asking for help has always served me well, and I trust the advice people give on this site. Just because I try to inject some levity in my posts, it doesn't mean I am not serious about my work. :)

          L 1 Reply Last reply
          0
          • S smaaaart

            Hehe, do I sound like a manager? ;P I didn't specify my requirements because I only need general directions and advice. Sort of what Jeremy said in his post above, but for both languages. If I tell people what I want, they will only focus on those things, and I won't get the big picture (ouch! more "manager speak?"). And of course I plan to do my own research, and I have a really clear idea of what I am going to build. I have done the schema and most of the HTML screens are ready. But before I start tapping the keyboard to start coding, I just came here looking for some general advice from people who have already used one or both of the languages. Asking for help has always served me well, and I trust the advice people give on this site. Just because I try to inject some levity in my posts, it doesn't mean I am not serious about my work. :)

            L Offline
            L Offline
            led mike
            wrote on last edited by
            #20

            smaaaart wrote:

            and I trust the advice people give on this site.

            Usually a good move. :-D

            led mike

            1 Reply Last reply
            0
            • 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