Plato Posted November 23, 2008 Share Posted November 23, 2008 Hello I want to start learning OOP, for me the best way to learn is to practise - however I really don't know where to start. So I figured I would look at some scripts which have already been written and take them apart and study them. The strange thing is, I can't seem to find anything on Google.. I can find plenty of guides which will teach you the basic concepts but I would really like some prewritten OOP scripts so I can see how they work. Does anyone know where I might find some? The more basic, the better! Eg a calender or file uploader etc Thanks a lot Link to comment https://forums.phpfreaks.com/topic/133894-oop-scripts/ Share on other sites More sharing options...
trq Posted November 23, 2008 Share Posted November 23, 2008 You would be better off studying one of the common frameworks IMO. Zend framework is pretty darn popular at the moment. Link to comment https://forums.phpfreaks.com/topic/133894-oop-scripts/#findComment-696976 Share on other sites More sharing options...
Plato Posted November 23, 2008 Author Share Posted November 23, 2008 Thanks Thorpe, I haven't really looked into Frameworks but I keep hearing the name crop up. They are basically libraries of working code you can use in your own application yes? So you reckon I should learn how to plug them into my code rather than write from scratch? Link to comment https://forums.phpfreaks.com/topic/133894-oop-scripts/#findComment-696983 Share on other sites More sharing options...
trq Posted November 23, 2008 Share Posted November 23, 2008 So you reckon I should learn how to plug them into my code rather than write from scratch? Definately. This will give you a good grasp of design patterns. Theres alot more to OOP than simply using classes, you need to know how to use them together. Link to comment https://forums.phpfreaks.com/topic/133894-oop-scripts/#findComment-696987 Share on other sites More sharing options...
Plato Posted November 23, 2008 Author Share Posted November 23, 2008 Muchos gracias Link to comment https://forums.phpfreaks.com/topic/133894-oop-scripts/#findComment-696994 Share on other sites More sharing options...
Plato Posted November 25, 2008 Author Share Posted November 25, 2008 Hi... I tried the Zend Framework and I followed this guide http://framework.zend.com/docs/quickstart/create-a-layout And I'm so confused, I've no idea what's going on. I'm just following all the instructions but none of it means anything to me, and I don't think its even working properly. Is there a more simple Framework just for a newbie? Maybe I shouldn't be worrying about them at the moment, I've been doing PHP for about 6 months and I'm at a stage where I'm writing my own simple scripts, eg a basic message forum, hit counters and the like. OK thanks to anyone who can help. Link to comment https://forums.phpfreaks.com/topic/133894-oop-scripts/#findComment-698592 Share on other sites More sharing options...
trq Posted November 25, 2008 Share Posted November 25, 2008 Google codeignitor, its much more simplified though still based around the MVC pattern. Link to comment https://forums.phpfreaks.com/topic/133894-oop-scripts/#findComment-698739 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.