Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #71538

Re: SQLAlchemy - web framework ?

From Ben Finney <ben@benfinney.id.au>
Subject Re: SQLAlchemy - web framework ?
Date 2014-05-14 17:45 +1000
References <17149f49-bb71-4c97-9d07-d80766b93865@googlegroups.com> <roy-60A628.21042312052014@news.panix.com> <d738b225-cf28-4114-a565-58a60919fe42@googlegroups.com> <roy-EF4FFA.07112913052014@news.panix.com> <718e12ee-8f6c-4d21-8e98-14355c154470@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.9991.1400053529.18130.python-list@python.org> (permalink)

Show all headers | View raw


flebber <flebber.crue@gmail.com> writes:

> One of the main parts that is tripping myself up is that I need to
> consistently import xml files into my database.

XML documents represent a hierarchical tree of data. Relational
databases are not good at representing hierarchical documents.

So I don't know what you mean by “consistently import xml files into my
database”. What are you expecting the result to be?

You won't have sensible relational records as a result. At best, you'll
have XML blobs in single SQL fields.

> Looking to find the best support and methodologies to do this, that is
> one of the reasons I am looking at SqlAlchemy.

I've asked you about using Django with SQLAlchemy; it's not clear why
you don't think that is suitable.

So I have the same question: What makes you think a database API is
going to solve the problem, and what makes you think SQLAlchemy in
particlar is the right solution?

More generally: You appear to have already decided what the solution is,
without making clear to us what the problem is. Advice is going to be
mis-matched until you tell us more about what problem you're trying to
solve.

-- 
 \             “The Way to see by Faith is to shut the Eye of Reason.” |
  `\                                                —Benjamin Franklin |
_o__)                                                                  |
Ben Finney

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

SQLAlchemy - web framework ? flebber <flebber.crue@gmail.com> - 2014-05-12 16:34 -0700
  Re: SQLAlchemy - web framework ? Iuri <iurisilvio@gmail.com> - 2014-05-12 21:44 -0300
  Re: SQLAlchemy - web framework ? Ben Finney <ben@benfinney.id.au> - 2014-05-13 10:55 +1000
  Re: SQLAlchemy - web framework ? Roy Smith <roy@panix.com> - 2014-05-12 21:04 -0400
    Re: SQLAlchemy - web framework ? flebber <flebber.crue@gmail.com> - 2014-05-12 22:28 -0700
      Re: SQLAlchemy - web framework ? Roy Smith <roy@panix.com> - 2014-05-13 07:11 -0400
        Re: SQLAlchemy - web framework ? flebber <flebber.crue@gmail.com> - 2014-05-14 00:27 -0700
          Re: SQLAlchemy - web framework ? Ben Finney <ben@benfinney.id.au> - 2014-05-14 17:45 +1000
  Re: SQLAlchemy - web framework ? Sayth Renshaw <flebber.crue@gmail.com> - 2014-05-13 11:29 +1000
  Re: SQLAlchemy - web framework ? Amirouche Boubekki <amirouche.boubekki@gmail.com> - 2014-05-23 14:48 +0200

csiph-web