Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building rest service and basic http authentication #138

Open
ghost opened this issue Jan 11, 2013 · 7 comments
Open

Building rest service and basic http authentication #138

ghost opened this issue Jan 11, 2013 · 7 comments

Comments

@ghost
Copy link

ghost commented Jan 11, 2013

I'm very new to clojure and noir as well. I'm looking for a tutorial about writing restful webservice with noir and doing basic authentication with it.
It's hard for me to find one out there, most of them are out of dated.

Thanks in advantage :)

@darth10
Copy link

darth10 commented Jan 11, 2013

Here's a good article on REST services using Compojure.

Noir is being deprecated, as most of the provided functionality is already present in Compojure or Hiccup.

@yogthos
Copy link

yogthos commented Jan 11, 2013

@rhacker

Take a look at Luminus, I'm actively maintaining it and have a lot of documentation on how to do basic tasks like authentication and route restrictions.

@ghost
Copy link
Author

ghost commented Jan 14, 2013

@yogthos thanks for your great framework, it looks neat. But I'm gonna use Noir or rails for current project since I am looking for a mature and stable one. But it's really nice work, I have to say :)

@yogthos
Copy link

yogthos commented Jan 14, 2013

@rhacker just a note that Noir is now deprecated, and all the features which were considered useful were rolled into lib-noir. Luminus is primarily a template for tying existing libraries together.

@darth10
Copy link

darth10 commented Jan 15, 2013

@rhacker Compojure is actually pretty mature - more than Noir actually, as Noir itself uses Compojure. If you don't like Luminus, you could always give Compojure a try. As far as RESTful services go, Compojure has a lot of infrastructure for the job.

@yogthos
Copy link

yogthos commented Jan 15, 2013

@darth10 just to clarify all Luminus does is create a Compojure application template, when you use Luminus you are using Compojure+Ring+lib-noir basically.

@darth10
Copy link

darth10 commented Jan 15, 2013

@yogthos 👍 yeah I've just been using Compojure for longer 😄 Luminus is definitely a better replacement as a whole for Noir though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants