Re: Object oriented
- From: "mayayana" <mayaXXyana1a@xxxxxxxxxxxxxxxx>
- Date: Tue, 22 Jan 2008 09:45:54 -0500
There's also this:
http://en.wikipedia.org/wiki/Object_oriented_programming
Personally I find that many of these terms
seem to fade from my memory shortly after
I've read the definitions. The part about
encapsulating code into objects which then
"expose" options is clear. One can see that
structure in Java and .Net code. The rest
seems to consist of basic premises about the
best design for those objects. (But don't take
my word for it. I'm still trying to figure out what
sort of mind made up the general conceptual
structure for OO prgramming. I don't find it either
intuitive or easily graspable.)
But for scripting
what you really need to grasp is COM objects.
And you can also use classes. If you have
a feel for classes then you have a feel for COM
objects. They're just registered classes in
compiled binaries.
One important point is that
VBScript has happened, to a great extent, by accident.
MS created it to compete with Nescape's javascript
during the "browser wars". Then system administrators
were complaining that they needed a GUI update to
replace the limited options of DOS. So MS added the
ability to access COM objects with CreateObject,
and suddenly VBS was an interpreted programming
language that could be expanded into any area where
a COM object could take it. (Thus browser attacks
were born.)
Then VBA was used in Office. And VBScript can be
used in ASP. And if you use script in an HTA file rather
than an HTML file, you can write a full-scale program.
And many system administrators use a great deal of
WMI, which has nothing to do with scripting directly.
So it can get confusing figuring out what VBScript is.
.
- References:
- Object oriented
- From: Adam
- Re: Object oriented
- From: mr_unreliable
- Re: Object oriented
- From: Adam
- Re: Object oriented
- From: Paul Randall
- Re: Object oriented
- From: Adam
- Object oriented
- Prev by Date: Re: mkdir in wshshell.run
- Next by Date: Re: Displaying Nested groups SMTP
- Previous by thread: Re: Object oriented
- Next by thread: Re: Object oriented
- Index(es):
Relevant Pages
|