Jump to content

Recommended Posts

Classes probably aren't something you should bother trying to learn straight away as they deal with application design more then anything.

 

You should really try and get a few small applications under your belt first IMO. The link in my signiture is a pretty good place to start.

 

As your applications get bigger you may find the need for classes. But to be honest, alot of people use classes without really applying any sort of OOP design practices, and really, without good design, there just un needed overhead in most cases.

Link to comment
https://forums.phpfreaks.com/topic/60063-advice/#findComment-298747
Share on other sites

Liam! You have the Book! READ It!

 

Its where i learnt most of what i know about PHP.

 

It teachs you in the way you should learn. By going step by step in creating applications hat get more advanced as the chapters go on!

 

 

Everyone loves PHP5/Mysql for the absolute beginner!

 

Andy

Link to comment
https://forums.phpfreaks.com/topic/60063-advice/#findComment-298889
Share on other sites

While theres probably no harm in learning classes and there relationships as early as possible, you really ought to learn to walk before you try and run. You may very well fall flat on your face otherwise.

 

You asked for advice, and I'm giving you my opinion. Take it or leave it, it is is only my opinion after all.

Link to comment
https://forums.phpfreaks.com/topic/60063-advice/#findComment-299021
Share on other sites

I would agree with Thorpe..

Take it or leave it, it is is only my opinion after all.

 

Well.. Your Opinion is well held around here. After all.. It does say "Genious" under your name..

 

I would say keep reading what you have, until you get up to chapter 7 which is what your missing.. And before you continue into databases.. then hit google for PHP 5 OOP tutorials..

 

Andy

Link to comment
https://forums.phpfreaks.com/topic/60063-advice/#findComment-299564
Share on other sites

Well the reason im trying to learn Classes is because me and Abydosgaters and working on a blogging system.

 

Classes are not a good way to start out. If you do want to start with classes I highly HIGHLY suggest you learn them in a straight OOP language such as Java.

 

But after learning them in Java, you really find out that PHP (at least v4) was not designed well for OOP, kinda frustrating.

 

At any rate all you need are functions, no need for classes at least not this early in the game. Write the code first you can always come back and re-vamp the code to include class code later on.

 

You have to crawl before you can walk and walk before you can run.

Link to comment
https://forums.phpfreaks.com/topic/60063-advice/#findComment-299568
Share on other sites

Once again i agree that its diving into classes before he is ready.

 

But i already have the main body of code for the blog is done with objects. Mostly the template and plugin systems.

 

The Main thing Liam needs to know is how classes work. So when he looks at the code the class works, for example when i have $plugin->load($id); That its understandable.

 

But everything after that is easy to extend..

 

Andy

Link to comment
https://forums.phpfreaks.com/topic/60063-advice/#findComment-299627
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.