- Creative Projects for Rust Programmers
- Carlo Milanesi
- 157字
- 2021-06-18 19:01:57
Project overview
In this chapter, we'll look at how to build a program that loads a JSON file and an XML file into three databases: a SQLite database, a PostgreSQL database, and a Redis key-value store. To avoid hardwiring the names and positions of the files and the database credentials into the program, we are going to load them from a TOML configuration file.
The final project is named transformer, but we'll explain this through several preliminary small projects:
- toml_dynamic and toml_static: These read a TOML file in two different ways.
- json_dynamic and json_static: These read a JSON file in two different ways.
- xml_example: This reads an XML file.
- sqlite_example: This creates two tables in a SQLite database, inserts records into them, and queries them.
- postgresql_example: This creates two tables in a PostgreSQL database, inserts records into them, and queries them.
- redis_example: This adds some data to a key-value store and queries it.
推薦閱讀
- Clojure Programming Cookbook
- Designing Machine Learning Systems with Python
- Instant Apache Stanbol
- Building a RESTful Web Service with Spring
- 劍指Offer(專項突破版):數(shù)據(jù)結(jié)構(gòu)與算法名企面試題精講
- Python神經(jīng)網(wǎng)絡(luò)項目實戰(zhàn)
- Android NDK Beginner’s Guide
- Solr Cookbook(Third Edition)
- MySQL入門很輕松(微課超值版)
- Red Hat Enterprise Linux Troubleshooting Guide
- Everyday Data Structures
- C語言程序設(shè)計實訓(xùn)教程與水平考試指導(dǎo)
- SAS編程演義
- 跟小樓老師學(xué)用Axure RP 9:玩轉(zhuǎn)產(chǎn)品原型設(shè)計
- 第五空間戰(zhàn)略:大國間的網(wǎng)絡(luò)博弈