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

As a new front-end developer, should I learn a back-end language or just try to get by copying back-end code snippets?

Recently, I completed the front-end techdegree. I have started working on websites for clients, however, they keep asking me to implement features on their site that require back-end code.

For example, one client wants a subscription form that automatically emails the content of the form (the users email) to a given email address. I can find snippets of php code that allow me to do this, but many times, it restricts me from fully customizing something they way I want it due to my lack of understanding the language.

How do front-end web developers deal with this issue and is their a better approach? I would like to focus on strengthening my current skills before getting too involved learning other languages/concepts.

1 Answer

Hey Shaun,

As a front-end developer I believe its very important to understand how back-end development works - but arguably its not essential.

You don't need to be an expert, but understanding how back-end works can be very beneficial. Certainly being able to understand what is / isn't possible is important :)

If you don't have a back-end developer working with you, learning back-end would be much better than copy & pasting. After all If something goes wrong/performance is slow you'll need to understand why.

However the alternative is to teach your clients where your role stops. If a task requires back-end development make it clear to them they'll need a back-end developer. There is a risk that if you do fiddle with back-end development, there might be an occasion where the back-end work requested is too complex / its not PHP.