ArticleslgStudy

computer science

Kexi

Kexi is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Kexi rather than just read about it. In short: Kexi is a visual database applications creator tool by KDE, designed to fill the gap between spreadsheets and database services requiring more sophisticated development. Kexi can be used for designing and implementing databases, data inserting and processing, and performing queries.

Kexi — main illustration
Kexi — illustration

Key takeaways

  • Kexi belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Kexi to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Kexi from memory before moving on to harder problems.

Reference excerpt

Kexi is a visual database applications creator tool by KDE, designed to fill the gap between spreadsheets and database services requiring more sophisticated development. Kexi can be used for designing and implementing databases, data inserting and processing, and performing queries. It is developed within the Calligra project but is released separately.

Kexi works natively under Linux/Unix (FreeBSD, OpenBSD, NetBSD, Solaris) and Microsoft Windows operating systems. Older versions were available for Mac OS X (using Homebrew). macOS version was not released but can be compiled. Kexi and its frameworks are available under the LGPL. User and developer documentation is available under the GFDL.

History Kexi development started in 2002. OpenOffice Polska (currently OpenOffice Software) contributed to it largely between 2003 and 2008. Although Kexi was a KOffice project since the beginning, the first release was independent of KOffice. The first public beta release of Kexi was version 0.1 beta 2 on January 22, 2004 (2004-01-22). The first stable release was 0.9 – made available on May 31, 2005 (2005-05-31). A Kexi version with a lower version number – 0.8 – was shipped afterward with KOffice 1.4 on June 21, 2005 (2005-06-21). Further stable versions of Kexi were released with KOffice 1.5 and 1.6 in 2006. From 2004 until 2007 OpenOffice Polska made commercial Kexi releases using release years as version numbers. The first release was Kexi 2004 LT on November 24, 2004 (2004-11-24) based on Kexi 0.1. The commercial releases concluded with Kexi 2007.1 in March 2007 based on Kexi 1.1.2/1.1.3. The porting process to KDE Platform 4 took rather long and was finished with the release of KOffice 2.2 in May 2010. Among its new features was a new Report Designer plug-in to replace the KOffice 1.6 stand-alone reporting application Kugar. Kexi 2.3 was released with KOffice 2.3 on December 31, 2010 (2010-12-31) with – among other features – a reworked Project Navigator pane. After the KOffice 2.3 release, Kexi moved into Calligra Suite and both were released as version 2.4 on April 11, 2012 (2012-04-11). The most user-visible change was a redone main user interface dubbed Modern Menu. Since version 3.1 Kexi again officially supports Microsoft Windows.

Features Kexi users can choose from various database engines that can be utilized for data and design storage. By default built-in SQLite 3 database engine is used that eliminates a need for installation and maintenance of a database server. For more advanced use Kexi can use database servers such as MySQL/MariaDB, PostgreSQL and Microsoft SQL Server/Sybase. Database servers have to be accessible to user on the same or any other computer. All database objects – tables, queries, forms, etc. – are stored in tables of a single database (either file or server), making it easy to share data and design. Resulting database can be to certain extent manipulated using dedicated database tools. In Kexi, such data and definition of objects is known as project. Kexi Table designer allows users to design tables, which can then be created and opened for data entry, sorting and searching. Standard data types are available common to supported database engines. Among them is "Object" data type allowing to store images of many types. Queries can be designed visually or in built-in dedicated SQL editor, then they can be executed. There is support for parametrized queries and searching through the data. The scope of the SQL supported is limited compared to raw database engines (MySQL and even SQLite) but the SQL dialect supported by Kexi is (by design) common to all supported database engines. This can simplify switching between engines. Forms can be created to provide a custom interface to data. There is a designer, and a previewer capable of data entry. Wide range of graphical elements can be used including web browser and world map viewer. Simple actions can be assigned to form buttons. Kexi 2.2 – the first release of the second generation – introduced full-featured report designer, generator and previewer. Simple formulas can be assigned to report elements. The application can also import data (tables) from external data sources (MySQL, PostgreSQL, Microsoft Access files, dBASE files) and export data to MySQL or PostgreSQL servers. There is rich support for importing and exporting CSV files. The same CSV format can be used for copying and pasting clipboard data so the data can be easily transferred to/from applications like spreadsheets or word processors. In a special User Mode Kexi allows users to switch off all commands related to editing project's design.

Experimental features Kexi offered experimental scripting support using Python and Ruby in version 2. Scripting since version 3 is planned to be based on JavaScript. Handling Oracle databases was available in versions 1.x but is disabled in versions 2.x.

See also

Comparison of office suites LibreOffice Base

References

Illustrations

Kexi illustration
Kexi illustration
Kexi: Kexi 3.0 user interface
Kexi 3.0 user interface

Worked examples

Example 1 — a first encounter with Kexi

Start with the simplest possible case. Write down what Kexi claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Kexi before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Kexi ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Kexi

In research
Kexi appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Kexi in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Kexi is common in secondary-school and first-year university syllabi. It links to neighbouring topics Calligra Suite, Cross-platform free software, Desktop database application development tools, so understanding it makes those chapters shorter.
In everyday life
Look for Kexi outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Kexi” →

How to study Kexi in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Kexi means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Kexi out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Kexi in simple terms?

Kexi is a visual database applications creator tool by KDE, designed to fill the gap between spreadsheets and database services requiring more sophisticated development. Kexi can be used for designing and implementing databases, data inserting and processing, and performing queries.

Why does Kexi matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Kexi?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Kexi.

Tags

  • Calligra Suite
  • Cross-platform free software
  • Desktop database application development tools
  • Free database management systems
  • Free software programmed in C++
  • Software using the GNU Lesser General Public License

Keep exploring