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

Data Analysis

Hatim Daoudi
Hatim Daoudi
394 Points

Building Price Comparison Website what do i need Exactly ?!

i am already learning Html Css JavaScript , and i want to ask how can i built these Type of Site like pricegrabber.com ?

I hope to get a Clear answer witch Programming language i must use Python or other Performance optimized Language .

Eric M
Eric M
11,545 Points

There isn't a clear answer to this if you're a beginner sorry, Python or JavaScript can both be used to build almost any website as can numerous other languages.

I think the best answer to this sort of question is "the language you know best or most want to learn"

If you don't know any languages yet focus on learning the fundamentals, really understanding, one language. After that the things you need to do, and specific questions to ask, will reveal themselves to you.

Hatim Daoudi
Hatim Daoudi
394 Points

i am a Computer Science Student i am familiar with C , C++ ,and also used C# on Unity 3D Game Engine , but the web development is new to me and i want badly to learn it mainly to build this Type of Sites and it will be more than great if someone tell me witch Skills i must to have so that i build this .

Eric M
Eric M
11,545 Points

HTML/CSS/JavaScript is a great start then and should be a quick ramp up for you after C, C++, and C#

Hatim Daoudi
Hatim Daoudi
394 Points

yes this is what learn exactly now but as i have searched on google they say that i must to learn scrapping and API to acces Data and also know how to Save that Data into my Database using Mysql and PHP ....

1 Answer

Eric M
Eric M
11,545 Points

APIs and Databases are programming language independent. You can consume an API and interact with a database in any language that's been mentioned: JavaScript, Python, C, C++, C#, PHP, etc.

You're really asking about Web Application Architecture, which might be easier to understand once you've finished the current HTML/CSS/JavaScript stuff you're doing on Treehouse.

Once you've got the hang of HTML/CSS/JS you can start a project with something like a simple web server connected to a DB, and a front end page to display content and handle user input.

To get at your question of what you do and don't need: I would try to do something really simple (like setup Node.js and a DB on AWS free tier and build enough to get a simple input form working) because trying to dive into web application architecture before getting some context for it is probably going to raise more questions than it answers.

Once you've got that little bit of experience maybe research things like "Web Application Architecture" and "MVC". Understanding the MVC concept and having built something that displays a webpage that can manipulate a database table based on user input will give you a lot of context.

For your pricegrabber-like you could spin up a Linux VM, run Node.js, install and configure Postgres, throw Express on top of Node and write your front end in React. That's a popular combination. You could also run a (somewhat antiquated) LAMP stack (Linux Apache MySQL PHP) with a JavaScript front end and achieve a similar result. You could run httpd on Solaris and extend it with custom C modules. You could write a python script that grabs data from APIs and shoves it into a headless CMS that a Vue app reads from. The possibilities are endless but there's no point getting deep into the detail right now.

When you started learning C I'll bet you started with simple branching logic and console I/O, not implementing binary trees or even dynamically sized arrays.

Hatim Daoudi
Hatim Daoudi
394 Points

Thank you for your Time, i wanted only to have a clear Path so that i can focus on what i must learn and don't spend my Time on other things thatΒ΄s all .