Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!newsfeed.eweka.nl!eweka.nl!feeder3.eweka.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'oct': 0.02; 'javascript,': 0.05; 'block.': 0.09; 'too).': 0.09; 'subject:python': 0.11; 'am,': 0.12; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'stumbling': 0.16; 'wrote:': 0.16; 'received:209.85.210.174': 0.18; 'received:mail- iy0-f174.google.com': 0.18; "haven't": 0.20; 'header:In-Reply- To:1': 0.22; 'code': 0.25; 'remote': 0.28; 'thu,': 0.28; 'server': 0.29; '27,': 0.29; 'message-id:@mail.gmail.com': 0.29; 'concern.': 0.30; 'this.': 0.32; 'there': 0.33; 'to:addr:python-list': 0.33; 'but': 0.37; 'received:google.com': 0.38; 'received:209.85': 0.38; 'subject:: ': 0.39; 'to:addr:python.org': 0.39; 'confirmed,': 0.84; 'technically': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=p/0oFnH+cGrkPwDMZiBg0MXq0hDquxYrqmWQ5qyVMXI=; b=Qz73nj3kCGtrNBM40bhABd5HByNBzeaEqs2lq1sY3uP9hV7AH9IynXuPYj2HScHtdH x/ngUYK648QLi65+89w9WSGUFgtEVAzVpAUG5fbJCxsVWTFvCas7NAY6Yqz+xSydYpwJ DTUNNHz4UNGa4v7qjzYdQyc3EjRTRlQozfA1M= MIME-Version: 1.0 In-Reply-To: <0604E20B5F6F2F4784C9C8C71C5DD4DD2FDF126AA8@EMARC112VS01.exchad.jpmchase.net> References: <4EA6BEC3.5010206@shopzeus.com> <4EA6E4DA.2080307@shopzeus.com> <0604E20B5F6F2F4784C9C8C71C5DD4DD2FDF126AA8@EMARC112VS01.exchad.jpmchase.net> Date: Thu, 27 Oct 2011 14:05:33 +1100 Subject: Re: webapp development in pure python From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 12 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1319684737 news.xs4all.nl 6897 [2001:888:2000:d::a6]:46502 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:15020 On Thu, Oct 27, 2011 at 8:47 AM, Prasad, Ramit wrote: > You technically can connect to databases from JavaScript. It is a terrible idea, but achievable. Not really sure how it would get "compiled" into JavaScript, so it is possible that is the stumbling block. > http://stackoverflow.com/questions/857670/how-to-connect-to-sql-server-database-from-javascript > Strongly recommend against this. I haven't confirmed, but by the look of it the code there is IE-only and MS SQL Server only. Also, remote database access is a major security concern. I would recommend keeping it all on the server (more efficient that way, too). ChrisA