As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Is it just ability to switch databases seemlessly and forming queryies independent of the database ?
or something else is also needed to be called ORM ?
I mean django is supplied with a ORM !
We can use multiple databases with Wordpress so can we say that wordpress also has a ORM ?
I think I explained myself well..
No, because ORM means that the language constructs (like objects and methods) are mapped to tables and fields and procedures on the database somehow.
If you cannot use class instances (objects) directly for database interaction and still have to rely on creating your own SQL statements, you do not have a ORM.
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I'm looking for a database that provides access as SQLite or BerkeleyDB do: access through "in-process API calls". That would be for use in a desktop application.
Requirements:
can be linked to the desktop application (no separate process/server to be run)
document oriented, with query-able metadata/fields
indexing
persistent (disk storage)
C++ bindings
You have many alternatives, but I think that it will be difficult to find an database that meets your exact requirments
Some of the alternatives that comes to mind are HamsterDB, EJDB and FireBird. These can all be embedded into your application and provides C++ bindings.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
What would be the pros and cons of PostgreSQL and MySql with the QSqlDatabase class in Qt? Is there a preferred database when it comes to connecting remotely with C++? These are currently my only options, should I seek another?
QSqlDatabase is database-agnostic. There may be a few slight differences in how QtSql classes behave with the different drivers, but it's still possible to write database-agnostic applications.
I think you really should pick what you're most familiar with, unless there's a compelling reason to favor one in particular.
I like PostgreSQL the most because
works for me
is suitable for my projects
is mature and reliable
documentation is fantastic
community is awesome
for me it's easier to setup
and yes, I'm a deeply fanatized PostgreSQL fanboy.
In some specific scenarios it might make sense to use SQLite instead.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm looking for a simple Django app that restricts registration to users who have an invite code (for running a private beta). I'm using django-registration, so something that plays nicely with it would be great.
Looks like there are several viable options:
django-inviting
django-privatebeta
django-invite
Given the wealth of options, I'm wondering if people have found a particular app more flexible and/or easier to work with than the others? Are there other apps that I should be aware of?
You miss django-invitation which is really quickly integrated with django-registration.
I just had to hack it a bit to include the name of the inviter in the email message.
django-invitation is a good choice among the four.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Where can I find custom themes for Django's admin app, other than django-grappelli?
There is a wiki chart displaying a large list of admin interfaces, with a contrast of features, maintenance, etc...
http://djangopackages.com/grids/g/admin-interface/
I recommend you Admin Tools. I like it because it's highly customizable and well documented.
Well, other than grapielli, there is also a mobile admin, for the iPhone:
http://github.com/jezdez/django-mobileadmin
sorl-curator
http://www.google.com/search?client=safari&rls=en&q=sorl-curator&ie=UTF-8&oe=UTF-8
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
Is there a tool for C++ that is at least remotely similar to Rails migrations?
I think anything "similar" to Rails migrations is going to be somewhat specific to an ORM or other framework - the ease of use comes from the fact that you migrate from one object model to another.
Since C++ doesn't have an ORM or any other built-in way of specifying a database schema, I don't see how there can be a schema migration tool "for C++". Perhaps if you specify what tools you're using, the question will be more eye-catching for those who know what's available.
If you can express your migration purely in terms of the database tables, then you could use a migration tool that's independent of any ORM. But then you wouldn't actually need it to be in C++, since it's just issuing SQL (or whatever database) commands. There are plenty of tools around (maybe search "database schema migration"), although I'm afraid I'm basically ignorant in this area, and can't recommend one. As long as you have an adaptor to your database, you could even use Rails...