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


Groups > comp.lang.python > #71538

Re: SQLAlchemy - web framework ?

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.031
X-Spam-Evidence '*H*': 0.94; '*S*': 0.00; 'tree': 0.05; 'hierarchical': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'api': 0.11; 'django': 0.11; 'expecting': 0.16; 'finney': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'sqlalchemy': 0.16; 'subject: ?': 0.16; 'trying': 0.19; 'result.': 0.19; 'import': 0.22; 'header :User-Agent:1': 0.23; "i've": 0.25; 'header:X-Complaints-To:1': 0.27; 'appear': 0.29; 'xml': 0.29; 'asked': 0.31; 'franklin': 0.31; 'question:': 0.31; 'relational': 0.31; 'writes:': 0.31; 'problem': 0.35; 'advice': 0.35; 'representing': 0.36; 'clear': 0.37; 'represent': 0.38; 'ben': 0.38; 'to:addr:python-list': 0.38; 'files': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'is.': 0.60; 'solve': 0.60; 'tell': 0.60; 'eye': 0.61; "you're": 0.61; "you'll": 0.62; 'making': 0.63; 'myself': 0.63; 'decided': 0.64; 'more': 0.64; 'skip:\xe2 10': 0.65; 'records': 0.73; 'received:125': 0.84; 'faith': 0.91; '\xe2\x80\x9cthe': 0.91
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Ben Finney <ben@benfinney.id.au>
Subject Re: SQLAlchemy - web framework ?
Date Wed, 14 May 2014 17:45:05 +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>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 8bit
X-Gmane-NNTP-Posting-Host jigong.madmonks.org
X-Public-Key-ID 0xAC128405
X-Public-Key-Fingerprint 517C F14B B2F3 98B0 CB35 4855 B8B2 4C06 AC12 8405
X-Public-Key-URL http://www.benfinney.id.au/contact/bfinney-pubkey.asc
X-Post-From Ben Finney <bignose+hates-spam@benfinney.id.au>
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)
Cancel-Lock sha1:D6osQf0EKYUYRDoAc0TdGD1RUoI=
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.9991.1400053529.18130.python-list@python.org> (permalink)
Lines 35
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1400053529 news.xs4all.nl 2960 [2001:888:2000:d::a6]:33504
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:71538

Show key headers only | 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