오늘 Play 뉴스그룹에 Play Modules 사이트를 소개하는 글이 올라왔네요. 읽어보니 자기도 Play에 기여하고 싶어서 Play에서 사용할 수 있는 모듈에 대한 데모를 보여주는 사이트를 만들었다고 합니다. 멋지네요. 오픈소스 커뮤니티가 성장하는것은 바로 이런 사람들때문이 아닐까요.
Play 2.0은 첫번째 메이저 버전이어서 그런지 불안한 부분이 많이 보입니다. 2.1이 언제 나올지 궁금해서 찾아보니 Play 이슈를 관리하는 lighthousapp에 2.1 마일스톤에 대한 내용이 있네요. 아직도 티켓이 16개나 남았으니 나오려면 시간 좀 걸리겠네요.
기사 마지막에 나오는 멘트가 와 닿네요. "만약 IT가 엔지니어들의 수작업을 줄여준다면, 엔지니어들은 F1 차량과 드라이버에만 집중할 수 있게 된다." 본연의 업무에 몰입할수 있게 해주는것이 바로 IT가 해야하는 역할이 아닐까요. 그 역할을 잘하게 해주는것이 애자일 개발입니다.
두개가 성격이 조금 다른데요. Scribe-Java는 깔끔하고 단순한 반면 Social Auth는 종합 선물셋트 같은 느낌입니다. Twitter 하나만 쓰겠다고 한다면 Scribe-Java가 간편하고 좋을거 같구요. 여러개 사이트를 모두 지원하겠다면 SocialAuth가 더 좋을거 같습니다.
Scribe-Java 처럼 간편하면서 SocialAuth의 매니저 기능을 지원하면 정말 좋겠네요.
Play2에서는 Scala를 템플릿 엔진으로 쓰고 있습니다. 그러면서 Play 공식 사이트에서 다음과 같은 특징을 Scala 템플릿의 강점이라고 이야기합니다.
Play 2.0 comes with a new and really powerful Scala-based template engine, whose design was inspired by ASP.NET Razor. Specifically it is:
compact, expressive, and fluid: it minimizes the number of characters and keystrokes required in a file, and enables a fast, fluid coding workflow. Unlike most template syntaxes, you do not need to interrupt your coding to explicitly denote server blocks within your HTML. The parser is smart enough to infer this from your code. This enables a really compact and expressive syntax which is clean, fast and fun to type.
easy to learn: it allows you to quickly become productive, with a minimum of concepts. You use simple Scala constructs and all your existing HTML skills.
not a new language: we consciously chose not to create a new language. Instead we wanted to enable Scala developers to use their existing Scala language skills, and deliver a template markup syntax that enables an awesome HTML construction workflow.
editable in any text editor: it doesn’t require a specific tool and enables you to be productive in any plain old text editor.
글 중간에 보면 ASP.NET의 Razor에서 영감을 받았다고 되어 있네요. Razor가 어떤 템플릿이었는지 좀 찾아보다가 Razor를 소개하는 블로그 글을 하나 발견했습니다. 일부 옮겨 봤습니다.
Design Goals
We had several design goals in mind as we prototyped and evaluated “Razor”:
Compact, Expressive, and Fluid: Razor minimizes the number of characters and keystrokes required in a file, and enables a fast, fluid coding workflow. Unlike most template syntaxes, you do not need to interrupt your coding to explicitly denote server blocks within your HTML. The parser is smart enough to infer this from your code. This enables a really compact and expressive syntax which is clean, fast and fun to type.
Easy to Learn: Razor is easy to learn and enables you to quickly be productive with a minimum of concepts. You use all your existing language and HTML skills.
Is not a new language: We consciously chose not to create a new imperative language with Razor. Instead we wanted to enable developers to use their existing C#/VB (or other) language skills with Razor, and deliver a template markup syntax that enables an awesome HTML construction workflow with your language of choice.
Works with any Text Editor: Razor doesn’t require a specific tool and enables you to be productive in any plain old text editor (notepad works great).
영감을 받은 수준이 아닌거 같네요. :-) Play2 템플릿으로 작업하다가 막히면 Razor 예제 찾아보면 될거 같습니다.