You are here: Re: Namespaces? Why? « PHP Programming Language « IT news, forums, messages
Re: Namespaces? Why?

Posted by Steve on 10/03/07 01:44

"Jim Carlock" <anonymous@127.0.0.1> wrote in message
news:4702d105$0$9559$4c368faf@roadrunner.com...
> "Steve" wrote...
> : btw, you don't need to use DAO.OpenDatabase unless you have
> : another class with the same interface...which is 'collision'.
> : even though you specify DAO.OpenDatabase and avoid the
> : collision, it only resembles namespaces here because you are
> : trying to acheive the same thing as a namespace. however, i
> : have to keep saying, they are NOT the same.
> :
> : make sense?
>
> Right. I knew that I did not need DAO.<object> or DAO.<method>
> but it makes the code more readable, especially since ADODB uses
> alot of the same objects and methods. DAO works great with alot
> of things... a heck of a lot better than ADODB (when working with
> MicroSoft Access, Excel, et al). I learned to use DAO and it I if
> it works for me I see no reason to use anything else. <shrug>
>
> ADODB left a really really bad taste in my mouth at one time. I
> don't want to go into that. That was a mess.
>
> If I can only figure out how to get PHP to link/connect to an
> ActiveX DLL without use any of that CreateObject syntax...

you'd really be shooting yourself in the foot to use a dll for db access.
why not use the built-in odbc functionality?

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация