You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 3, 2026. It is now read-only.
Milonga는 Spring MVC 웹 어플리케이션을 Javascript를 이용해 작성할 수 있는 라이브러리이다.
동적 타이핑, 클로저, JSON 표현식 같은 Javascript의 언어적인 특징을 활용하면 간결하고 쉽게 Spring MVC코드를 작성할 수 있다. 그리고 Milonga에서 사용하는 Javascript 또한 별도의 환경이 아닌, SpringMVC에 포함되어 바이트 코드로 컴파일된 후 JVM에서 동작하기 때문에 기존 Java 코드와 함께 사용할 수 있다. 예를 들면, 일부 Controller만 Milonga를 이용한 Javascript 코드로 작성하는 것이 가능하다.
Milonga is Simple
Milonga로 작성한 Spring MVC Controller 코드의 예시
Atmos.handler('/foo/bar', function() {
var result = {'foo' : 'bar'};
return result;
});
Milonga는 기본적으로 Spring MVC의 REST 기능을 Javascript 코드로 구현 가능하게 한다. 살펴본 바와 같이 Milonga를 사용하면 Spring MVC 프로젝트의 핸들러를 쉽고 빠르게 작성할 수 있다.