Clojure web frameworks for responsive apps

 淇蒴_192 发布于 2023-02-07 10:21

I have recently inherited a non-finished web app written in Clojure, based on compojure and hiccup basically. It's a bad attempt to model some sort of MVC with OO style not in the FP style as seen here . So I bet to re-start the project almost from the scratch reusing the useful parts. I consider these alternatives:

The least breaking alternative would be Compojure+Enlive+jquery-pjax

Using a clojure web framework like Pedestal Any experiences about this?

The initial idea was to implement a RESTful API serving JSON so for the more elaborated solution I have Backbone+react.js in my mind for the front-end and Liberator for the back-end but it's likely to take longer to develop than a traditional server app.

Thoughts and alternatives taking into account that an Ajax experience is required please, thanks a lot!

Chiron.. 5

我不确定RESTful API与帖子中的响应之间有什么关系.但是......

你有多种选择:基座,解放者和驯鹿.
如果您需要的只是RESTful API,那么我认为Liberator是您最好的选择,并且不会像您提到的那样花费更长的时间.我不知道你是怎么得到这种印象的.

如果您想开发单页应用程序,基座会闪耀,但框架通常需要很好的时间来掌握和理解它是如何工作的.

看看Caribou也.它易于使用且感觉熟悉.

但同样,这是你的选择.

1 个回答
  • 我不确定RESTful API与帖子中的响应之间有什么关系.但是......

    你有多种选择:基座,解放者和驯鹿.
    如果您需要的只是RESTful API,那么我认为Liberator是您最好的选择,并且不会像您提到的那样花费更长的时间.我不知道你是怎么得到这种印象的.

    如果您想开发单页应用程序,基座会闪耀,但框架通常需要很好的时间来掌握和理解它是如何工作的.

    看看Caribou也.它易于使用且感觉熟悉.

    但同样,这是你的选择.

    2023-02-07 10:24 回答
撰写答案
今天,你开发时遇到什么问题呢?
立即提问
热门标签
PHP1.CN | 中国最专业的PHP中文社区 | PNG素材下载 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有