[emacs] Emacs Lispã§WebAppã®éçºã«å¿ è¦ãªNåã®ãã¨
æ±ãããã¦ããæ°ãããã®ã§ãEmacsLispã«ã¤ãã¦ç¥ã£ã¦ãããã¨ãæ¸ãã¦ãããã¨æã£ãã
ããã±ã¼ã¸ããã¼ã¸ã£
Cask ã使ãã®ãä»é¢¨ãå æ¥Cartonã¨ããPerlã®ããã±ã¼ã¸ããã¼ã¸ã£ã¨ååããã¶ã£ã¦ããã®ã§ãæ¹åãããã
ã¡ãªã¿ã«ãæ®æ®µä½¿ãã§ããã°ãEmacs24.xããæ¨æºã§å ¥ã£ã¦ããpackage.elã使ãããel-getã使ãã
ã¢ããªã±ã¼ã·ã§ã³ãµã¼ã
ã¤ãã³ãããªãã³ãªElnodeã¨ãhttpd.elãpure Emacsã§æ¸ããªããã simple-httpd.el ãããã
- http://elnode.org/
- http://www.emacswiki.org/emacs/Elnode
- https://github.com/skeeto/emacs-http-server
ä»ã«ãElservããããå ¥æå°é£ã
ãªã¯ã¨ã¹ããã©ã¡ã¼ã¿ã®å¦ç
Elnodeã§ããã°ãelnode-http-paramé¢æ°ããassoc listã§åããã
simple-httpd.elã¯ãå¾æã®æ£è¦è¡¨ç¾ã§é å¼µãã
ã«ã¼ãã£ã³ã°
Elnodeã§ããã°ãelnode-hostpath-dispatcherã¨ããããè¦ããããªãã£ã¹ãããã£ã¼ãããã
ãã以å¤ã¯ã¡ãã£ã¨ãããããã¾ããã
ãã¼ã¿ãã¼ã¹
å¼·å¼ã«CLIçµç±ã§ã¢ã¯ã»ã¹ãã mysql.el ã¨ãTCPã§é å¼µã£ã¦ãã©ã¤ããæ¸ãã pg.el ãããã
NoSQLãªMongoDBãpure Emacsã§ã¢ã¯ã»ã¹ã§ããã
æä½ã® edbi.el ã使ãã°ãPerl DBI ã§ã¢ã¯ã»ã¹ã§ãããã®ãªã大æµã®DBã«ã¢ã¯ã»ã¹ã§ãããã
ORMã®ãããªãã®ã¯ãä»ã®ã¨ããè¦ããã¨ç¡ãã
ãã¥ã¼ã®ã¬ã³ããªã³ã°
ããããEmacsãªã®ã§ããã¹ãå¦çã¯å¾æãªã¯ããorgmodeã®æ©è½ã使ã£ã¦å¤æããã®ããããããããªãã
Mustacheã¨ããæ¨æºçãã³ãã¬ã¼ãå½¢å¼ã®ãã³ãã¬ã¼ãã¨ã³ã¸ã³ããPerlã®Text::MicroTemplateçãªãã®ããããï¼2013/09/11 追è¨ãkitokitokiãããã³ã¡ããï¼
- https://github.com/Wilfred/mustache.el
- 70行で emacs に Text::MicroTemplate like なテンプレートを実装する - IMAKADO::BLOG
JSONã§ããã°json.elããããå¤å°é ãã®ã§ãLispãããprincãã¦Så¼ã§è¿ãã®ãéãã
HTTPã¯ã©ã¤ã¢ã³ã
æ¨æºã®url.elããããã@tkfããã®request.elã使ããããã¦ããããã
ãã¹ããã¬ã¼ã ã¯ã¼ã¯
æ¨æºã§ ert ã¨ãããã¬ã¼ã ã¯ã¼ã¯ãããã®ã§ãEmacs24æ代ã¯ããã使ãã®ãæ®éã¿ããã
Ecukes ã¨ããã Cucumber çãªæ¯ãèãè¨è¿°å¼ã®ãã¹ããã¬ã¼ã ã¯ã¼ã¯ãããã
GUIã®æä½ãè¨è¿°ãã¦ãã¹ãããå ´åã¯ããã¡ãã使ãã¨å¤§å¤ä¾¿å©ã
Caskã¨çµã¿åããã¦githubã¨Travis-CIã§ãã¹ããåãã®ãã¯ã¼ã«ã
ã¢ããªã±ã¼ã·ã§ã³ãã¬ã¼ã ã¯ã¼ã¯
ãã¿ã¾ãããã¡ãã£ã¨ãããããã¾ããã
ã¨ãã£ã¿ã®ä¸ã§åãMVCãã¬ã¼ã ã¯ã¼ã¯ã§ããã°ãä» Widget MVC ã¨ãããã®ãä½ã£ã¦ãã¾ãããå¤åæ±ãããã¦ãããã®ã¨éãæ°ããã¾ãã
以ä¸ã