PHP or Ruby on Rails?
-
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?
-
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.
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.
-
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.[^]
-
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.[^]
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)
-
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)
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.[^]
-
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.[^]
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