

RIFE2 Framework : Full-stack, no-declaration, framework to quickly and effortles...
source link: https://rife2.com/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Full-stack, no-declaration, framework to quickly and effortlessly create web applications with modern Java.
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. RIFE2 is created by Geert Bevin, one of the first Java Champions and speaker at many Java conferences.
Follow Geert on Mastodon Join Geert 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, web continuations, 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 and issues can be found on GitHub:
https://github.com/gbevin/rife2
Recommend
-
28
Prologue What's past is prologue. Purpose Prologue is a Full-Stack Web Framework which is ideal for building elegant and high performance web services. Reduce magic. Reduce...
-
14
What is ActiveJ? ActiveJ is a brand-new full-stack Java framework that can be used in diverse web, cloud, and microservices high-load scenarios. ActiveJ is a natively high-performance solution...
-
12
-
7
Hilla combines a Java back end built on Spring with a TypeScript front end built with Lit, a fast, reactive framewor...
-
10
The Fullstack Go Framework for Prolific Web Developers. Bud writes the boring code for you, helping you launch your website faster. Video Demo Watch a video demonstrating how to build a minimal HN clone in 15 minutes with Bu...
-
8
Remult What is Remult? Remult is a full-stack CRUD framework that uses your TypeScript model types to provide: Secure REST API (highly configurable) Type-sa...
-
9
RIFE2 IDEA Support Support for the RIFE2 framework: https://rife2.com Installation Using IDE built-in plugin system: (Waiting for JetBrain verification, use t...
-
8
Foojay Today ...
-
6
Interview with Geert Bevin, the creator of RIFE2 "RIFE2 provides an opinionated full stack that is designed as a whole to make the creation of dynamic web applications and REST web services really fast"
-
6
RIFE2 v1.3.0 with GraalVM native-image AOT compilation support #13 ...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK