Re: [PHP] Silly OOP question

2004-11-15 Thread Robert Cummings
On Mon, 2004-11-15 at 10:17, Simas Toleikis wrote: > >Semantics. Until any langiage compiles to pure 1s and 0s, it's all about > >bytecode. Even C compiles to assembler which is really just a low level > >bytecode. > > > > > Just a note: > > C compiles to opcodes. opcodes are 1s and 0s directly

Re: [PHP] Silly OOP question

2004-11-15 Thread Simas Toleikis
Semantics. Until any langiage compiles to pure 1s and 0s, it's all about bytecode. Even C compiles to assembler which is really just a low level bytecode. Just a note: C compiles to opcodes. opcodes are 1s and 0s directly interpreted by CPU. Same applies to assembler. (asm->opcodes). The true i

Re: [PHP] Silly OOP question

2004-11-14 Thread Klaus Reimer
Daniel Schierbeck wrote: you can implement it completely statically so you don't need to instanciate the class Well, it might be useful to have more than one list of projects, ie if you want all design-related projects, or all PHP-projects. But then you might need a class to organize these Projec

Re: [PHP] Silly OOP question

2004-11-14 Thread Daniel Schierbeck
Klaus Reimer wrote: you can implement it completely statically so you don't need to instanciate the class Well, it might be useful to have more than one list of projects, ie if you want all design-related projects, or all PHP-projects. -- Daniel Schierbeck Help spread Firefox (www.getfirefox.com

Re: [PHP] Silly OOP question

2004-11-14 Thread Robert Cummings
On Sun, 2004-11-14 at 13:27, -{ Rene Brehmer }- wrote: > At 17:14 14-11-2004, Robert Cummings wrote: > >On Sun, 2004-11-14 at 09:30, -{ Rene Brehmer }- wrote: > > > Just remember that PHP isn't a true OOP language, so going OOP may not > > > >Please define "true OOP" language and provide a few exam

Re: [PHP] Silly OOP question

2004-11-14 Thread -{ Rene Brehmer }-
At 17:14 14-11-2004, Robert Cummings wrote: On Sun, 2004-11-14 at 09:30, -{ Rene Brehmer }- wrote: > Just remember that PHP isn't a true OOP language, so going OOP may not Please define "true OOP" language and provide a few examples that meet your criteria. Then show how other examples like PHP fai

Re: [PHP] Silly OOP question

2004-11-14 Thread Klaus Reimer
Brent Clements wrote: or should I create a "projects.class" file that has a function called "getProjects". Yes, that's a possibility. You can even create more stuff in this Projects class like createProject, removeProject and stuff like this. If these tasks are pretty static and you don't need m

Re: [PHP] Silly OOP question

2004-11-14 Thread Robert Cummings
On Sun, 2004-11-14 at 09:30, -{ Rene Brehmer }- wrote: > Just remember that PHP isn't a true OOP language, so going OOP may not Please define "true OOP" language and provide a few examples that meet your criteria. Then show how other examples like PHP fail to meet your true OOP criteria. Don't fo

Re: [PHP] Silly OOP question

2004-11-14 Thread -{ Rene Brehmer }-
At 12:34 14-11-2004, Brent Clements wrote: I've always wondered this about OOP and maybe you guys can answer this question. I'm writing a php application and I'm trying to figure out the correct way to right the oop part of this application. for instance. I have a "project.class" file that has

[PHP] Silly OOP question

2004-11-14 Thread Brent Clements
I've always wondered this about OOP and maybe you guys can answer this question. I'm writing a php application and I'm trying to figure out the correct way to right the oop part of this application. for instance. I have a "project.class" file that has functions for dealing with individual proj