473,232 Members | 1,456 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,232 software developers and data experts.

Need "good" real world examples of class/pattern use in PHP

Hi everyone

I need to move on a step in my PHP...

I know what classes are, both in PHP4 and 5 and I'm aware of "patterns"
existing, but what I'm looking for are some real world projects eg. Open
Source that people consider to use classes and patterns correctly.

I lack a senior person to lead me in this so I feel I'm losing out on
only using bare PHP class features and not really knowing how to design
proper base classes and use inheritence and patterns etc. in real world
scenarios.

Can anyone point me to some good real world examples such as open source
projects that use these so I can learn properly?

Or perhaps someone knows of good online courses that cover this? I did
a PHP course at a local college, but to say it was BASIC is an
understatement.

Thanks in advance.

Tyno.
Aug 29 '07 #1
1 3086
On Aug 29, 4:31 am, Tyno Gendo <nob...@example.comwrote:
Hi everyone

I need to move on a step in my PHP...

I know what classes are, both in PHP4 and 5 and I'm aware of "patterns"
existing, but what I'm looking for are some real world projects eg. Open
Source that people consider to use classes and patterns correctly.

I lack a senior person to lead me in this so I feel I'm losing out on
only using bare PHP class features and not really knowing how to design
proper base classes and use inheritence and patterns etc. in real world
scenarios.

Can anyone point me to some good real world examples such as open source
projects that use these so I can learn properly?

Or perhaps someone knows of good online courses that cover this? I did
a PHP course at a local college, but to say it was BASIC is an
understatement.

Sadly, I don't have any specific examples to give you, but I can offer
you my opinion on this matter.

When I first learned PHP, it was self-taught, and I didn't know much
of anything about programming, let alone OOP. After taking some
university classes, I did some pretty heavy coding in Java, which is
highly object-oriented. Eventually I moved back to PHP, and I found I
was able to apply almost all of what I had learned about objects/
classes/inheritance/object-oriented programming, and using the same
features in PHP was a snap. I guess the moral of my story is that if
you want to educate yourself further, you don't necessarily have to
limit yourself to PHP as the context language. General object-oriented
concepts should apply to your goal.

Or maybe I've totally misread your question and you already have a
good understanding on OOP, and need to know about it's context in PHP
exactly. Heh.

Aug 29 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Patrick K. O'Brien | last post by:
I'm looking for a good schema to use as an example for an object database system. Something like a books/authors/publishers or teachers/students/courses kind of thing. There are plenty of...
17
by: beliavsky | last post by:
Many of my C++ programs have the line using namespace std; but the "Accelerated C++" book of Koenig and Moo has many examples where the library names are included one at a time, for example ...
2
by: lagunasun | last post by:
I am going from learning c++ console apps to windows, and need a good book. I prefer the non techical approach with some humor (if possible). I would like the book to assume the reader has NO...
2
by: Michael B. Trausch | last post by:
I've been searching for a little while (about the past week or so) and not finding anything really close to what I'm looking for. I have an application that I've writting that, as of this point in...
9
by: Christopher Benson-Manica | last post by:
In your experience, what is the prevalence of "good" C++ (i.e., the code makes full use of solid language features and the STL) versus C++ written in ignorance (or defiance) of one or more key...
4
by: Petterson Mikael | last post by:
Hi, We are today into RoseRT. We are not very satisfied with the environment ( speed, control and complexity). Today RoseRt generates about 40-60% of the code. Q1: Is it possible to move to...
48
by: Tony | last post by:
How much bloat does the STL produce? Is it a good design wrt code bloat? Do implementations vary much? Tony
8
by: Zytan | last post by:
In VB, you use ControlChars.CrLf (or better, ControlChars.NewLine). In C/C++, we are used to using merely "\n" (or at least I am). It appears "\n" is good enough for RichTextBoxes. Does it...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.