Re: static or not?



iamfractal@xxxxxxxxxxx wrote:
> Hi, Thufir,
....

> If Driver were a class of static methods, then Databse would now need
> a dependency on the concrete class Driver. And as Driver only controls
> the GUI, then if Database wants to output to a text file, it must have
> some knowledge of other functionality that writes its output to that
> medium.

right, follow you there.

> If Driver were a singleton, however, then, as mentioned, it could
> declare an interface (View) that is registered in a Registry that is
> known to Database. But all the other means of outputting data could
> also register that same interface to implement functionality for their
> own, specific medium. Thus TextView, FileView, and SocketView
> could all register their View interface in the Registry.
....

There'd be package "driverAndViews," or something, with the various
view interfaces package private; or, the views would be nested
within Driver. The view interfaces are registered in Registry to
enable Database to send that e-mail to the CEO.

How does the communication between Database and Registry work?

> Now, I'm just waiting to see, "No, that's not what I meant by Driver
....

heh, not at all, spot on :)



-Thufir

.



Relevant Pages

  • IRC Packets being generated. Dont know where from...
    ... *Registry value not found* ... Autorun entries from Registry: ... Enumerating ICQ Agent Autostart apps: ... RAS Asynchronous Media Driver: System32\DRIVERS\asyncmac.sys (manual ...
    (microsoft.public.security.virus)
  • hijack this startup - can someone tell me the hack i am experienci
    ... *Registry value not found* ... Enumerating ICQ Agent Autostart apps: ... Intel82801 Audio Driver Install Service: ... Application Management: %SystemRoot%\system32\svchost.exe -k netsvcs (manual ...
    (microsoft.public.windowsxp.security_admin)
  • Re: BSOD Error 0x000000B8
    ... *Registry value not found* ... Enumerating ICQ Agent Autostart apps: ... ADI UAA Function Driver for High Definition Audio Service: ... Application Management: %SystemRoot%\system32\svchost.exe -k netsvcs ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: hijack this startup - can someone tell me the hack i am experienci
    ... | *Registry key not found* ... | *Registry value not found* ... | Autorun entries from Registry: ... | Intel82801 Audio Driver Install Service: ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Registry free DB Connection.
    ... What i want to do is the, connect to the DB without registry. ... We ship the database connection drivers with our product. ... paramters but still it takes the Driver info from registry. ...
    (comp.databases)