Re: [PHP] PHP, OOP and AJAX

2009-05-28 Thread Nathan Nobbe
On Thu, May 28, 2009 at 5:31 AM, Julian Muscat Doublesin < opensourc...@gmail.com> wrote: > Hi Everyone, > > This is the first time that I am posting in the PHP forum, so hope that I > am > osting in the right place. > > I would like to say that before submitting to this forum I have done some > r

Re: [PHP] PHP, OOP and AJAX

2009-05-28 Thread Tom Worster
On 5/28/09 7:31 AM, "Julian Muscat Doublesin" wrote: > I had been programming in ASP.NET for years using Object Oriented > Princeliness but decided to walk away from that. I am now researching and > specialising in the open source world. yay! > I have started to develop a project using MySQL,

Re: [PHP] PHP OOP

2009-02-12 Thread Virgilio Quilario
Java is really awesome at OOP and it is great for teaching OOP or, shall we say "illustrating OOP". OOP is a programming technique in general without any bias towards any programming language. Good background on OOP concepts is essential in learning language specific OOP implementation. So don't wo

Re: [PHP] PHP OOP

2009-02-12 Thread Kyle Terry
On Mon, Feb 9, 2009 at 11:12 AM, Yannick Mortier wrote: > 2009/2/9 tedd : > > > > Yes C++ is not bad for this, but it has also got some flaws. What language doesn't have flaws, dude? Out of all the OOP C++ and java are probably the most solid. And I _hate_ java... > > > > > However, while I d

Re: [PHP] PHP OOP

2009-02-10 Thread German Geek
A loosely typed language like PHP might not be the best choice for teaching OOP, because even though PHP makes it easier with loose types, you should know about them and how they are stored etc. PHP is a great language but maybe not strict enough for students to understand all the errors that can

Re: [PHP] PHP OOP

2009-02-10 Thread tedd
At 9:36 AM -0500 2/10/09, Andrew Ballard wrote: On Tue, Feb 10, 2009 at 8:40 AM, Carlos Medina wrote: > Marcus Gnaß schrieb: > Hi @ all, but this is a php list... Regards Carlos Yes, it is, but the original question was about OOP and not specifically about PHP. It seems fair enough

Re: [PHP] PHP OOP

2009-02-10 Thread Andrew Ballard
On Tue, Feb 10, 2009 at 8:40 AM, Carlos Medina wrote: > Marcus Gnaß schrieb: >> >> Paul M Foster wrote: >>> >>> On Mon, Feb 09, 2009 at 11:02:37AM -0500, tedd wrote: >>> As a side note, I think students should learn a language like C before >>> learning something like Perl, Python or PHP. Having

Re: [PHP] PHP OOP

2009-02-10 Thread Byron
Where I study, Intro to OOP is taught in C# using Visual Studio 2003 and further OOP concepts are taught in Java, with the academic computer science of OOP alongside. On Wed, Feb 11, 2009 at 2:40 AM, Carlos Medina wrote: > Marcus Gnaß schrieb: > >> Paul M Foster wrote: >> >>> On Mon, Feb 09, 2009

Re: [PHP] PHP OOP

2009-02-10 Thread Carlos Medina
Marcus Gnaß schrieb: Paul M Foster wrote: On Mon, Feb 09, 2009 at 11:02:37AM -0500, tedd wrote: As a side note, I think students should learn a language like C before learning something like Perl, Python or PHP. Having to deal with defining/declaring variables and their storage methods before

Re: [PHP] PHP OOP

2009-02-10 Thread Marcus Gnaß
Paul M Foster wrote: On Mon, Feb 09, 2009 at 11:02:37AM -0500, tedd wrote: As a side note, I think students should learn a language like C before learning something like Perl, Python or PHP. Having to deal with defining/declaring variables and their storage methods before use I think makes fo

Re: [PHP] PHP OOP

2009-02-09 Thread Larry Garfield
On Monday 09 February 2009 10:02:37 am tedd wrote: > Hi gang: > > At the college where I teach, they are considering teaching OOP, but > they don't want to settle on a specific language. > > My thoughts are it's difficult to teach OOP without a language -- > while the general concepts of OOP are in

Re: [PHP] PHP OOP

2009-02-09 Thread Yannick Mortier
2009/2/9 tedd : > Hi gang: > > At the college where I teach, they are considering teaching OOP, but they > don't want to settle on a specific language. > I guess that is not a good idea, you should really combine it with a language, as some students will be curious enough to play around with it at

Re: [PHP] PHP OOP

2009-02-09 Thread Per Jessen
Paul M Foster wrote: > PHP is *not* a good example for OO. There are a lot of OO principles > it doesn't follow. > > I would have suggested Smalltalk, the original OO language, except > that no one uses it any more, and other languages don't necessarily > fully implement OO as done in Smalltalk.

Re: [PHP] PHP OOP

2009-02-09 Thread Eric Butera
On Mon, Feb 9, 2009 at 12:19 PM, Stuart wrote: > 2009/2/9 tedd : >> Hi gang: >> >> At the college where I teach, they are considering teaching OOP, but they >> don't want to settle on a specific language. >> >> My thoughts are it's difficult to teach OOP without a language -- while the >> general

Re: [PHP] PHP OOP

2009-02-09 Thread Paul M Foster
On Mon, Feb 09, 2009 at 11:02:37AM -0500, tedd wrote: > Hi gang: > > At the college where I teach, they are considering teaching OOP, but > they don't want to settle on a specific language. > > My thoughts are it's difficult to teach OOP without a language -- > while the general concepts of OOP ar

Re: [PHP] PHP OOP

2009-02-09 Thread Stuart
2009/2/9 tedd : > Hi gang: > > At the college where I teach, they are considering teaching OOP, but they > don't want to settle on a specific language. > > My thoughts are it's difficult to teach OOP without a language -- while the > general concepts of OOP are interesting, people need to see how c

Re: [PHP] PHP OOP

2009-02-09 Thread Per Jessen
tedd wrote: > I lean toward C++ because I wrote in it for a few years AND C++ > appears to be the most common, widespread, and popular OOP language. I would agree, although I suspect Java is also a good candidate. > However, while I don't know PHP OOP, I am open to considering it > because of th

Re: [PHP] PHP OOP

2009-02-09 Thread Per Jessen
tedd wrote: > I lean toward C++ because I wrote in it for a few years AND C++ > appears to be the most common, widespread, and popular OOP language. I would agree, although I suspect Java is also a good candidate. > However, while I don't know PHP OOP, I am open to considering it > because of th

Re: [PHP] PHP OOP

2009-02-09 Thread Nathan Rixham
Eric Butera wrote: On Mon, Feb 9, 2009 at 11:20 AM, Thodoris wrote: Hi gang: At the college where I teach, they are considering teaching OOP, but they don't want to settle on a specific language. My thoughts are it's difficult to teach OOP without a language -- while the general concepts of O

Re: [PHP] PHP OOP

2009-02-09 Thread Eric Butera
On Mon, Feb 9, 2009 at 11:20 AM, Thodoris wrote: > >> Hi gang: >> >> At the college where I teach, they are considering teaching OOP, but they >> don't want to settle on a specific language. >> >> My thoughts are it's difficult to teach OOP without a language -- while >> the general concepts of OO

Re: [PHP] PHP OOP

2009-02-09 Thread Thodoris
Hi gang: At the college where I teach, they are considering teaching OOP, but they don't want to settle on a specific language. My thoughts are it's difficult to teach OOP without a language -- while the general concepts of OOP are interesting, people need to see how concepts are applied t

Re: [PHP] PHP OOP

2009-02-09 Thread Kyle Terry
On Mon, Feb 9, 2009 at 8:02 AM, tedd wrote: > Hi gang: > > At the college where I teach, they are considering teaching OOP, but they > don't want to settle on a specific language. > > My thoughts are it's difficult to teach OOP without a language -- while the > general concepts of OOP are interest

Re: [PHP] PHP OOP

2003-10-01 Thread Tom Rogers
Hi, Wednesday, October 1, 2003, 9:00:18 AM, you wrote: GH> I'm working for the first time with object orientated programming in php and GH> I can't figure out how to access elements or methods when you place objects GH> inside objects inside other objects. GH> my origonal idea was to use the fol

Re: [PHP] PHP OOP

2003-10-01 Thread Raquel Rice
On Tue, 30 Sep 2003 19:00:18 -0400 "Geoff Hellstrand" <[EMAIL PROTECTED]> wrote: > I'm working for the first time with object orientated programming > in php and I can't figure out how to access elements or methods > when you place objects inside objects inside other objects. > > my origonal idea

RE: [PHP] PHP OOP

2003-10-01 Thread Daniel Purdy
[snip]I'm working for the first time with object orientated programming in php and I can't figure out how to access elements or methods when you place objects inside objects inside other objects. my origonal idea was to use the following syntax: $a->b->c but this just returns: $a->b . "->c" Ple

Re: [PHP] PHP OOP x Procedural Performance

2003-05-30 Thread Ernest E Vogelsinger
At 04:05 29.05.2003, William N. Zanatta said: [snip] > It is a known issue that function calls are expensive for the processor. > > The OOP let us better organize the code but, thinking in function (or >method) calls it may be more expensive than in the proc

RE: [PHP] PHP OOP x Procedural Performance

2003-05-29 Thread Jay Blanchard
[snip] It is a known issue that function calls are expensive for the processor. The OOP let us better organize the code but, thinking in function (or method) calls it may be more expensive than in the procedural form. My question is, has anyone made any tests regarding the performance of OO

Re: [PHP] PHP OOP x Procedural Performance

2003-05-29 Thread Ray Hunter
yes, the bottom line is code reuse...that is why there is oop. So that a developer can always reuse code saving money on development and thus if speed is an issue then adding more hardware. -- Ray On Wed, 2003-05-28 at 20:05, William N. Zanatta wrote: > It is a known issue that function calls

Re: [PHP] PHP OOP design question

2003-03-04 Thread Ernest E Vogelsinger
At 14:24 04.03.2003, Joseph Szobody spoke out and said: [snip] >I have several web projects that are all database driven. I have recently >been diving into OOP, and rewriting a lot of procedural code in OOP. I have >a design question about handling the MySQ

RE: [PHP] PHP OOP list

2002-07-23 Thread Vail, Warren
Try http://www.phpclasses.org; Warren Vail Tools, Metrics & Quality Processes (415) 667-7814 Pager (877) 774-9891 215 Fremont 02-658 -Original Message- From: Mathieu Dumoulin [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 23, 2002 10:36 AM To: [EMAIL PROTECTED] Subject: [PHP] PHP OOP l

RE: [PHP] PHP OOP: Multiple Class Extends

2002-03-21 Thread Martin Towell
Extending more that once, as you did in your example, is perfectly okay. It's just when you try to do it in one go. ie. you can't do multi-extends, but you can extend more than once (if you get what I mean) HTH Martin -Original Message- From: Nathan Cassano [mailto:[EMAIL PROTECTED]] Se

Re: [PHP] PHP oop in C

2001-01-29 Thread John Donagher
Take a look at the domxml extension code, for one example. There are other extensions that do this as well. John On Mon, 29 Jan 2001 [EMAIL PROTECTED] wrote: > Hello, > > Does anyone know how to take a PHP class and move it directly into PHP's C > code, OR (even better) to move it into C co