Solved

object oriented programming on screen browser tutorial lesson

Posted on 2016-07-23
2
75 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
<? versus <?php 5 36
map related example 6 32
mcrypt_create_iv() is deprecated 4 70
arguments to jar 5 14
Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
This video teaches viewers about errors in exception handling.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

912 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

27 Experts available now in Live!

Get 1:1 Help Now