Directory

← Back

Mateu MDD Add-on

Build your enterprise app with a few lines of code

Author

Contributors

Rating

Plugin to use the open source Mateu MDD framework within your Vaadin applications. Mateu MDD is a model driven development framework that aims to let you write your applications with the fewest lines of code.

It allows you to define your app in pure plain java and focus on your application logic, instead of dealing with the UI.

Important

Mateu MDD is just being born, so please be patient. Any help, comments, whatever are more than welcome ;)

Please feel free to contact me if you want to join the project

Sample code

@MateuUI(path = "")
public class MySimpleApp {

    @Home
    String msg = "<h1>Hello, World!</h1>";

}
@import "../mateu/mateu.scss";

.demo {

	@include mateu;

	// your own stuff
}



plus


@MateuUI(path = "", theme="demo")
public class MyUI {


}
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<configuration>
					<compilerArgs>
						<arg>-parameters</arg>
					</compilerArgs>
				</configuration>
			</plugin>
@MateuUI(path = "/complex")
public class ComplexUI {

    @Area
    AcademicArea academics;

    @Area
    FinancialArea financials;

    @Area
    MaintenanceArea maintenance;

    @PrivateHome
    String eyesOnlyMsg = "<h1>Hello, Mateu!</h1>";

    @PublicHome
    String msg = "<h1>Hello, World!</h1>";

}
@MateuUI(path = "/form")
@Getter@Setter
public class SimpleForm {

    String email;

    String subject;

    @TextArea
    String body;

    @Action(icon = VaadinIcons.ENVELOPE)
    public void send() throws Throwable {
        // send the email
    }

}

Links

Compatibility

(Loading compatibility data...)

Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.

Version

minor improvement

Released
2020-10-21
Maturity
EXPERIMENTAL
License
Apache License 2.0

Compatibility

Framework
Vaadin 8.0+
Browser
N/A
Online