Flapjax : 類似 PHP 的 JS Template Engine

7 views
Skip to first unread message

gugod

unread,
Oct 13, 2006, 11:19:00 AM10/13/06
to hsinchu.js
馬上看到馬上轉述一下,請見:

http://www.flapjax-lang.org/tutorial/

寫起來就像:

<p>
The time in seconds is {! Math.floor(timer_b(100) / 1000) !}.
</p>

{! 跟 !} 裡面自然是 Javascript 程式碼。

還沒試用不知感覺如何,等試了再來補充心得。

Reply all
Reply to author
Forward
0 new messages