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

PHP

PHP Tracks -> Basic Handling Errors in PHP Workshop | difficult to understand..

Hi

I doing right now PHP and just fallowing PHP tracks. When I started to study in PHP workshop "Basic handling.." I felt its kinda heavy to understand. I just wondering what if I jump of that track and moving to Build a Basic PHP Website ? Is it smart way? :sweat:

2 Answers

That is very interesting question.

My answer is yes and no.

Yes; if you want to learn by a more fun example (building a website) just remember to to come back. But, If you want to skip "Basic error Handling in PHP", forever, then No: don't!

Error handling is very important, not only in PHP, but in all programming Languages Just think of it as a very good, important skill every PHP developer should have.

Now the longer version.

Rather than giving you a definitive answer to that; I will try to be as general as I can. It works for me, I bet it will make sense to you as well.

Most courses here are really dependent on, or complement preceding courses. The preceding courses are a foundation and prerequisites of later courses. In that case they are better followed in order . Treehouse system enforces that throughout the order of tracks.

However we learn differently, and sometimes some examples are much clearer than others. Sometimes you might be looking for a user case of the programming language (PHP) that best suit your current needs or understanding. Maybe to feed your curiosity and remove the fear before coming back to certain things.

So yeah, you can jump, but remember to take a step back if you are stack, along the way. The simpler way is to ask for help, in that very same course. Sometimes its just little thing that you are missing and can be made clear and move on. Either way, there is that freedom, and it applies to different people differently.

Thank you that you telling me from your experience! :) I will study Error before Web thing :)

You are welcome, I couldn't have chosen better myself.