-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi, I wonder if anyone can help out here, I'm trying to understand how use an objects properties across multiple non class pages,but I can't seem to be able to get my head around everything i have tried so far.
For example a class called person;
class person {
static $name;
}
but i have…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi!
I want to ask you to provide me with some articles (maybe books), which you possibly have found very convincing criticising the OOP methodology.
I have read some in the WWW on this topic and I didn't really find a 'definitive demotivator'.
It's not much about my personal attitude to the OOP…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Im used to java and creating UML.. and i was wondering how can PHP be OOP, the objects live only until you make a request.. then they destroy, so if im using a database is useless to create a class and add the members (variables) to the class, they will be useless.. i cant pass the main system object…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I know this is a silly question but i don't understand Access Modifiers in OOP.
Why do we make for example in JAVA instance variables private and then use public getter and setter methods to access them? I mean whats the reasoning/logic behind this?
You still get to the instance variable but why use…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Frameworks being all OOP, would it not be wise to go into frameworks without having a solid background in OOP? I can write basic classes but nothing too fancy or abstract.
How much should I know of OOP before moving to frameworks?
Right now I am PHP Object-Oriented Programming to learn OOP.
>>> More
-
as seen on Super User
- Search for 'Super User'
I have a dual boot (Ubuntu 12.04 and Windows 8) system. Both systems have access to an NTFS "DATA" partition which contains all my images, documents, music and some application data like Chrome and Thunderbird Profiles which used by both OS.
Everything was working fine in my Dual boot Ubuntu/Windows…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
Hello,
i have a situation with many trac instances. They all have the same structure in the filesystem.
PATH/trac1
PATH/trac2
PATH/trac3
i have this configuration
<Location /trac/trac1>
SetHandler mod_python
PythonInterpreter main_interpreter
PythonHandler trac.web.modpython_frontend…
>>> More
-
as seen on West-Wind
- Search for 'West-Wind'
I love dynamic functionality in a strongly typed language because it offers us the best of both worlds. In C# (or any of the main .NET languages) we now have the dynamic type that provides a host of dynamic features for the static C# language. One place where I've found dynamic to be incredibly useful…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi,
I'm creating a COM dll and it will be loaded by VBA. However, I noticed that for every excel instance (workbook), a new COM object is loading to memory. But I need to maintain single COM state irrespective of number of Excel instances exists.
Please help me achieve this purpose .
Thank you
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have a simple inheritance heirarchy with MyType2 inheriting from MyType1.
I have an instance of MyType1, arg, passed in as an argument to a method. If arg is an instance of MyType2, then I'd like to perform some logic, transforming the instance. My code looks something like the code below.
Having…
>>> More