Re: Object oriented



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.


.



Relevant Pages

  • Re: Object Rexx to become Open Source
    ... VBScript is less likely to result in overly ... If you call it a beginner's language because beginner's are able to pick it ... as provided by some other scripting languages, I have found it a significant ... Microsoft even use PERL internally. ...
    (microsoft.public.scripting.wsh)
  • Re: newbie to scripting
    ... VBScript is a scripting language derived from Visual Basic. ... host programs interpret your program (a program with VBScript statements ... I am new to scripting and would like to learn more about WSH. ...
    (microsoft.public.scripting.wsh)
  • Re: Leaning vbscript
    ... These skills are a small part of the job, ... Conversation: Leaning vbscript ... Is VB scripting into a website normal practice? ...
    (microsoft.public.scripting.vbscript)
  • Re: Copying files based on date during logon
    ... Most of us will have deduced more about your scripting acumen from your ... Batch is more hands-on with the o/s than ... VBScript is the exact opposite - a general purpose programming environment ...
    (microsoft.public.windows.server.scripting)
  • Re: Scripting a black screen, possible?
    ... but how about using an hta file which contains your VBScript ... >>> possible to get acces on Windows XP until Autostart has startet my ... >>> I thought to set the screen black during this time. ...
    (microsoft.public.scripting.vbscript)