I am fairly experienced with web design and programming, C, C++ and a little java (used it to build some small GUI).

I am trying to work with Python, and I am faced with some technical structuring issues.

Here is a description of what I want to do

1. I want to build a standalone application that will be deployed in a company with several computers connected over a local network.

2. The application is to communicate with a database. (One database shared by applications in all computers)

3. Only one of the computers will have the database installed (more like client server relationship in web)

So here is my question

1. Can the application be written in such a way that when it is installed on a new computer, it installs the database(mysql or sqlite etc) without the need to first install database?

2. And is it possible that the content of the database can only be seen by the application?

3. I am a little bit not sure if the structure as described above is the best way to go. Please advice me on this.

I would be glad if pointed to a literature online on structuring standalone applications.

Thank you for the help

3

... when it is installed on a new computer, it installs the database 
(mysql or sqlite etc) without the need to first install database?

Yes, but I would suggest, don’t.

Install the database separately (and only once) on a known machine.
Then provide the name/ I.P.Address of that machine when installing all of the client applications.

If you don’t do this, then you run the risk of having the database created on the boss’ laptop and he’s out of the office most of the time!

... is it possible that the content of the database can only be seen by the application?

Yes, up to a point.

You can set up the database security so that the application uses a pre-defined account and credentials that the Users are never told about. If you want users to have “accounts” within the database, then set these up using your own tables, not as actual database accounts. It just makes everything easier – database permissions are only given to the “application” account, not to individual users, which means there’s zero overhead of managing all those user accounts and, if you want these users to have passwords, then you always have a working password-reset mechanism (how’s that going to work if a user can’t connect to the database to reset their password because they’ve forgotten their password?).

But, as always, security is only “so good”; anything that can be built can be broken.

All that said, many client applications with a single, central database is definitely the way to go.

0

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật