Tommy, It depends on the database you are using. All databases (that I know of) take multiple access into account, so you shouldn't worry about concurrency until you have a website with more than one request per second. With your python app, you can use the normal database driver to access your database. For example, if you have an sqlite database, then use the sqlite3 module. In web2py, setup a model as described on the DAL page.
About pages looking different, this is a nasty business. The short story is, Internet Explorer is less standards compliant and has more quirks to it than web browsers like Firefox and Safari. Since the majority of web users still use IE, we can't ignore IE's stupidity. That leaves us with three ways of dealing with this scenario: 1) Figure it out. Tinker with your design until you figure out why IE looks different and see if you can work around it (www.alistapart.com is a good website to read for this approach). This is the most flexible approach but also requires the most amount of time. 2) Use a pre-built layout or a CSS library that already works across browsers. (This is what I do. I use YUI... developer.yahoo.com/yui ) 3) Use a simpler layout that doesn't need pixel-perfect rendering. I haven't see this discussed on this list, but it seems to me that the web2py default templates use this paradigm. Two more things to consider on page layout...did you know that browsers behave differently based on what mode they are in? IE can be in "Quirks Mode" or "Standards Mode" depending on what DOCTYPE header you send to it. A List Apart talks more about this here http://www.alistapart.com/articles/doctype/ . Also, if you choose to render your pages in Standards Mode, make sure your pages validate. Use the Web Developer Toolbar for Firefox to help you with this (Tools -> Validate Local HTML). Cheers, tim tommy wrote: > How does web2py application to access the database in other > application? We have three applicaitons, two web applications > developed by web2py, and another application developed by python. > Three applications try to access one database. I don't know how to > setup the database in which application. Can someone help me? > > By the way, here is my another issue. My web pages look good when I > use firefox, but when I use IE to browse the pages, the pages looks > mess. Any idea? > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---
begin:vcard fn:Timothy Farrell n:Farrell;Timothy org:Statewide General Insurance Agency;IT adr:;;4501 East 31st Street;Tulsa;OK;74135;US email;internet:[EMAIL PROTECTED] title:Computer Guy tel;work:(918)492-1446 url:www.swgen.com version:2.1 end:vcard