Win an Ipad
  Developer   Documents   Files and Databases

Files and Databases

This article is an overview of how Files and Databases are working in Moscrif.

Files and Databases

Moscrif supports basic operation with files and databases that gives Moscrif users opportunity to manage files and database operations by themselves. There are some advanced file operations - for example, XML Scanner or working with ZIP archived files.

Stream

Stream class in Moscrif is used for File, Pipe Socket or String operation. Unique feature of this class is that it does not have a constructor. Instance is build by class factories like openFile, openSocket or openString. Stream instance by itself returns true or false. It depends on existence of stream.

Database

Moscrif supports SQLite database to keep data persistently in the database. SQLite has common SQL features like select, insert, update or delete data from database.

Moscrif IDE implements SQLite management and it offers basic operations like:

  • Structure management - add,delete or edit table
  • Field management - add, delete or edit table field
  • Data management - list of table data
  • SQL Query - run any sql query
 String stream   Files and Databases   File stream 
Write a Comment (0)
Subject
 
Comment