Hey, I'm currently learning some php when i came across an article, i forget where it was, and it was talking about ruby on rails. Personally i have never eaver used it before nor have i tried, but i was wondering what your opinions of it are?
it's meant to be faster for developing things. try looking a this: http://www.rubyonrails.org/screencasts not really my sort of thing, but it's still neat.
In my opinion the syntax of PHP is more similar to other programming languages, so I would say PHP is easier to learn. But I already know PHP, and have barely used ruby...so I might be wrong And I am a little bit skeptical to how efficient the "magic" use of a database with ruby on rails is. Does is scale etc.?
PHP is a language, ruby on rails is a framework (written in the Ruby language). Ruby on Rails is based on a software design concept known as Model View Controller, but aimed at the common user. Other MVC frameworks for web applications such as struts are often very complex, and more suited for large web applications. Until you have a decent understanding of web application structure and functioning, and some experience in design and implementation, ruby on rails won't be hugely useful to you. From my experiences of using it, it still requires a good understanding of relational databases, access control, http protocol (GET/POST) requests and so forth, all of which you'll learn whichever scripting language you're programming in. That's just my 2 cents though.
Hi, If you want to dvelop PHP apps quickly, there is a really cool framework called CodeIgnitor( http://www.codeignitor.com ) . It really 'ignited' my mind. They even have a tutorial video to make a blog in 10 minutes. Thomas
Yes, surely there will be a competition between php and ROR. But in this point, if you make the current web development sense in point then you need to consider ROR. Whats the profit you can have from ROR is, it is more flexible with Ajax and javascript. And thats why to make the site more flexible developers choose ROR. But still there is a fact that, you can see lots of proffessional hosters, seperate ROR hosting and Php hosting, its because ROR takes a huge load and if you run them on the same server who is using others you might have lots of load issues with server. But with php you wouldn't find this issue. So its still hard to say which one is good. But i love to see the competition. Regards
The same was told when Phyton and Colfusion appeared in the horizon. However there are many good applications that can only be developed in ROR, other just for Phyton, and so on
Ruby on Rails is actually very simple and very elegant, but it is a bit harder to set up on a server than PHP. The syntax is a bit different from PHP, too..
everything looks hard when it's new to you php probably looked the same way when you first saw it... unless you did something similiar beforehand. if you want to understand the feel of RoR without switching to a new language, try some of the similiar PHP tools. some are listed here: http://en.wikipedia.org/wiki/Model-View-Controller#Architectures_for_Web-based_Interfaces
Do you mean Python? And I doubt it, you can take any application and write it in any language, some are faster, some are harder to use... some the syntax just sucks, and the complete OOP is annoying... depends on what you want to do I guess. Check this out though, pretty interesting : http://shootout.alioth.debian.org/gp4/benchmark.php?test=all&lang=ruby&lang2=perl http://shootout.alioth.debian.org/gp4/benchmark.php?test=all&lang=ruby&lang2=php http://shootout.alioth.debian.org/gp4/benchmark.php?test=all&lang=ruby&lang2=java
Go for PHP as Ror is a little complex and it still has doubts of acceptance in global market. You can still find a great range of frameworks in PHP, framework is the only thing which is attracting the programmers to get to RoR. See this. Also take a look at one of the framework which is just like RoR.