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

Object-Oriented Shirts4Mike

Hi guys, I'm almost done enhancing a simple php application project and would be continuing with the using php with MySQL Project when i'm done. At the same time, I was exploring the Object Oriented PHP Basics and was wondering if there will be a tutorial that teaches us how to enhance or refactor the Shirts4Mike php application to be object-oriented instead.

1 Answer

Hello,

I would believe that they would do that, however at this point in time they haven't really provided enough teachings on OOP PHP to really have a OOP Shirts 4 Mike course be beneficial. Keep in mind that OOP PHP is a very complex and huge area in PHP. There is a lot to OOP that, until the teachers here teach more OOP, it just wouldn't be wise to have you do a OOP Shirts 4 Mike without getting people completely lost in the teachings. I've been doing OOP PHP for a while and I know how I would OOP Shirts 4 Mike and with what the introduction to OOP provided, I don't think that doing a class on it would be a good idea at the time. That being said, I have a good feeling that they will do something like that or even better. I develop OOP PHP CMS systems and a class on how to develop a basic CMS system using OOP would be a good class to have people learn.

Cheers!

I agree, I'm in fact looking for resources on how to develop a basic CMS system using OOP. Right now, I'm developing a custom CMS for my own online watch business and whatever is covered in the PHP topic is already included in the system. I am very confident on going about and develop my CMS system from then on but what I'm afraid of is that I won't be able to do it in OOP. I on the other hand, will be able to create the CMS systems by separating concerns with functions after functions which I don't believe is the best way of doing things even though it does get things done.

As this CMS i'm developing will be used to replace my existing online watch store which already has transactions going on, I can't afford for it to work worse than what I already have. I am currently using WordPress WooCommerce if you may ask.