PHP - Oop Examples For Noobs
I've been using procedural code since I started learning PHP. I hear good thinks about OOP but it looks scary. Does OOP function somehow like CSS? If you have experience with OOP, please share an example for us noobs, where you effectively use it.
Similar TutorialsI thought to relax a bit and while i saw something and an idea came to my mind, lets play noobs, it will be fun... we ask noob questions here lolzzz
so my question is
Hello,
I have seen that there are always 3 users /* I know these are bots */ Google, Yahoo and Bing always online and we cannot see their profiles. They must be very professional hackers who have known how to hide their identities.. right??
I am wondering if anyone has some useful PHP socket programming examples. There are a lot of tutorials out there but I find a lot of them are not well written and often are only written from either the client or server's point of view. I would really like to see a good example where two separate scripts are provided. 1. A Server Side to put on the one computer. 2. A Client Side to put on another computer. The best would be something super simple that says/sends... "Hello other world!" and the other side receives it, prints it to a file. This way people could clearly see the interaction and learn rather then geting half the story and trying to puzzle their way through things. Puzzling has is merits but now when you are a busy person. This topic has been moved to Application Design. http://www.phpfreaks.com/forums/index.php?topic=358345.0 Hey all - I'm looking for code examples that includes looking for ?passphrase=[something] in the url. If there's no passphrase, give the user a form to fill out which will submit via GET to this url. If the passphrase is correct, tell them so. if it isn't, print incorrect and let them guess again. Maybe some keywords, or a key phrases.. Ideally I can figure it out from there. ? Thanks for any suggestions! I've been searching high and low for some decent (actually, they can be crap, just be REAL) real-world examples of uses of abstract classes and interfaces. I've seen many design patterns, and I get the concept, but now I need to put them into practice. And I gotta say, I'm absolutely sick of class Animal, class Dog extends Animal, class Vehicle, class Van extends Vehicle examples. Those are CRAP for illustrating real uses of the functionality given to us by OOP. It's one thing to teach a concept, and it's another to put into use within a real application. I can only find the former and the not the latter. Does anyone have any links to, or can they post their own examples of, abstract classes and interfaces in use? |