Page 22 - Phyton_GUIprogrammingwithTkinter
P. 22

P a ge  | 13


                              But, SQLite does not work this way and did not used server to operate. SQLite
                       database is  integrated with  the application  that accesses the database. The
                       applications interact with  the SQLite database read  and write directly from the
                       database files stored on disk. The following diagram illustrates the SQLite server-less
                       architecture:











                                        Figure 3.3: SQLite server-less architecture



                       c) Zero-configuration

                       We don’t need to install SQLite before using it. There is no server process that needs
                       to be configured, started, and stopped the server. SQLite also does not use any
                       configuration files.



                       d) Transactional
                       All transactions in SQLite are fully ACID-compliant. It means all queries and changes
                       are Atomic, Consistent, Isolated, and Durable. In other words, all changes within a
                       transaction take place completely or not at all even when an unexpected situation like
                       application crash, power failure, or operating system crash occurs.



               3.2.2  SQLite Data Types

                       The data type of a value in SQLite is associated with the value itself, not with its
                       container. Every value which is stored in a SQLite database has one of storage classes
                       based on the Table 3.1 below.
   17   18   19   20   21   22   23   24   25   26   27