Questions tagged [pedestal]

An open source tool set for building web applications in Clojure

Pedestal is a Clojure framework that comes ready-made for developers to solve difficult problems . In a single language, from client to server and back. By providing the leading Clojure web development libraries, Pedestal gives developer the building blocks for robust web applications.

Pedestal gives developers a solid foundation to build highly scalable backend services.

Pedestal is an open framework that gives Clojure developers well-designed libraries to save time and effort.

58 questions
20
votes
4 answers

What features does Pedestal have compared to other Clojure web frameworks?

Recently Relevance announced Pedestal, a new web framework for Clojure. How does this framework compare to other Clojure web frameworks such as Compojure, Webjure, Conjure, Moustache and so on, in terms of features, ease of application development,…
noahlz
  • 10,202
  • 7
  • 56
  • 75
18
votes
3 answers

Client-side MVC frameworks for ClojureScript

I'm trying to choose a library for client-side MVC in ClojureScript. Here's are the ClojureScript libraries I've found so far: WebFUI (https://github.com/drcode/webfui) Enfocus: (http://ckirkendall.github.io/enfocus-site/) Pedestal…
Jonovono
  • 3,437
  • 5
  • 42
  • 64
7
votes
2 answers

desktop applications written in clojure

Which technologies from the clojure ecosystem can be recommended to develop a standalone desktop application? The technology I am looking for should have support for access to the local file system (e.g file dialogs). access to the web via…
shaft
  • 2,147
  • 2
  • 22
  • 38
7
votes
1 answer

Clojure web frameworks for responsive apps

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…
Jaime Agudo
  • 8,076
  • 4
  • 30
  • 35
6
votes
1 answer

Clojure Pedestal root serving as application/octet-stream

I am trying to host static assets along with services in Pedestal 0.5.1. I am using the ::file-path to point to a directory to host the files. This works fine if I navigate directly to the file http://localhost:8888/index.html but if I go to the…
Scott
  • 1,648
  • 13
  • 21
6
votes
1 answer

what is the relationship between Ring and Pedestal - do I need to know Ring to use Pedestal?

I was led to believe that Pedestal is a replacement for Ring however from all the examples I see that Pedestal actually uses Ring. This is most confusing! Do I need to know and understand how Ring works in order to use Pedestal effectively. In…
Zuriar
  • 11,096
  • 20
  • 57
  • 92
6
votes
1 answer

Setup and use a cookie-based session in Pedestal

I'd appreciate a basic Pedestal example of how to (1) setup cookies that survive server restarts and (2) use cookie-based sessions; in particular how to get and set values. I'm a little surprised not to find an example that uses…
David J.
  • 31,569
  • 22
  • 122
  • 174
6
votes
2 answers

Pedestal : what data flow can you use to render a newly initialized empty list?

I'm trying to make a very basic pedestal app to display a list of items, or a text message if the list is empty. I thought what I wanted was : a data model where [:root :items] would be my list of items a template function for the page…
phtrivier
  • 13,047
  • 6
  • 48
  • 79
5
votes
1 answer

Clojure Pedestal Dataflow Model - correct steps

Here in the Pedestal Docs it talks about the following steps in the pedestal dataflow: Transform Effect Combine Continue Emit Here in a significant project by one of the authors of Pedestal - we see the following…
hawkeye
  • 34,745
  • 30
  • 150
  • 304
5
votes
1 answer

Is the architectural model in the Clojure Pedestal framework an operational transform similar to Google Wave?

Reading through the Pedestal presentation (and reading the sample source code) - I see a model based on transforms and operations. Is it true that Pedestal uses operational transformations (look here and here) similar to what was used in Google…
hawkeye
  • 34,745
  • 30
  • 150
  • 304
4
votes
1 answer

How to set CORs using Lacinia Pedestal?

I'm setting up a lacinia-pedestal graphql server using Clojure, and attempting to access it with client-side javascript code using apollo. However, I'm unable to access the /graphql endpoint on localhost because I'm attempting to access it from a…
bioround
  • 375
  • 2
  • 12
4
votes
2 answers

Getting the POST body data from a POST request to Pedestal

I have POSTed data to a Pedestal endpoint "/my-post. I have routed that end point as such: [[["/" {:get landing} ^:interceptors [(body-params/body-params) ...] ["/my-post {:post mypost-handler} .... So to my mind this means that the body-params…
Zuriar
  • 11,096
  • 20
  • 57
  • 92
4
votes
2 answers

No 'Access-Control-Allow-Origin' header is present when origin is allowed in Pedestal

When I try and request a resource from a cljs app (running on http://localhost:3000) to my Pedestal server (running on http://localhost:8080) I get the below error. I would like to allow CORS from http://localhost:3000: XMLHttpRequest cannot load…
kennyjwilli
  • 193
  • 3
  • 13
4
votes
1 answer

How should I communicate with a server?

Imagine some fellow wants to query a pizza server for the list of pizzas. This individual would do simply GET /pizzas ;=> ["cheese", "extra cheese", "broccoli"] With pedestal-app's data model and messages, I am not sure how to design…
konr
  • 2,545
  • 2
  • 20
  • 38
4
votes
2 answers

What's the correct approach to debugging a pedestal.io app?

I'm currently trying to reimplement the todo example app to understand how it works and I'm getting an error when I load the page. I'm not certain how to go from here. What concerns me is the error appears to be in…
toofarsideways
  • 3,956
  • 2
  • 31
  • 51
1
2 3 4