Re: [ANN] closp - leiningen template combining luminus and chestnut + some more features

2015-02-12 Thread Sven Richter
Hi alan,

Luminus provides a bit more options regarding server /  database and cljs.
However, this is something I explicitely do not want. What I want is to 
have one path that fulfills a given featureset. I know this does not fit 
everyones flavour, but I think the overhead of having multiple different 
options is not worth the gain.

For instance, switching to a different database is  just providing another 
jdbc string + a different dependency, as long as it is supported by jdbc.
The same goes for auth, just remove the middleware and the auth.clj file 
and replace it by something different.

I really do like feature expressions (at least what I have seen so far) and 
would replace cljx by it as soon as it is released.
I am a bit shy to go for clojure 1.7.x-alpha releases, maybe a beta release 
would be ok for me.

Best Regards,
Sven

Am Donnerstag, 12. Februar 2015 04:11:31 UTC+1 schrieb Alan Moore:

 Nice - thanks! 

 I was thinking it would be cool to create a meta-lein template that would 
 allow the user to specify which libraries (or features?) to include and the 
 template would (magic happens here) pull in each library and make the 
 needed mods to the base template. 

 Obviously this would require each library to specify the stuff they need 
 done to get integrated/merged into the base template (add these 
 dependencies to project.clj, add these html snippets, etc.) Opportunities 
 for conflicts abound and versioning issues, etc. probably make this too 
 hard. I'm not sure it is worth doing due to the open ended nature of 
 libraries/fiddly bits but it sure would be handy. 

 I remember seeing a project on github that does something like this using 
 a library approach (not via a lein template) but I can't remember the name 
 of it... 

 Also, did you look into using feature expressions instead of cljx? 

 Thanks again for this template! I'm going to give it a spin right now... 

 Alan 


-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] closp - leiningen template combining luminus and chestnut + some more features

2015-02-12 Thread Sven Richter
Thanks for adding the link, some day I will even forget my head.

Am Donnerstag, 12. Februar 2015 00:41:42 UTC+1 schrieb martin_clausen:

 Link: https://github.com/sveri/closp

 On Wednesday, February 11, 2015 at 11:59:20 AM UTC+1, Sven Richter wrote:

 Hi,

 I took some time to put together a leiningen template which combines the 
 awesome proecjts luminus and chestnut and adds some more features to start 
 development sideprojects for the web without much hassle.
 The rationale behind this is that I found myself adding these features 
 again and again for every new project and I wanted to stop that.

 Features:

 * H2 database on filesystem as a default
 * Ragtime for database migrations
 * Selmer as templating solution
 * http-kit as a server
 * cljx support
 * Figwheel with clojurescript live reloading
 * Reloading support for templates and clojure code
 * Configuration with nomad
 * User management with login/logout/registration with email activation 
 (provided by postal)
 * Authentication provided by buddy
 * reagent and datascript on frontend side
 * Ring Antiforgery middleware
 * Clojure miniprofiler example
 * Componentized application
 * Datascript with reagent example
 * Booststrap css styles

 As always I am happy about any kind of feedback, pull requests or whatever 
 comes to your mind.



 Best Regagrds,
 Sven



-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] closp - leiningen template combining luminus and chestnut + some more features

2015-02-11 Thread martin_clausen
Link: https://github.com/sveri/closp

On Wednesday, February 11, 2015 at 11:59:20 AM UTC+1, Sven Richter wrote:

 Hi,

 I took some time to put together a leiningen template which combines the 
 awesome proecjts luminus and chestnut and adds some more features to start 
 development sideprojects for the web without much hassle.
 The rationale behind this is that I found myself adding these features 
 again and again for every new project and I wanted to stop that.

 Features:

 * H2 database on filesystem as a default
 * Ragtime for database migrations
 * Selmer as templating solution
 * http-kit as a server
 * cljx support
 * Figwheel with clojurescript live reloading
 * Reloading support for templates and clojure code
 * Configuration with nomad
 * User management with login/logout/registration with email activation 
 (provided by postal)
 * Authentication provided by buddy
 * reagent and datascript on frontend side
 * Ring Antiforgery middleware
 * Clojure miniprofiler example
 * Componentized application
 * Datascript with reagent example
 * Booststrap css styles

 As always I am happy about any kind of feedback, pull requests or whatever 
 comes to your mind.



 Best Regagrds,
 Sven



-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] closp - leiningen template combining luminus and chestnut + some more features

2015-02-11 Thread Alan Moore
FYI - I found the tool I mentioned @ modularity.org

Alan


On Wednesday, February 11, 2015 at 7:11:31 PM UTC-8, Alan Moore wrote:

 Nice - thanks! 

 I was thinking it would be cool to create a meta-lein template that would 
 allow the user to specify which libraries (or features?) to include and the 
 template would (magic happens here) pull in each library and make the 
 needed mods to the base template. 

 Obviously this would require each library to specify the stuff they need 
 done to get integrated/merged into the base template (add these 
 dependencies to project.clj, add these html snippets, etc.) Opportunities 
 for conflicts abound and versioning issues, etc. probably make this too 
 hard. I'm not sure it is worth doing due to the open ended nature of 
 libraries/fiddly bits but it sure would be handy. 

 I remember seeing a project on github that does something like this using 
 a library approach (not via a lein template) but I can't remember the name 
 of it... 

 Also, did you look into using feature expressions instead of cljx? 

 Thanks again for this template! I'm going to give it a spin right now... 

 Alan 


-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.