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

Liam Brennan
Liam Brennan
17,182 Points

Website Idea - What Languages to Learn?

Hi Everyone,

I've had an idea for a website but I don't really know where to start with regards to what language to use for the backend. I presume many of them can do the same things in different ways so i'd like to discuss where to start!

I'd like to create a predictions website for the upcoming Euro 2016 Football (Soccer) Championships. For the past several competitions this has always been done with spreadsheets. People eventually having to manually work out all the scores. This got pretty tedious when there were 100+ entrants. For the 2014 World Cup I automated it all using spreadsheets. This time around i'd like to take it a step further and make a website for it.

Off the top of my head, i'll need the following;

  1. Account set up / log in for every user that signs up.
  2. The creation of leagues that users can set up/join of their own accord.
  3. Take input from the user (their score prediction). From the group stages all the way to the final game and who they think will win the competition. This is all entered and submitted before the tournament starts. Store this somewhere (database)
  4. Compare this with the actual score from the match (I would update the site / database / whatever)
  5. Award points based on their prediction. 0 for incorrect, 2 for correct result, 5 for correct score, something like that.

Is a website or a web app a better option? I did the Learn Ruby track and got most of the way through the Rails track before hitting a stumbling block with regards to set up and how the todo list lesson is explained.

A bit long but any ideas or suggestions would be great.

Thanks!

5 Answers

Kevin Korte
Kevin Korte
28,149 Points

Take your pick.....however....

It might be a cool idea to be able to live update the score as it happens, right? While all the languages have ways to do this, nodejs is probably the lowest bar to pull this off.

If it were me personally, I'd probably build this on http://meteor.com

Liam Brennan
Liam Brennan
17,182 Points

Thanks for the link, looks interesting!

JS is the foundation for what you are trying to accomplish.

Liam Brennan
Liam Brennan
17,182 Points

So that's two nods for Javascript, thanks for replying!

Amy Stolzenbach
Amy Stolzenbach
1,997 Points

Hi! Sorry to hop into this conversation when it looks like it's tied up nice and neat with some good solutions. I am in the same boat as Liam as far as deciding which language will most elegantly accomplish some similar goals to his website/app.

Meteor looks great. My question is this: How much hand-holding does meteor provide? Should one learn Javascript to use it or is it something like Squarespace where the parts are there and you're just assembling it? I'm a novice programmer and I'm willing to learn, but maybe there is a "work smarter, not harder" option.

Thanks in advance.

Kevin Korte
Kevin Korte
28,149 Points

You differently need to know Javascript. There is a little hand holding in that Meteor already has the mongodb hooked up for you. But it leaves you to write your own routes, your own database methods and functions, your own subscriptions and publications, etc. You're going to be pretty hands on and deep into the code, but because of this it's so flexible you can create almost any sort of web app out of it.

Amy Stolzenbach
Amy Stolzenbach
1,997 Points

Kevin - Perfect info. Thanks so much for the reply.

Cheers!

Amy