Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

General Discussion

Patrick Gerrits
Patrick Gerrits
14,614 Points

Ruby or PHP for project

Hi all,

Currently i'm working on the technical side of my startup. Not going into details, duh, but the main focus of the startup contains scraping sites and do some analysis on that data for customers.

I have build a mockup using PHP. Problem there is that i use a third party application to do the scraping. It would be great to add the scraping in the main code. And maybe allow the user for some custom crping (add url in field) => put in variable, and run scrape on that.

Question that is troubling my mind is choosing the technology. I think even python is an option (no experience in python). Eventually the presentation of the data should include interactive charts, reports and other anaylis.

2 Answers

Hello Patrick.

I too am working on the technical side of my business and it involves scraping websites as well. I am using Nokogiri in Ruby to parse pages and scrape data. I realize you probably want to stick with PHP (which I have zero experience with) but Nokogiri and Ruby are great if you want to check them out.

Patrick Gerrits
Patrick Gerrits
14,614 Points

Well the problem is that I'm having great difficulty with starting up on Ruby. Maybe it is to overwelming for me at this point. I think i'm going to stick with PHP for now and maybe pickup Ruby later.

Well i;m going a n other way! Going for Node.js!