Ninjakreborn Posted August 11, 2006 Share Posted August 11, 2006 This is still primarily a php question. Php has it's power, it does what it does, it has it's limits but it can do quite a bit, is ruby on rails something I could use WITH php or something that would REPLACE php. I am always out to possibly learn new languages, but I still don't need to learn anything that will replace something I already use unless it's better, I don't think ruby on rails is a server side language. I am just wondering how can I use ruby on rails with php, what can it do that php can't Quote Link to comment https://forums.phpfreaks.com/topic/17252-php-vrs-ror/ Share on other sites More sharing options...
wildteen88 Posted August 11, 2006 Share Posted August 11, 2006 Ruby on Rails is standalone server side lanaguage. You cannot mix it in with PHP. If you want to create a ruby on rails site you use ruby on rails. Just like you do if you want code in ASP. You cant mix ASP with PHP as they are completly different lanaguges. The same applies to Ruby on Rails. Quote Link to comment https://forums.phpfreaks.com/topic/17252-php-vrs-ror/#findComment-73176 Share on other sites More sharing options...
zq29 Posted August 11, 2006 Share Posted August 11, 2006 And technically, Ruby on Rails is a [i]framework[/i] based on Ruby. I believe. Quote Link to comment https://forums.phpfreaks.com/topic/17252-php-vrs-ror/#findComment-73239 Share on other sites More sharing options...
ober Posted August 11, 2006 Share Posted August 11, 2006 That's my understanding as well. Quote Link to comment https://forums.phpfreaks.com/topic/17252-php-vrs-ror/#findComment-73251 Share on other sites More sharing options...
akitchin Posted August 11, 2006 Share Posted August 11, 2006 echo all three - ruby on rails is a framework for ruby, and ruby is a totally separate programming language from php.i would suggest mastering one language at a time. without trying to be offensive, it seems you have much left to learn and experiment with in php (based on your previous topics and questions). that being said, everyone does, but i don't suggest jumping from one ship to another when the first is not yet sunk.ruby on rails appears to be both powerful and useful (from what i've read/watched), but it is also a whole new ball game and it requires that your host has ruby on rails installed. not to mention, i don't think ruby has anymore power than php does, given the appropriate knowledge and practice with php. Quote Link to comment https://forums.phpfreaks.com/topic/17252-php-vrs-ror/#findComment-73403 Share on other sites More sharing options...
Koobi Posted August 12, 2006 Share Posted August 12, 2006 i was thinking about Ruby as well...i migth give it a try.[quote author=akitchin link=topic=103873.msg414233#msg414233 date=1155337478]not to mention, i don't think ruby has anymore power than php does, given the appropriate knowledge and practice with php.[/quote]but there are some things about PHP that can be very annoying. for example the inconsistent function naming convention and parameter orders (the whole needle/haystack thing) and the fact that OOP in PHP doesn't allow Multiple Inheritance (an i'm not talking about simulated multiple inheritance) which would make MANY things a lot easier to do.Does Ruby allow multiple inheritance in OOP? Quote Link to comment https://forums.phpfreaks.com/topic/17252-php-vrs-ror/#findComment-73738 Share on other sites More sharing options...
Ninjakreborn Posted August 16, 2006 Author Share Posted August 16, 2006 I am thinking of sticking with php and jumping other languages, until I find something I like on the side, like perl, and java I know I am going to play with, c+, c++, I don't know just studying and messing around with them on the side, ruby-on-rails looks like it would be worth learning, because a lot of clients are running ruby on rails too, so it's got enough clientel I could get from it, to make it worth the effort. Quote Link to comment https://forums.phpfreaks.com/topic/17252-php-vrs-ror/#findComment-75775 Share on other sites More sharing options...
emehrkay Posted September 7, 2006 Share Posted September 7, 2006 watching this video floored me:http://media.rubyonrails.org/video/rails_take2_with_sound.movthere is still a lot of tweaking that would be done, but still...and there is a php on Rails or something to that effect Quote Link to comment https://forums.phpfreaks.com/topic/17252-php-vrs-ror/#findComment-87529 Share on other sites More sharing options...
redbullmarky Posted September 7, 2006 Share Posted September 7, 2006 [quote]I am just wondering how can I use ruby on rails with php, what can it do that php can't[/quote]IMO, I doubt that it can do anything that PHP cant. I think the way it's structured is what makes it so unique. Same goes for ASP - nothing it can do that Ruby can't, it's just the syntax and structure of the language that make it different. At the end of the day, all you got to remember is the OUTPUT of all of these programs is just HTML, which all of them can do with ease.I have no experience with Ruby apart from watching clips like emehrkay posted, but it seems its strength is in the way it promotes seperation & structure and its ease of database management. However, with good working habits, these things can easily be addressed in PHP/etc too. I prefer languages like PHP as sometimes (in the case of testing things out, etc) I like to just throw something together in the 'wrong' way. I don't like the idea of being somewhat forced into doing things a particular way.The only limitation with PHP is how much you know it. Quote Link to comment https://forums.phpfreaks.com/topic/17252-php-vrs-ror/#findComment-87606 Share on other sites More sharing options...
.josh Posted September 7, 2006 Share Posted September 7, 2006 your real question is actually for ruby, not ruby on rails. ruby is the actual language. ruby on rails is a framework, as mentioned above. it is a script that makes making an interactive website 'easier'. Think of RoR as... being able to do db stuff with phpmyadmin, instead of on the command line, or.... Frontpage, where a lot of things are 'automated' for you, so you spend less time coding. But the price of all that is that everything you create looks the same. Sure, you can go deeper into it and customize it even more, but at that point, your doing what you would have already been doing, doing it by hand. i've read a couple articles about it, and even watched that video posted ^^^ but i think for now i'm sticking with PHP. maybe it's the wave of the future, maybe it's not. who knows? Quote Link to comment https://forums.phpfreaks.com/topic/17252-php-vrs-ror/#findComment-87713 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.