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

JavaScript

Want to know clearly about Javascript

Hello guys! I'm interested to be a Web Developer.I knew the web Development is divided by two division 1.Front-End Web Development(with HTML,CSS,Javascript) 2.Back-End Web Development(with PHP,MySQL etc) I knew Javascript is a Client side scripting language and it's used on Front-End Web Development and PHP is a server side scripting language and it's used on Back-End Web Development.

But one of my friends suggest me i can be a perfect Web Developer with only the knowledge of Javascript.He told me i can create Front End and Back End web application only with Javascript.Is that possible?

4 Answers

Codin - Codesmite
Codin - Codesmite
8,600 Points

Yes you can be a Fullstack Javascript Developer. The most common stack used by Fullstack Javascript Developers is the MEAN stack (MongoDB, Express, Angular.js Node.js).

MongoDB - This is a back end database solution that is a noSQL database (Like mySQL but non-relational method of data storage)

Express JS - This is a light-weight web application framework for Node.js that helps minimise code replication, speed up your workflow and automatically handles a lot of repeatitive work related to Node.js.

Angular.js - This is a Javascript Framework that extends HTML attributes with directives, and helps bind data to HTML with expressions.

Node.js - This is a Javascript solution to a backend server programmng language such as PHP or Python.

It is not as simple as just learning Javascript like many people say, but essentially you will be using one language throughout the whole stack which is Javascript.

Personally myself I am a LAMP stack developer (Linux, Apache, mySQL/MongoDB, PHP/Python). I work with someone who is a Fullstack Javascript Developer and he loves doing everything in Javascript, it has it's pros and cons though hence why we are both employed for different specality parts of our companies web infastructure.

Jake Lundberg
Jake Lundberg
13,965 Points

Yes, using things like Node.js, javascript can be run on other things outside the browser (like on a server, or on the desktop). So yes, technically speaking, you can do back-end operations using javascript.

Thanks Jake, That means i can do everything on Web Development with Javascript,right?How much time does it takes to be a master on Javascript?I know it's an weird question but i just want to know...............

Andrew Antwine
Andrew Antwine
4,097 Points

You never master a language... You just know how to manipulate it to your needs and and that is where skill is gained. Always learn, never quit!

Thanks a lot Andrew