Zen Cart Logo
Forums / The Zen Pub / Re: ruby on the rails ??

Re: ruby on the rails ??

Locked

Views: 98

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
8 Feb 2008, 2:22 AM
#1
rainthebat avatar

rainthebat

Zen Follower

Join Date:
Feb 2007
Posts:
314
Plugin Contributions:
0

Re: ruby on the rails ??

does ruby on rails fit in with zen cart in any possible way, or is Zen Cart Php no matter what. For instance, I noticed that Ruby on Rails can use a database like MySQL, so could someone use a zen cart database, and port the code, or is this just a huge burden, waste of time type of project?

8 Feb 2008, 4:00 AM
#2
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Re: ruby on the rails ??

Ruby is a totally different language, your server needs to be configured to run it.

does ruby on rails fit in with zen cart in any possible way, or is Zen Cart Php no matter what.
---> What is the goal here? What are you trying to achieve?

8 Feb 2008, 3:31 PM
#3
rainthebat avatar

rainthebat

Zen Follower

Join Date:
Feb 2007
Posts:
314
Plugin Contributions:
0

Re: Re: ruby on the rails ??

yellow1912:

---> What is the goal here? What are you trying to achieve?

I got way behind in the last big step for the web which was php and server side scripting. I am trying to stay more current these days by doing research into web trends, so I don't get left out again! The Ruby language is gaining some momentum and programmers (some long time php'rs) seem to be making a switch. I do understand that PHP will be around for long time, the question is whether Ruby is going to be the next big thing -> 4 or 5 years from now. It seems as though it will be hard for Ruby to "de-rail" the Titan PHP though. I guess it comes down to the question: "is php going to be a safe haven for someone who may be pursuing career options in web-programming years down the road?"

8 Feb 2008, 3:36 PM
#4
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Re: ruby on the rails ??

After over 20 years as a programmer, I can safely say there is no "safe haven". The more widely used a language is the more likely it will continue to be used even if something "better" comes along.

8 Feb 2008, 3:37 PM
#5
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Re: ruby on the rails ??

Think about C, C++, Java
You know, ppl say that Java will be the next big thing (since years ago), still, it's not true.

Just like everything else, every programming language has 2 sides (pros and cons). It's nice to learn a new language, but in most cases one language can do anything the others can and vice versa. Stick to the one that you know the best, that is the best way to write good codes.

In the end, it doesnt matter how good a programming language can be, what does matter is the programmer's skill (which depends on his experience with that specific language). A ruby script written by a noob can never compare with a php script written by a pro.

And if you like Rails, look into CakePHP which is very similar to Rails.

8 Feb 2008, 3:39 PM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Re: ruby on the rails ??

"is php going to be a safe haven for someone who may be pursuing career options in web-programming years down the road?"
I agree with afo - learn both to insure you are valuable

8 Feb 2008, 8:51 PM
#7
wilt avatar

wilt

Oji-san

Join Date:
Jun 2003
Location:
Newcastle UK
Posts:
1,837
Plugin Contributions:
3

Re: Re: ruby on the rails ??

Zen-cart is written in PHP and that won;t change.

I have to say that I am not a big Ruby fan (pls no flame wars), and while I would agree that Ruby has altered the landscape in terms of promoting MVC/activeRecord/ scaffolding etc. and in some ways actually improved the development of PHP frameworks like Cake or Symfony. Its not a language that works well with lite shared servers.

8 Feb 2008, 10:16 PM
#8
rainthebat avatar

rainthebat

Zen Follower

Join Date:
Feb 2007
Posts:
314
Plugin Contributions:
0

Re: Re: ruby on the rails ??

yellow1912:

A ruby script written by a noob can never compare with a php script written by a pro.
And if you like Rails, look into CakePHP which is very similar to Rails.

Thank you, this is pretty much what I wanted to know about.

afo:

The more widely used a language is the more likely it will continue to be used even if something "better" comes along.

O.K. I thought it might be so, but wasn't sure if these newer languages (or framework really in this case) could topple the giants, or if the giants tend to go the distance over time. I guess I should have known just by thinking about titans like C that have been around forever and continue to be useful.

kobra:

I agree with afo - learn both to insure you are valuable

I will look into learning a little ruby, but in the end may let go of doing two languages, and try to get good at one.

wilt:

Zen-cart is written in PHP and that won't change.

This is part of what I was secretly wondering "Will there be a write of Zen-Cart for Ruby". Now I know the answer to be "no, php is the language of choice, and the programmers can do excellent things with that language because of their skill level"

Thank you all, I feel like I can settle down a little more for the time being.

8 Feb 2008, 10:19 PM
#9
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Re: ruby on the rails ??

CakePHP is somewhat close to Rails, try it if you love Rails ^^.