Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeder.news-service.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'completeness': 0.05; 'javascript,': 0.05; 'mvc': 0.07; 'wxpython': 0.07; 'python': 0.08; 'block.': 0.09; 'subject:python': 0.11; 'class,': 0.15; '712': 0.16; 'currencies': 0.16; 'disclaimers': 0.16; 'disclaimers,': 0.16; 'from:addr:jpmorgan.com': 0.16; 'hacked': 0.16; 'privilege,': 0.16; 'received:155.180': 0.16; 'received:159.53': 0.16; 'received:159.53.110': 0.16; 'received:169.70': 0.16; 'received:169.70.190': 0.16; 'received:172.18.0': 0.16; 'received:bankone.net': 0.16; 'received:exchad.jpmchase.net': 0.16; 'received:jpmchase.com': 0.16; 'received:jpmchase.net': 0.16; 'received:svr.bankone.net': 0.16; 'securities,': 0.16; 'side.': 0.16; 'stumbling': 0.16; 'url:disclosures': 0.16; 'url:jpmorgan': 0.16; 'advance': 0.18; 'developer,': 0.18; 'to:2**1': 0.20; 'header:In-Reply-To:1': 0.22; 'compiled': 0.23; 'interface': 0.23; 'received:169.254.1': 0.23; 'to:name:python-list@python.org': 0.23; 'code': 0.25; 'framework': 0.28; 'server': 0.29; 'theoretical': 0.29; 'module': 0.30; 'received:155': 0.30; 'received:159': 0.30; 'usually': 0.32; 'app': 0.33; 'to:addr:python-list': 0.33; 'received:169': 0.34; 'received:169.254': 0.34; 'received:172.18': 0.34; 'phone:': 0.35; 'data,': 0.35; 'charset:us-ascii': 0.36; 'header:Received:8': 0.36; 'doing': 0.36; 'accuracy': 0.37; 'query': 0.37; 'using': 0.37; 'but': 0.37; 'two': 0.37; 'should': 0.38; 'subject:: ': 0.39; 'either': 0.39; 'user': 0.39; 'to:addr:python.org': 0.39; 'personal': 0.60; 'more': 0.60; 'your': 0.61; 'subject': 0.61; 'expert': 0.62; 'projects': 0.63; 'information,': 0.65; 'legal': 0.70; 'url:email': 0.74; 'sale': 0.75; 'bank': 0.76; 'connection.': 0.77; 'investment': 0.77; 'purchase': 0.84; '>some': 0.84; 'something.': 0.84; 'technically': 0.93 X-DKIM: Sendmail DKIM Filter v2.8.4 sj1.jpmchase.com p9QLlCOW018432 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=jpmorgan.com; s=smtpout; t=1319665632; bh=RojdhN3Ypcpd/WfKwqQv50kWATbEfqeL6AFQj1XQj1Y=; h=From:To:Date:Subject:Message-ID:References:In-Reply-To: Content-Transfer-Encoding:MIME-Version:Content-Type; b=CYPtG4DJzTXMaiA9w/PxECrkEsv3pcFWPku2TEE6/FbCfvOebXqhxIk0iVEvka2Nq BHfHpqbW3r9TufAl1OYvZGdgVqHBEF6MGPD3ssjJ2X/XOBkiT0P2QSFNRG92Vy0cJj KUrVKL8G1Zo/Hi1sdVLxbl+011VNXvAogKZFZ3NY= From: "Prasad, Ramit" To: Laszlo Nagy , "python-list@python.org" Date: Wed, 26 Oct 2011 17:47:03 -0400 Subject: RE: webapp development in pure python Thread-Topic: webapp development in pure python Thread-Index: AcyTM+nv82xQ20XSQQ69MMGichI4UQA8xe7Q References: <4EA6BEC3.5010206@shopzeus.com> <4EA6E4DA.2080307@shopzeus.com> In-Reply-To: <4EA6E4DA.2080307@shopzeus.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-cr-hashedpuzzle: AASj DMcU DUyD Ecku E0x1 G0S1 IUwR Jmt3 J+pV KVRd K7cd Na+R NcwT OGyB Qp+T TKfu; 2; ZwBhAG4AZABhAGwAZgBAAHMAaABvAHAAegBlAHUAcwAuAGMAbwBtADsAcAB5AHQAaABvAG4ALQBsAGkAcwB0AEAAcAB5AHQAaABvAG4ALgBvAHIAZwA=; Sosha1_v1; 7; {E190BC09-EB87-47F3-B2E3-36D649B8D832}; cgBhAG0AaQB0AC4AcAByAGEAcwBhAGQAQABqAHAAbQBvAHIAZwBhAG4ALgBjAG8AbQA=; Wed, 26 Oct 2011 21:47:04 GMT; UgBFADoAIAB3AGUAYgBhAHAAcAAgAGQAZQB2AGUAbABvAHAAbQBlAG4AdAAgAGkAbgAgAHAAdQByAGUAIABwAHkAdABoAG8AbgA= x-cr-puzzleid: {E190BC09-EB87-47F3-B2E3-36D649B8D832} acceptlanguage: en-US Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-DLP-FWD: Yes Content-Type: text/plain; charset="us-ascii" 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: 26 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1319665643 news.xs4all.nl 6953 [2001:888:2000:d::a6]:55521 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:15015 I am not really an expert web developer, so this is just my two cents=2E=0D= =0A=0D=0A> My Python module would connect to a database server and query = =0D=0A>some data, then display it in a grid=2E This cannot be compiled into= =0D=0A>javascript because of the database server connection=2E =0D=0A=0D= =0AYou technically can connect to databases from JavaScript=2E It is a terr= ible idea, but achievable=2E Not really sure how it would get "compiled" in= to JavaScript, so it is possible that is the stumbling block=2E=0D=0Ahttp:/= /stackoverflow=2Ecom/questions/857670/how-to-connect-to-sql-server-database= -from-javascript=0D=0A=0D=0A>I would have to create the server side part se= parately, the user interface separately, and hand-code the communication be= tween the widets and the server side=2E=0D=0A=0D=0AAs far as I know, this i= s the Right way to do a web/GUI apps; you may want to read about the MVC de= sign pattern=2E=0D=0A=0D=0A>I would like to use this theoretical web based = framework just like pygtk or wxPython=0D=0A=0D=0AEven in wxPython/pygtk, yo= u should be using MVC pattern=2E Usually if your app is one class, you eith= er have a trivial application or you are doing it wrong=2E Of course, that = really applies to larger projects more than hacked together code for person= al use=2E=0D=0A=0D=0AApologies in advance if I misunderstood something=2E= =0D=0A=0D=0ARamit=0D=0A=0D=0A=0D=0ARamit Prasad | JPMorgan Chase Investment= Bank | Currencies Technology=0D=0A712 Main Street | Houston, TX 77002=0D= =0Awork phone: 713 - 216 - 5423=0D=0A=0D=0A--=0D=0A=0D=0A=0D=0A=0D=0AThis e= mail is confidential and subject to important disclaimers and=0D=0Aconditio= ns including on offers for the purchase or sale of=0D=0Asecurities, accurac= y and completeness of information, viruses,=0D=0Aconfidentiality, legal pri= vilege, and legal entity disclaimers,=0D=0Aavailable at http://www=2Ejpmorg= an=2Ecom/pages/disclosures/email=2E