Solved

object oriented programming on screen browser tutorial lesson

Posted on 2016-07-23
2
67 Views
Last Modified: 2016-08-08
w3schools has good tutorial lessons for css html JavaScript. there is code editor online where I can see output at same time.


I want to learn object oriented programming
0
Comment
Question by:rgb192
2 Comments
 
LVL 16

Assisted Solution

by:krakatoa
krakatoa earned 250 total points
ID: 41725996
Some scholars here use Codingbat as their coding workshop.
1
 
LVL 108

Accepted Solution

by:
Ray Paseur earned 250 total points
ID: 41727549
FWIW, PHP object-oriented programming is documented here:
http://php.net/manual/en/language.oop5.php

E-E has some good articles about OOP by @gr8gonzo.  However the recent reorganizations of the E-E site have caused me to be unable to find them any more.  Maybe hit the Request Attention button and ask the Customer Service agents at E-E to help look them up!

Anyone learning object-oriented programming is going to need to learn it in a few different languages.  PHP is not the best for a learning platform, even though PHP has a fairly useful object model.  Probably Java and Python would be good choices.  Ruby would be a good choice, too.  JavaScript has an "interesting" object model, and despite its ubiquity, it might not be the best choice for starters.

There are differences in design and syntax among all the programming languages, but the similarities are stronger.  All of them enable you to represent things in terms of interacting objects.  The objects have properties and behaviors.  For example, a "generic cat" has a size property (small or large) and a voice behavior (meow, roar).  (PHP calls behaviors "methods.")  A cat might chase prey, and this prey might be a mouse or a gazelle, depending on other properties of the cat.  But whatever kind of cat your object describes, all of its collected characteristics are encapsulated inside the cat object.  The data and actions, as represented by properties and methods, are kept together in one place -- inside the cat object.

Object-oriented programming might be distinguished from object-oriented design, even though they go hand-in-hand.  You probably want to do some reading on the design ideas, too.  This article may help get you started.  It's a journey, but an interesting and rewarding one!
https://www.experts-exchange.com/articles/18329/SOLID-Design-in-PHP-Applications.html
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now