• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Advices to build my own Clojure framework

 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I want to start building my own minimal Clojure web framework, no it is not the next Rails or Django, just a minimal one to use.
But I want to provide some Rails and Django features:
1. The ability to change lines of the code and make it immediate in the browser.
2. Specific shell that deals with the project's specific artifacts (like controllers and domain records).
3. Should be deployable as WAR files.
I may be wrong but I feel there a lot of custom class loader are in the scene, right?
Do you have any advices and warning you would like to share?
Any recommended readings?
Thanks for help and time.
 
Sean Corfield
Ranch Hand
Pie
Posts: 298
10
Clojure Linux Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Out of curiosity, have you already played with Ring and Compojure?
 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sean Corfield wrote:Out of curiosity, have you already played with Ring and Compojure?

Please correct me if I'm wrong but Compojure is like Ruby Sinatra.
I want to create something much more Rails or Django, not to mention it will be a massive Clojure spike.
 
Sean Corfield
Ranch Hand
Pie
Posts: 298
10
Clojure Linux Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ring is the base framework for most of the Clojure web framework efforts (as I understand it). I haven't actually tried any of them yet so I was sort of suggesting trying them to get a feel for how they work - and perhaps you can build middleware on top of Ring to jump start your own effort (since it is designed to be extended like that).
 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That is exactly what I'm going to do, build upon Ring project and other Clojure projects.
 
Michael Fogus
author
Greenhorn
Posts: 12
BSD Clojure Monad
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
John Todd wrote:That is exactly what I'm going to do, build upon Ring project and other Clojure projects.


You might also want to explore Conjure, it's a Rail-like framework for Clojure.
 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I checked it:
https://github.com/macourtney/Conjure
But it looks it is not under active development.
 
Sean Corfield
Ranch Hand
Pie
Posts: 298
10
Clojure Linux Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Consider that a great opportunity to reach out to the project owner and say you're interested in contributing - and, since it's github, fork the project yourself and continue work on it. Definitely better to collaborate if possible and build on an existing framework!
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic