rife2.com Open in urlscan Pro
162.55.84.119  Public Scan

Submitted URL: http://rife2.com/
Effective URL: https://rife2.com/
Submission: On November 03 via manual from CA — Scanned from CA

Form analysis 0 forms found in the DOM

Text Content

A full-stack framework to effortlessly
create web applications with modern Java


WELCOME

RIFE2 is built on the foundations of the original RIFE framework that was
popular from 2002-2010. Since then, the world and Java have changed and many of
the original RIFE APIs could finally be replaced with pure Java, no-XML,
no-YAML, leaving only type-safe expressive code.

RIFE2 preserves most of the original features and adds new ones, for a fraction
of the footprint and with even greater developer productivity than before.

Join me on Discord


QUICKSTART

Fully Functional Web Application

import rife.engine.*;

public class HelloWorld extends Site {
    public void setup() {
        get("/hello", c -> c.print("Hello World"));
    }

    public static void main(String[] args) {
        new Server().start(new HelloWorld());
    }
}

Out-of-Container Test

import rife.test.MockConversation;

class HelloTest {
    @Test void verifyHelloWorld() {
        var m = new MockConversation(new HelloWorld());
        assertEquals("Hello World",
                     m.doRequest("/hello").getText());
    }
}

Run It!

./gradlew run

View It!

http://localhost:8080/hello


JUST THE BEGINNING

While the example above is a fully functional web application, it barely
scratches the surface of what RIFE2 is capable of. The full stack design of
RIFE2 provides smart integrations across layers, focusing on pragmatic decisions
that prioritize developer productivity and code maintainability.

RIFE2's full stack provides the following features: web application engine,
out-of-container web testing, bidirectional template engine, database
abstraction, SQL query builders, data validation, form building, meta-data
constraints, authentication, task scheduler, resource abstraction, and more ...


FIND OUT MORE

RIFE2's source code, community, issues and documentation can be found on GitHub:
https://github.com/gbevin/rife2