[Nitro] [OG] RFC uri structure

Dan North tastapod at gmail.com
Mon Nov 5 07:20:06 EST 2007


Perl uses a format called a DSN. Since there is already a convention, we
should try to adhere to that.

It looks roughly like: dbi:vendor:other-stuff, but I'm not sure of the
specifics.


On 11/3/07, George Moschovitis <george.moschovitis at gmail.com> wrote:
>
> I would say
>
> dbi-vendor...
>
> -g.
>
> On Nov 2, 2007 9:26 PM, Mark Van De Vyver <mvyver at gmail.com> wrote:
>
> > Hi Devs,
> > The Sequel/Datasets thread was ominously silent - nonetheless pushing
> > ahead.
> >
> > If you were able to start Og in the following way:
> > Og(uri)
> >
> > What would be the preferred uri format:
> > a) "dbi-<vendor>://user: pass at localhost
> > :9876/dbname#<vendor>driveroptions"
> > b) "dbi:<vendor>://user:pass at localhost
> > :9876/dbname#<vendor>driveroptions"
> > c) both
> > d) neither (please tell/suggest)
> >
> > Some notes:
> > - "DBI" and <vendor> would be case insensitive.
> > - Not all arguments are 'required'.  The following would work (assuming
> > (a)),
> > "DBI-mysql:///testdb"
> > and even
> > "dbi:///testdb"
> > In that missing arguments would employ the defaults as specific by the
> > settings in og.rb.
> >
> > Regards
> > Mark
> > _______________________________________________
> > Nitro-general mailing list
> > Nitro-general at rubyforge.org
> > http://rubyforge.org/mailman/listinfo/nitro-general
> >
>
>
>
> --
> http://me.gr
> http://joy.gr
> http://cull.gr
> http://nitroproject.org
> http://phidz.com
> http://joyerz.com
> _______________________________________________
> Nitro-general mailing list
> Nitro-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/nitro-general
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/nitro-general/attachments/20071105/f4b619a1/attachment.html 


More information about the Nitro-general mailing list