Re: First foray into clojure - questions for new project

2012-11-13 Thread Jonathon McKitrick
Thanks, Mark.

So leiningen has made a significant update lately?


On Monday, November 12, 2012 8:49:32 PM UTC-5, Mark Rathwell wrote:


 These 4 should help you get from zero to a simple web app running on 
 Heroku pretty quickly:

 https://github.com/technomancy/leiningen/wiki/Upgrading


So leiningen has made a significant update lately?




-- 
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

Re: First foray into clojure - questions for new project

2012-11-13 Thread Jonathon McKitrick
Thanks, Michael.

Should I dive into Ring as well?  What about Compojure versus Noir?

On Monday, November 12, 2012 9:26:25 PM UTC-5, Michael Klishin wrote:

 2012/11/13 Jonathon McKitrick jmcki...@gmail.com javascript:

 - Any caveats I should be aware of running clojure on heroku?


 For small pure Clojure apps, probably none.
  

 - What libraries should I become familiar with for straightforward web 
 apps?


 Compojure, Noir, clojure.java.jdbc, clojurewerkz.org libraries. See also
 http://clojure-doc.org/articles/ecosystem/libraries_directory.html
  

 - What tutorials would get me up and running ASAP?  I'm currently an 
 intermediate SBCL user.


 http://clojure-doc.org/articles/tutorials/basic_web_development.html is 
 very new and not very complete
 but sounds like what you are looking for.

 -- 
 MK

 http://github.com/michaelklishin
 http://twitter.com/michaelklishin

  

-- 
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

Re: First foray into clojure - questions for new project

2012-11-13 Thread Jonathon McKitrick
Hmm.  Is this something I could work around, by paying for an extra dino 
during busy periods, then cutting back after the activity passes?

On Tuesday, November 13, 2012 1:50:13 AM UTC-5, puzzler wrote:

 Only catch is that the free level of Heroku isn't very useful with 
 Clojure.  The app keeps going to sleep, and the first person to hit your 
 app will have a noticeably lengthy wait because Clojure takes a long time 
 to start up.


-- 
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

Re: First foray into clojure - questions for new project

2012-11-13 Thread David Powell
cemerick made a screencast of how to get started with Clojure, which
takes you through getting started with the tools, and making a web
app.  It is probably a great place to start:

  http://cemerick.com/2012/05/02/starting-clojure/


For details on the Clojure web stack, I really like this guide:

  http://brehaut.net/blog/2011/ring_introduction


Note that on Clojure the web stack is made up of a bunch of small
libraries.  They are almost all based on ring.  The guide above
describes the common choices.

-- 
Dave

-- 
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


Re: First foray into clojure - questions for new project

2012-11-13 Thread John Gabriele

On Tuesday, November 13, 2012 10:26:18 AM UTC-5, Jonathon McKitrick wrote:

 Thanks, Mark.

 So leiningen has made a significant update lately?



Yes, but my understanding is that most folks have already upgraded (or have 
plans to upgrade --- thus the upgrading guide) to lein 2.

I suggest using the latest preview release of lein 2 (which is also what's 
recommended at leiningen.org).

---John

 

 On Monday, November 12, 2012 8:49:32 PM UTC-5, Mark Rathwell wrote:


 These 4 should help you get from zero to a simple web app running on 
 Heroku pretty quickly:

 https://github.com/technomancy/leiningen/wiki/Upgrading


 So leiningen has made a significant update lately?




-- 
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

Re: First foray into clojure - questions for new project

2012-11-13 Thread Michael Klishin
2012/11/13 Jonathon McKitrick jmckitr...@gmail.com

 Should I dive into Ring as well?  What about Compojure versus Noir?


Noir is built on top of Compojure. I guess just use what you like better.

I don't think you will use Ring directly initially. So get familiar with it
as you need to, the API is tiny.

-- 
MK

http://github.com/michaelklishin
http://twitter.com/michaelklishin

-- 
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

Re: First foray into clojure - questions for new project

2012-11-13 Thread Mark Rathwell
 Should I dive into Ring as well?  What about Compojure versus Noir?

Noir is higher level than Compojure, and usually easier for new people
to jump into, but not always as flexible, functional or composable.


On Tue, Nov 13, 2012 at 10:27 AM, Jonathon McKitrick
jmckitr...@gmail.com wrote:

 Thanks, Michael.

 Should I dive into Ring as well?  What about Compojure versus Noir?


 On Monday, November 12, 2012 9:26:25 PM UTC-5, Michael Klishin wrote:

 2012/11/13 Jonathon McKitrick jmcki...@gmail.com

 - Any caveats I should be aware of running clojure on heroku?


 For small pure Clojure apps, probably none.


 - What libraries should I become familiar with for straightforward web apps?


 Compojure, Noir, clojure.java.jdbc, clojurewerkz.org libraries. See also
 http://clojure-doc.org/articles/ecosystem/libraries_directory.html


 - What tutorials would get me up and running ASAP?  I'm currently an 
 intermediate SBCL user.


 http://clojure-doc.org/articles/tutorials/basic_web_development.html is very 
 new and not very complete
 but sounds like what you are looking for.

 --
 MK

 http://github.com/michaelklishin
 http://twitter.com/michaelklishin

 --
 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 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


Re: First foray into clojure - questions for new project

2012-11-13 Thread kinleyd
It was helpful for me to start from the ground up: Got familiar with ring, 
then compojure, hiccup, noir, etc. Getting familiar a library at a time 
prepared me better for managing the more comprehensive frameworks when it 
came time to customization. FWIW.

On Wednesday, November 14, 2012 12:20:23 AM UTC+6, Mark Rathwell wrote:

  Should I dive into Ring as well?  What about Compojure versus Noir? 

 Noir is higher level than Compojure, and usually easier for new people 
 to jump into, but not always as flexible, functional or composable. 


 On Tue, Nov 13, 2012 at 10:27 AM, Jonathon McKitrick 
 jmcki...@gmail.com javascript: wrote: 
  
  Thanks, Michael. 
  
  Should I dive into Ring as well?  What about Compojure versus Noir? 
  
  
  On Monday, November 12, 2012 9:26:25 PM UTC-5, Michael Klishin wrote: 
  
  2012/11/13 Jonathon McKitrick jmcki...@gmail.com 
  
  - Any caveats I should be aware of running clojure on heroku? 
  
  
  For small pure Clojure apps, probably none. 
  
  
  - What libraries should I become familiar with for straightforward web 
 apps? 
  
  
  Compojure, Noir, clojure.java.jdbc, clojurewerkz.org libraries. See 
 also 
  http://clojure-doc.org/articles/ecosystem/libraries_directory.html 
  
  
  - What tutorials would get me up and running ASAP?  I'm currently an 
 intermediate SBCL user. 
  
  
  http://clojure-doc.org/articles/tutorials/basic_web_development.htmlis 
  very new and not very complete 
  but sounds like what you are looking for. 
  
  -- 
  MK 
  
  http://github.com/michaelklishin 
  http://twitter.com/michaelklishin 
  
  -- 
  You received this message because you are subscribed to the Google 
  Groups Clojure group. 
  To post to this group, send email to clo...@googlegroups.comjavascript: 
  Note that posts from new members are moderated - please be patient with 
 your first post. 
  To unsubscribe from this group, send email to 
  clojure+u...@googlegroups.com javascript: 
  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 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

First foray into clojure - questions for new project

2012-11-12 Thread Jonathon McKitrick
Hi all,

I've heard many good things about clojure, and I'm finally taking the 
plunge.  I've been using Hunchentoot on SBCL for several years, and I've 
finally decided it's time to move to a current lisp with a proven platform 
and (from what I have heard) a great community.

I have a project currently in php that receives POST data, saves it to a 
db, and then serves report data via JSON.  It's a dead easy concept.  The 
catch is, I've committed to moving to clojure on heroku, and I need to 
quickly learn the language and the best tools I need to do the job with a 
short learning curve.  I've found a number of tutorials and intros that 
I'll start with, but I'm open to suggestions:

- Any caveats I should be aware of running clojure on heroku?
- Is it simple enough to use SLIME (which I'm very comfortable with) and 
then push to production on heroku?
- What libraries should I become familiar with for straightforward web apps?
- What tutorials would get me up and running ASAP?  I'm currently an 
intermediate SBCL user.

thanks in advance

-- 
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

Re: First foray into clojure - questions for new project

2012-11-12 Thread Mark Rathwell
These 4 should help you get from zero to a simple web app running on Heroku
pretty quickly:

https://github.com/technomancy/leiningen/wiki/Upgrading
https://github.com/technomancy/swank-clojure
https://github.com/kingtim/nrepl.el
https://devcenter.heroku.com/articles/clojure-web-application

Some other background you will probably want to start with:

https://github.com/technomancy/leiningen/blob/master/doc/TUTORIAL.md
https://github.com/weavejester/compojure/wiki
http://webnoir.org/

And the Clojure Doc Site is quickly turning into an amazing resource:

http://clojure-doc.org/



On Mon, Nov 12, 2012 at 7:29 PM, Jonathon McKitrick jmckitr...@gmail.comwrote:

 Hi all,

 I've heard many good things about clojure, and I'm finally taking the
 plunge.  I've been using Hunchentoot on SBCL for several years, and I've
 finally decided it's time to move to a current lisp with a proven platform
 and (from what I have heard) a great community.

 I have a project currently in php that receives POST data, saves it to a
 db, and then serves report data via JSON.  It's a dead easy concept.  The
 catch is, I've committed to moving to clojure on heroku, and I need to
 quickly learn the language and the best tools I need to do the job with a
 short learning curve.  I've found a number of tutorials and intros that
 I'll start with, but I'm open to suggestions:

 - Any caveats I should be aware of running clojure on heroku?
 - Is it simple enough to use SLIME (which I'm very comfortable with) and
 then push to production on heroku?
 - What libraries should I become familiar with for straightforward web
 apps?
 - What tutorials would get me up and running ASAP?  I'm currently an
 intermediate SBCL user.

 thanks in advance

  --
 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 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

Re: First foray into clojure - questions for new project

2012-11-12 Thread Michael Klishin
2012/11/13 Jonathon McKitrick jmckitr...@gmail.com

 - Any caveats I should be aware of running clojure on heroku?


For small pure Clojure apps, probably none.


 - What libraries should I become familiar with for straightforward web
 apps?


Compojure, Noir, clojure.java.jdbc, clojurewerkz.org libraries. See also
http://clojure-doc.org/articles/ecosystem/libraries_directory.html


 - What tutorials would get me up and running ASAP?  I'm currently an
 intermediate SBCL user.


http://clojure-doc.org/articles/tutorials/basic_web_development.html is
very new and not very complete
but sounds like what you are looking for.

-- 
MK

http://github.com/michaelklishin
http://twitter.com/michaelklishin

-- 
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

Re: First foray into clojure - questions for new project

2012-11-12 Thread kinleyd
Thanks Mark and Michael,

I thought I had an extensive list of Clojure resources, but quite clearly 
not. :)

Kinley

On Tuesday, November 13, 2012 8:26:25 AM UTC+6, Michael Klishin wrote:

 2012/11/13 Jonathon McKitrick jmcki...@gmail.com javascript:

 - Any caveats I should be aware of running clojure on heroku?


 For small pure Clojure apps, probably none.
  

 - What libraries should I become familiar with for straightforward web 
 apps?


 Compojure, Noir, clojure.java.jdbc, clojurewerkz.org libraries. See also
 http://clojure-doc.org/articles/ecosystem/libraries_directory.html
  

 - What tutorials would get me up and running ASAP?  I'm currently an 
 intermediate SBCL user.


 http://clojure-doc.org/articles/tutorials/basic_web_development.html is 
 very new and not very complete
 but sounds like what you are looking for.

 -- 
 MK

 http://github.com/michaelklishin
 http://twitter.com/michaelklishin

  

-- 
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

Re: First foray into clojure - questions for new project

2012-11-12 Thread Mark Engelberg
Only catch is that the free level of Heroku isn't very useful with
Clojure.  The app keeps going to sleep, and the first person to hit your
app will have a noticeably lengthy wait because Clojure takes a long time
to start up.

-- 
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