|   |   |   | ||||
| Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. | 
|    | 
| 
 | |||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. | 
|  | Thread Tools | 
|  09-04-2009, 11:12 AM | #1 | 
| Choice is an Illusion Industry Role:  Join Date: Feb 2005 Location: Land of Obama 
					Posts: 42,635
				 |  Ruby on Rails vs PHP? What are the pros and cons? I hear RoR is awesome. However, you have few solid Ruby coders and developers in case you need something down the line. Discuss. | 
|   |           | 
|  09-04-2009, 11:26 AM | #2 | 
| Confirmed User Join Date: Apr 2003 Location: Loveland, CO 
					Posts: 5,526
				 | Should be comparing Ruby vs PHP, or something like RoR vs. Symphony: Language vs language, or framework vs. framework. 
				__________________ Your post count means nothing. | 
|   |           | 
|  09-04-2009, 11:30 AM | #3 | 
| Choice is an Illusion Industry Role:  Join Date: Feb 2005 Location: Land of Obama 
					Posts: 42,635
				 | Well, borked had referred this chap to me for some overflow work. However, he prefer to do everything in Ruby. I have heard of Ruby, and heard good things about it. However, I have also heard it is hard to find good programmers for long term projects who write good code in Ruby. Where there are more people who know, and write, solid PHP code. My main concern is using Ruby on a module based site and running into issues down the line where I can't find a Ruby coder timely, or dependable for changes and additions. | 
|   |           | 
|  09-04-2009, 12:04 PM | #4 | 
| <&(©¿©)&> Industry Role:  Join Date: Jul 2002 Location: Chicago 
					Posts: 47,882
				 | Ruby offers really no benefits to you, only headaches... there are may be some benefits for the programmer, but that's not really your problem... with Ruby you will probably pay a premium to get stuff developed and you will have to jump through hoops to make it happen...  
				__________________ Custom Software Development, email: woj#at#wojfun#.#com to discuss details or skype: wojl2000 or gchat: wojfun or telegram: wojl2000 Affiliate program tools: Hosted Galleries Manager Banner Manager Video Manager  Wordpress Affiliate Plugin Pic/Movie of the Day Fansign Generator Zip Manager | 
|   |           | 
|  09-04-2009, 12:06 PM | #5 | 
| Too lazy to set a custom title Join Date: Jan 2002 Location: Holland 
					Posts: 9,870
				 | php hands down. With so many people developing in php you cant go wrong. 
				__________________ Don't let greediness blur your vision | You gotta let some shit slide icq - 441-456-888 | 
|   |           | 
|  09-04-2009, 12:12 PM | #6 | |
| Choice is an Illusion Industry Role:  Join Date: Feb 2005 Location: Land of Obama 
					Posts: 42,635
				 | Quote: 
  | |
|   |           | 
|  09-04-2009, 12:14 PM | #7 | 
| Confirmed User Join Date: Apr 2009 
					Posts: 1,319
				 | There was a really good thread on this not too long ago. Sorry I'm not going to find it for you   
				__________________ History will be kind to me for I intend to write it. | 
|   |           | 
|  09-04-2009, 12:33 PM | #8 | 
| . . . Industry Role:  Join Date: Apr 2007 Location: NY 
					Posts: 13,724
				 | 
				__________________ __________________ Looking for a custom TUBE SCRIPT that supports massive traffic, load balancing, billing support, and h264 encoding? Hit up Konrad! Looking for designs for your websites or custom tubesite design? Hit up Zuzana Designs Check out the #1 WordPress SEO Plugin: CyberSEO Suite | 
|   |           | 
|  09-04-2009, 12:40 PM | #9 | 
| Confirmed User Join Date: Jun 2009 Location: Asheville, NC 
					Posts: 2,277
				 | woj was dead on... the benefits of RoR lay ONLY in the development... Better (read more traditional) OO support and the language construct differs quite a bit and allows for different ways to handle data manipulation.  The RoR hype is spawned solely from developers... It's slower to process server side, it's a HUGE pain in the ass to setup... PHP via Fast-cgi using nginx has been proven to be THE fastest setup you can get translating to less server costs on your end. Ruby does now have Passenger (mod_rails) so it's a bit easier to setup on Apache installations but I digress... As woj stated you'll pay a premium for RoR developers because there are so few. This really comes into play if you're trying to get something done, even a simple change, and you can't find ANY... PHP developers are a dime a dozen but good ones are VERY hard to find. However you're guaranteed to find someone to do cheap work to make a simple change so it's a much safer bet  
				__________________ ICQ: 258-202-811 | Email: eric{at}bestxxxporn.com | 
|   |           | 
|  09-04-2009, 12:43 PM | #10 | 
| Webmaster Extraordinaire Industry Role:  Join Date: Jul 2002 Location: A beautiful beach... 
					Posts: 10,748
				 | I have a couple of guys that are excellent with it, but the availability is a little hard some times. | 
|   |           | 
|  09-04-2009, 01:11 PM | #11 | 
| Guest 
					Posts: n/a
				 | PHP > * 8chars. | 
|           | 
|  09-04-2009, 01:13 PM | #12 | |
| Choice is an Illusion Industry Role:  Join Date: Feb 2005 Location: Land of Obama 
					Posts: 42,635
				 | Quote: 
    I am not worried about 'cheap'. I am worried about being expandable. So a year down the line something needs to be fixed, or a new module added on, I can have it done with ease. Not having to rebuild the entire script and site from scratch.  | |
|   |           | 
|  09-04-2009, 01:20 PM | #13 | |
| . . . Industry Role:  Join Date: Apr 2007 Location: NY 
					Posts: 13,724
				 | Quote: 
  
				__________________ __________________ Looking for a custom TUBE SCRIPT that supports massive traffic, load balancing, billing support, and h264 encoding? Hit up Konrad! Looking for designs for your websites or custom tubesite design? Hit up Zuzana Designs Check out the #1 WordPress SEO Plugin: CyberSEO Suite | |
|   |           | 
|  09-04-2009, 01:22 PM | #14 | 
| Too lazy to set a custom title Join Date: Jan 2002 Location: Holland 
					Posts: 9,870
				 | what i said, php hands down 
				__________________ Don't let greediness blur your vision | You gotta let some shit slide icq - 441-456-888 | 
|   |           | 
|  09-04-2009, 01:26 PM | #15 | 
| Choice is an Illusion Industry Role:  Join Date: Feb 2005 Location: Land of Obama 
					Posts: 42,635
				 | |
|   |           | 
|  09-04-2009, 02:13 PM | #16 | 
| Now choke yourself! Industry Role:  Join Date: Apr 2006 
					Posts: 12,085
				 | RoR is great if you can support it.  PHP installations usually have most of the functions you're going to need already.  You'll also get fewer coders who want to assume either - but with PHP you know you're going to get a bunch of shit, 9/10 times. 
				__________________ | 
|   |           | 
|  09-04-2009, 02:16 PM | #17 | 
| Totally Borked Industry Role:  Join Date: Feb 2005 
					Posts: 6,284
				 | I know of 4 developers that swear by RoR, 1 of which ripped out all I wrote in PHP in favour of RoR for the main site of a large company. Both scripts were MVC-based, both scripts were 100% modular, he just preferred to do it in RoR, but identical site at the end.  That logic I don't understand - is it to keep him maintaining the code knowing how few RoR developers there are, is it because his PHP knowledge was less than RoR, I don't think so, it's just he preferred RoR. RoR developers say it takes less time to develop than in PHP, but I disagree. The example above took about half the time to develop in PHP, although I think it's because I knew the db better, not sure. If you can get this done in PHP, then go for it, but knowing the project, it absolutely *must* be an MVC framework or else it will never work the way you want it to - that I'm sure about  
				__________________  For coding work - hit me up on andy // borkedcoder // com (consider figuring out the email as test #1) All models are wrong, but some are useful. George E.P. Box. p202 | 
|   |           | 
|  09-04-2009, 02:19 PM | #18 | 
| Totally Borked Industry Role:  Join Date: Feb 2005 
					Posts: 6,284
				 | and fwiw, I got very interested in RoR, invested time understanding it and can write a hello world tour with members area, but that is as far as I went - there isn't the interest from clients for RoR than there is PHP, so why waste my time? 
				__________________  For coding work - hit me up on andy // borkedcoder // com (consider figuring out the email as test #1) All models are wrong, but some are useful. George E.P. Box. p202 | 
|   |           | 
|  09-04-2009, 02:28 PM | #19 | 
| Biker Gnome Industry Role:  Join Date: Mar 2004 Location: cell#324 
					Posts: 23,200
				 | I'm working with someone thats developing something in RoR and I have to say, it's coming along pretty fast. I have my concerns, but they are going to stay with the project and this is what they want to use. 
				__________________ Carbon is not the problem, it makes up 0.041% of our atmosphere , 95% of that is from Volcanos and decomposing plants and stuff. So people in the US are responsible for 13% of the carbon in the atmosphere which 95% is not from Humans, like cars and trucks and stuff and they want to spend trillions to fix it while Solar Panel plants are powered by coal plants think about that | 
|   |           | 
|  09-04-2009, 02:30 PM | #20 | |
| Choice is an Illusion Industry Role:  Join Date: Feb 2005 Location: Land of Obama 
					Posts: 42,635
				 | Quote: 
  from a man in da know | |
|   |           | 
|  09-04-2009, 03:04 PM | #21 | 
| Confirmed User Join Date: Jun 2009 Location: Asheville, NC 
					Posts: 2,277
				 | I agree, MVC is the way to go... I should really release my own framework I've developed over the past 10 years to the public, I'm sure the PHP community would love it... But I'm torn, I'm also a big supporter of private enterprise and my framework has been hard won. It's my bread and butter and I can develop things in a fraction of the time it takes other developers. Being OO, completely modular, and using true MVC design principals so that I can swap out a data source without ever touching a controller or view... I use DatabaseObjects for example: Class User extends MySQLObject, it has common methods used across any Parent DB Object Class... $user = new User($id); $user->getFormData(); $user->updateDB(); That's all I need to write in order to process form data, populate the new data for a user row and update the database... Everything is handled out of my way, cleaning, escaping, structuring the SQL, etc... If I want to handle users through LDAP, it's easy Class User extends LDAPObject $user = new User($id); $user->getFormData(); $user->updateDB(); I have prebuilt parent classes for SQL Server, Oracle, Postgres, MySQL, LDAP, and even flat file storage... I can swap from data source to data source with a few characters worth of changes... Anyway, probably boring 99% of the people in here but that's an insight into the data side of things in my own code :P +1 MVC 
				__________________ ICQ: 258-202-811 | Email: eric{at}bestxxxporn.com | 
|   |           | 
|  09-04-2009, 03:51 PM | #22 | |
| Choice is an Illusion Industry Role:  Join Date: Feb 2005 Location: Land of Obama 
					Posts: 42,635
				 | Quote: 
  | |
|   |           | 
|  09-04-2009, 04:14 PM | #23 | |
| Confirmed User Industry Role:  Join Date: Jun 2004 Location: New York, NY 
					Posts: 6,890
				 | Quote: 
 So to me, the "ability to set things up faster with RoR" doesn't apply and IMO that is really the only thing it has going for it right now. It's always good to know though, as the more languages you can know will only help you. Especially once you find out the high-paying freelance work is in fixing other people's work, not doing your own from scratch  
				__________________ Skype variuscr - Email varius AT gmail | |
|   |           | 
|  09-04-2009, 04:18 PM | #24 | |
| Choice is an Illusion Industry Role:  Join Date: Feb 2005 Location: Land of Obama 
					Posts: 42,635
				 | Quote: 
 | |
|   |           | 
|  09-04-2009, 04:34 PM | #25 | 
| Confirmed User Join Date: Jun 2003 
					Posts: 1,444
				 | Is their a rails like frame work for PHP. Here is a video of a tool I use http://www.deklarit.com/demo/ | 
|   |           | 
|  09-04-2009, 05:02 PM | #26 | |
| Choice is an Illusion Industry Role:  Join Date: Feb 2005 Location: Land of Obama 
					Posts: 42,635
				 | Quote: 
  | |
|   |           | 
|  09-04-2009, 06:46 PM | #27 | 
| So Fucking Banned Join Date: Jan 2006 
					Posts: 1,265
				 | |
|   |           | 
|  09-05-2009, 12:24 PM | #29 | 
| Too lazy to set a custom title Join Date: Jan 2002 Location: Holland 
					Posts: 9,870
				 | here is a nice read for you http://www.oreillynet.com/ruby/blog/...ck_to_p_1.html 
				__________________ Don't let greediness blur your vision | You gotta let some shit slide icq - 441-456-888 | 
|   |           | 
|  09-05-2009, 02:40 PM | #30 | 
| Confirmed User Industry Role:  Join Date: Jun 2003 Location: Costa Rica 
					Posts: 1,953
				 | I always recommend to any new clients that are looking to build an application from scratch to go with what is already out there, and improve upon it.  In this case I use CakePHP for all new, fresh projects that require the MVC design, rapid application development, and structure that is lacking from a completely new project.  Afterall, I get to shape it and make it the way I want, Cake just keeps it clean, organized and functional. Plus, RoR happy guys will respect PHP more when they try out Cake, because it's modeled after RoR   
				__________________ Yii Framework Guru - Seasoned PHP vet - Partner @ XXXCoupon.com | 
|   |           | 
|  09-05-2009, 03:11 PM | #31 | |
| Confirmed User Join Date: Jun 2003 
					Posts: 1,444
				 | Quote: 
 | |
|   |           | 
|  09-05-2009, 03:14 PM | #32 | |
| Confirmed User Join Date: Mar 2009 Location: NP-hard 
					Posts: 287
				 | Quote: 
 I use cake alot, it's a solid framework with everything that is missing or just plain shit in PHP (e.g. proper ORM). The flexibility is awesome, with cache control and all it's my style. I like to control things to the HTTP response header level   | |
|   |           | 
|  09-05-2009, 03:23 PM | #33 | 
| Registered User Join Date: Aug 2009 
					Posts: 11
				 | If you like MCV and want things to be modular but don't necessarily want to go with Rails, get someone to do it in PHP that knows their shit about CakePHP. | 
|   |           | 
|  09-05-2009, 03:41 PM | #34 | 
| Confirmed User Join Date: Apr 2003 Location: Loveland, CO 
					Posts: 5,526
				 | There's also the PHP framework CodeIgniter  Seems Expression Engine was built on it. The Symphony Project has a lot of ORM stuff, but you'll also have to wire-up a bunch of stuff. Not bad though. 
				__________________ Your post count means nothing. | 
|   |           | 
|  09-05-2009, 04:08 PM | #35 | |
| Confirmed User Join Date: Jun 2003 
					Posts: 1,444
				 | Quote: 
 I am looking at CakePHP and CodeIgniter. Jay | |
|   |           | 
|  09-05-2009, 06:36 PM | #36 | |
| Confirmed User Industry Role:  Join Date: Jun 2003 Location: Costa Rica 
					Posts: 1,953
				 | Quote: 
  
				__________________ Yii Framework Guru - Seasoned PHP vet - Partner @ XXXCoupon.com | |
|   |           | 
|  09-05-2009, 06:39 PM | #37 | |
| Confirmed User Industry Role:  Join Date: Jun 2003 Location: Costa Rica 
					Posts: 1,953
				 | Quote: 
 In my opinion, Cake has made me a much better web developer because I stick to a set of standards that are very welcome in most development teams and the conventions aren't all that bad, either. I say give em both a try, see which one fits you best. 
				__________________ Yii Framework Guru - Seasoned PHP vet - Partner @ XXXCoupon.com | |
|   |           | 
|  09-05-2009, 07:54 PM | #38 | 
| Half man... Half Amazing! Industry Role:  Join Date: Sep 2002 
					Posts: 13,958
				 | cakephp!! | 
|   |           | 
|  09-05-2009, 08:02 PM | #39 | 
| ICQ:649699063 Industry Role:  Join Date: Mar 2003 
					Posts: 27,763
				 | 
				__________________ Send me an email: [email protected] | 
|   |           | 
|  09-05-2009, 09:10 PM | #40 | |
| Choice is an Illusion Industry Role:  Join Date: Feb 2005 Location: Land of Obama 
					Posts: 42,635
				 | Quote: 
  | |
|   |           | 
|  09-06-2009, 09:14 AM | #41 | 
| ♥♥♥ Likes Hugs ♥♥♥ Industry Role:  Join Date: Nov 2001 Location: /home 
					Posts: 15,841
				 | Did you watch the video? I love how the fanboys who made the video make it sound like RoR came up with MVC. Smalltalk was doing it before 1980. RoR didn't even exist before 2004. Hell, Ruby itself didn't exist before 1994. RoR - FRAMEWORK PHP - Language If you're familiar with PHP already, use a PHP framework like CakePHP. There's no benefit to using RoR especially if you'd have to learn an entirely new language to use it. 
				__________________ I like pie. | 
|   |           | 
|  09-06-2009, 09:17 PM | #42 | 
| Confirmed User Join Date: Jun 2003 
					Posts: 1,444
				 | I am a ASP.NET developer , been like that since day 1, before that SmallTalk.  This weekend I played around with PHP, every time I tried to do some thing I found a better way to do it on ASP.NET. http://shipsoftwareontime.com/2009/0...ment-platform/ is a good read :-) | 
|   |           | 
|  09-06-2009, 10:26 PM | #43 | 
| Confirmed User Join Date: Mar 2009 Location: NP-hard 
					Posts: 287
				 | ASP.NET? Don't start the religious war. | 
|   |           | 
|  09-06-2009, 11:02 PM | #44 | 
| Confirmed User Join Date: Jun 2003 
					Posts: 1,444
				 | Well if some one wants me to develop some kind of complex mission critical app, I will use Smalltalk any day.  End of day Microsoft or LAMP , both has its pros and cons, both can be used to develop the same stuff. You just need to stick to what you know well Jay | 
|   |           | 
|  09-07-2009, 02:02 AM | #45 | 
| Confirmed User Join Date: Feb 2002 Location: ICQ: 251425 Fr/Au/Ca 
					Posts: 6,863
				 | |
|   |           | 
|  09-07-2009, 04:57 AM | #46 | |
| Confirmed User Join Date: Mar 2009 Location: NP-hard 
					Posts: 287
				 | Quote: 
  | |
|   |           | 
|  09-07-2009, 05:40 AM | #47 | 
| Confirmed User Industry Role:  Join Date: Mar 2004 Location: Rock Hill, SC 
					Posts: 5,370
				 | Open Source Frameworks are the crutch of lazy developers. There are only 3-4 developers who have posted in this thread that even have a little clue. borked killswitch BestXXXPorn and now me. I can tell from what the rest of you posted that you don't know jack... and wouldn't hire you to code a hello world app.  barefootsies... don't base your projects on any of those open source frameworks unless you want shitty performance and endless headaches. Seriously... Just because the code looks all fancy and the developers are well versed in the latest Object Oriented Programming buzzwords and methodologies doesn't mean it makes business sense to use it. I watched a development team at a well known adult company waste alot of time fucking around with that shit.... in the end they ended up writing their own framework. The rest of you need to stop posting and read more... | 
|   |           | 
|  09-07-2009, 05:45 AM | #48 | 
| GFY HALL OF FAME DAMMIT!!! Join Date: Jan 2002 Location: that 504 
					Posts: 60,840
				 | 
				__________________  Want an Android App for your tube, membership, or free site? Need banners or promo material? Hit us up (ICQ Fletch: 148841377) or email me fletchxxx at gmail.com -  recent work - About me | 
|   |           | 
|  09-07-2009, 05:47 AM | #49 | 
| Confirmed User Industry Role:  Join Date: Mar 2004 Location: Rock Hill, SC 
					Posts: 5,370
				 | I should have added quantum-x to the list   | 
|   |           | 
|  09-07-2009, 05:50 AM | #50 | |
| Confirmed User Industry Role:  Join Date: Mar 2004 Location: Rock Hill, SC 
					Posts: 5,370
				 | Quote: 
 | |
|   |           |