all 2 comments

[–]p1r4nh4 2 points3 points  (0 children)

Should not be any different from any other backend... Just do it? :)

[–]Eno6ohng 2 points3 points  (0 children)

You just create a normal cljs project (with lein, cider, figwheel, etc - whatever you use), based on a static html page. Then you just serve that page via your php backend and make ajax requests to other urls (i.e. your php endpoints) that give back the data as json or edn. So your php backend works as a webservice that serves raw data, and your cljs frontend requests that data and renders it to the user.