Re: Web App structure on server?

2014-01-26 Thread john walker
I spent some time yesterday with node webkit and clojurescript. There's not really much to it. There's a :target :nodejs that you can hand off to leiningen, but I don't really know what it's for (and no one else seems to either). Make sure that when you inspect the resultant javascript source t

Re: Web App structure on server?

2014-01-26 Thread Joshua Ballanco
I don’t have much practical experience with CLJS+Node myself, but the intro on the ClojureScript wiki has been helpful with the couple experiments I’ve tried: https://github.com/clojure/clojurescript/wiki/Quick-Start . Really, though, it comes down to the fact that ClojureScript compiles down to

Re: Web App structure on server?

2014-01-26 Thread Julio Barros
Hi Josh Do you know of a tutorial or sample project that shows you how to do that and what to watch out for? Julio > On Jan 24, 2014, at 11:14 PM, Joshua Ballanco wrote: > > I just wanted to point out that if you’re looking to write small background > processes that are more shell-script-y

Re: Web App structure on server?

2014-01-25 Thread Jarrod Swart
I've thought about this in the past, but the callback style node requires is not very appealing to me for scripting. Most python scripts I write are very imperative/sequential, does CLJS abstract any of that away? On Saturday, January 25, 2014 2:14:05 AM UTC-5, Joshua Ballanco wrote: > > I just

Re: Web App structure on server?

2014-01-24 Thread Craig
My current approach accords with Mikera's suggestion, and using a single package allows me to easily leverage other components (management, database etc). I have an open mind on the future use of isolated scripts (in python or whatever), but at the moment I am enjoying the simplicity of develo

Re: Web App structure on server?

2014-01-24 Thread Joshua Ballanco
I just wanted to point out that if you’re looking to write small background processes that are more shell-script-y than server-y, you might consider CLJS + Node.js. That way you can still leverage Clojure without the need to spin up an entire JVM just for a quick cron task. Cheers, Josh On

Re: Web App structure on server?

2014-01-24 Thread Jarrod Swart
I appreciate your outlook, and yes I have definitely discussed the pros of Clojure. They are apprehensive in the event they have to outsource development work, and I don't blame them. I'm just going to be a lot happier and more productive in Clojure. Thanks again! On Saturday, January 25,

Re: Web App structure on server?

2014-01-24 Thread Mikera
Be careful about "weaselling in" Clojure - If I was your client and you did that without consulting me, I'd be pretty annoyed (possibly to the extent of not working with you again). Better to be upfront about the good reasons for using Clojure (concurrency support, awesome libraries, productivit

Web App structure on server?

2014-01-24 Thread Jarrod Swart
I have a general question about application architecture as it relates to deploying to the server. Most of my previous development work involved python/php/ruby so we typically had: 1. One massive framework / application complection nightmare 2. Background scripts run by crons At prese