On 7/3/07, adm <[EMAIL PROTECTED]> wrote:
>
> Russ,
>       I sure can try that. The problem is I haven't gone through the
> Django framework in details as such, which make me quite helpless
> while adding the support.

Thats fine. However, as fair warning - this is the first time that
Sybase support has been requested (compared to the regular requests
for MS SQL Server support), so I wouldn't expect to see Sybase support
any time soon.

> And that is becuase I am not proficient in Python. All I expect is
> there will be some wrapper classes for databsae interface, under which
> for perticular instance ( for a databse) implementation classes will
> be provided. Am I correct in this assumption?

Essentially, yes, although your terminology is very C++/Java, rather
than Python. Each database backend is a module; the correct module is
dynamically loaded based upon the settings file for a particular
project. The module exposes a number of methods that are used to
construct queries, etc.

For the most part, the backend module exploits the interface specified
by py-dbapi. If Sybase provides a good py-dbapi interface, you're most
of the way to providing Django support. Django requires a few extra
pieces, mostly to accomodate the eccentricities in SQL formats and
datatypes. However, these extra bits are generally pretty simple.

Admittedly, none of this helps you much if you're new to Python.
However, for the record, if you want a look at what a database backend
looks like, the code is in django.db.backends.*

> It may seem incorrect for you to talk on this without looking into
> code.

Well, I'm one of the Django core developers, and I've made plenty of
changes to the database backends over the years - so I'm fairly well
qualified to speak on the topic.

Yours,
Russ Magee %-)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to