LiamProductions Posted July 15, 2007 Share Posted July 15, 2007 Hey. I need some PHP HELP Advice, How should i learn PHP? Right i know how to write functions ect. Should i learn from PHP.net now? Learn all the strings functions ect? Quote Link to comment Share on other sites More sharing options...
MadTechie Posted July 15, 2007 Share Posted July 15, 2007 erm.. write basic site.. nothing special.. and then add.. or just find a few examle and add to them.. or get a book and follow the chapters! Quote Link to comment Share on other sites More sharing options...
LiamProductions Posted July 15, 2007 Author Share Posted July 15, 2007 Well do you know where i can learn how to use class? Quote Link to comment Share on other sites More sharing options...
chigley Posted July 15, 2007 Share Posted July 15, 2007 If you're gonna start using OOP, make sure you have PHP 5 ~ it'll make your life a whole lot easier! Quote Link to comment Share on other sites More sharing options...
trq Posted July 15, 2007 Share Posted July 15, 2007 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. Quote Link to comment Share on other sites More sharing options...
AbydosGater Posted July 15, 2007 Share Posted July 15, 2007 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 Quote Link to comment Share on other sites More sharing options...
LiamProductions Posted July 15, 2007 Author Share Posted July 15, 2007 Well the reason im trying to learn Classes is because me and Abydosgaters and working on a blogging system. Quote Link to comment Share on other sites More sharing options...
trq Posted July 15, 2007 Share Posted July 15, 2007 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. Quote Link to comment Share on other sites More sharing options...
AbydosGater Posted July 16, 2007 Share Posted July 16, 2007 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 Quote Link to comment Share on other sites More sharing options...
per1os Posted July 16, 2007 Share Posted July 16, 2007 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. Quote Link to comment Share on other sites More sharing options...
AbydosGater Posted July 16, 2007 Share Posted July 16, 2007 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.