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...
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 am a beginner programmer not just in django development. Its getting more and more complicated and can't keep working solo.
Was wondering if its possible to find a django mentor here(stackoverflow), so many great developers here.
thank you.
This question will most likely get closed, but my suggestion would be this:
Learn these technologies in this order:
HTML
CSS
JavaScript
SQL
A server-side language. Python is probably the easiest to get started with. Check out Dive into Python
Call me old-fashioned, but I find that paper books are still easier to learn from than digital. For me, they are simply more tactile, and faster. If you just want to dive in head first, and you want to use Django, start with The Definitive Guide to Django, follwed by Practical Django Projects, then Django Testing finishing up with Pro Django.
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.
After searching seems like the only SQL database that is free and can be embedded in a C/C++ application is PostgreSQL.
There are other solutions with a permissive license ? How hard is writing this from the scratch in C/C++ so i can code my own stuff ?
I suppose the standard answer to this question is sqlite.
What OS are you targeting? For cross-platform use I can't suggest anything but sqlite. If you're targeting windows only, then there is also Microsoft SQL server compact edition to consider.
There is a free database BerkeleyDB from Oracle. It is available as a C Source code. I used the database with VxWorks. with which OS you want to work with? Do mention these to get correct solutions.
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.
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.
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've been trying to find a django wiki app, which has the following -
1.) WYSIWYG
2.) Attach files
3.) Revisions
I see moinmoin, but before going all in, wanted to see what you all have used.
List of Django Wiki projects:
http://djangopackages.com/grids/g/wikis/
The two leading candidates I can find are:
django-wikiapp
django-wiki
django-wikiapp looks a little more mature, and definitely supports revisions but does not seem to support attachments. WYSIWYG wouldn't be too tough to implement using something like TinyMCE or CKEditor. Attachments may be the sticking point.
There is also https://github.com/pinax/django-wakawaka which used in the pinax project. Editing attachments is not supported by the wiki itself but it is suggested to use django-attachments for this use case :)