Mormot Usage Basics

Source: Internet
Author: User

Mormot name from Marmot, yes, groundhog, commonly known as Marmot, is an animal living in alpine regions. Most are active during the day, like to live in groups, good digging soil, dug tunnels deep up to several meters, there are grass-lined rooms, very comfortable. Usually the caves will have more than two entrances for safety. Instead of storing food, they store fat in the body during the summer to hibernate in the cave during the winter.
Mormot = Manage Object relational Mapping over Territory
One of the best open source projects in the Delphi ecosystem at the moment. This column is opened to provide a place for Mormot players to communicate.
Official website: http://synopse.info

Mormot is Https://codeload.github.com/synopse/mORMot/zip/master, the author's almost daily updates, so it is best to learn the use of SVN or git, to ensure the latest code.
git download command git clone https://github.com/synopse/mORMot.git--depth 1
The following is a brief introduction to Mormot:
1 syncommons Mormot Core unit, including encoding conversion, file reading, thread management, memory management, RTTI processing and other functions, commonly used the following two types of methods:
A realizes the mutual transformation between ansi,wide,utf8,hex,variant, URL encoding and decoding, base64 encoding and decoding.
B Anytextfiletostring,anytextfiletorawutf8,anytextfiletosynunicode read files, directory deletion, read file time and other functions.
2 syndb Mormot Data Processing core unit. Implement recordset and JSON objects, and convert recordsets to Rtti objects.
3 Syncrtsock, realize the basic socket operation of Mormot. The Synbidirsock implements Mormot-based websocket processing to implement WebSocket-based json,bin communication capabilities.
4 Data Processing Unit: SYNOLEDB processing Jet,mssql database, SynSQLite3, synsqlite3static, SynDBSQLite3 processing SQLITE3 database, can run without DLL. The Syndbremote unit can change the connection to a remote connection, allowing the customer to implement a remote HTTP database call. Syndbzeos Use the Zeos library to connect to the database, as well as the Syndbdataset directory of Unidac,firedac,bde and other connection methods.
5 other units: Synlog Log snap-in. Synlz,synlzo implements the LZ compression decompression processing. SYNDBMIDASVCL inherits the recordset control from TClientDataSet.
The above unit is only the basic processing unit of the Mormot, the Mormot ORM Framework actually uses the unit under the SQLite3 directory.

Mormot Usage Basics

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.