JiftyPerl的web應(yīng)用框架
Jifty 是一個(gè) Perl 語(yǔ)言用來(lái)構(gòu)建web應(yīng)用的框架。
創(chuàng)建一個(gè)最基本的項(xiàng)目命令:
/usr/bin/jifty app --name Name_of_your_app
生成的目錄結(jié)構(gòu)
MyApp/ Your application's directory
|
+--- bin/
| |
| +--- jifty dispatcher utility
|
+--- doc/ place your documentation inside
|
+--- etc/
| |
| +--- config.yml configuration file
|
+--- lib/
| |
| +--- MyApp/ Your classes
| |
| +--- Action/ Action classes inside
| |
| +--- Model/ Model classes inside
|
+--- log/ log files
|
+--- share/
| |
| +--- po/ localisation stuff
| |
| +--- web/
| |
| +--- static/ static web pages
| |
| +--- templates/ dynamic web pages and templates
|
+--- t/ test code should go here
|
+--- var/
|
+--- mason/ Mason specific data
評(píng)論
圖片
表情
