Skip to content

Latest commit

 

History

History
34 lines (32 loc) · 1.23 KB

File metadata and controls

34 lines (32 loc) · 1.23 KB

Sofof Database

Sofof is an easy, portable, multiusers , Object oriented database for Java SE and EE developers

Example

import org.sofof.command.Bind;
import org.sofof.permission.User;
import org.sofof.Server;
import org.sofof.SessionManager;
import java.io.File;

public class Binding {
    public static void main(String[] args) throws SofofException {
        Server s = new Server(new File("sofof"), 6969, false);
        s.createDatabase();
        s.getUsers().add(new User("rami", "secret"));
        s.startUp();
        try (Session sess = SessionManager.startSession("java:localhost:6969", new User("rami", "secret"), false)) {
            sess.execute(new Bind("Sofof database is great").to("posts"));
        }
    }
}

Where to start?

to start use sofof database you can download it from here and read the documentation

<dependency>
  <groupId>io.github.ramimanaf</groupId>
  <artifactId>sofof</artifactId>
  <version>5.0.0</version>
</dependency>

Other languages

العربية