Advertise with Googlier.com Comments for Mezeskedonia http://blog.mezeske.com A realm of code bytes, sound bites, and the odd rope bight Sun, 02 Sep 2012 11:10:00 +0000 hourly 1 https://wordpress.org/?v=5.7.14 Comment on Building School Seating Charts in Clojure and ClojureScript: Part 1 by siscia http://blog.mezeske.com/?p=552#comment-176 Sun, 02 Sep 2012 11:10:00 +0000 http://blog.mezeske.com/?p=552#comment-176 @evan: Yes it is. BTW abengoa (aka “the guy behind clj-stripe) just fixed the API so we can easily use it now.
Cheers

]]>
Comment on Building School Seating Charts in Clojure and ClojureScript: Part 1 by Evan http://blog.mezeske.com/?p=552#comment-167 Fri, 31 Aug 2012 20:32:07 +0000 http://blog.mezeske.com/?p=552#comment-167 @siscia: That looks cool. It’s a shame that it’s still not in the Stripe docs. They even have a section for unofficial APIs, so I don’t see why they wouldn’t want to list it.

]]>
Comment on Building School Seating Charts in Clojure and ClojureScript: Part 1 by siscia http://blog.mezeske.com/?p=552#comment-166 Fri, 31 Aug 2012 20:23:16 +0000 http://blog.mezeske.com/?p=552#comment-166 Hi,
for your next project or to keep everything more clojure possible I want to let you know that exist clj-stripe ( https://github.com/abengoa/clj-stripe ) before to consider the use please give a look at the open issue.

Greets

]]>
Comment on Building School Seating Charts in Clojure and ClojureScript: Part 1 by Evan http://blog.mezeske.com/?p=552#comment-165 Fri, 31 Aug 2012 20:11:24 +0000 http://blog.mezeske.com/?p=552#comment-165 @Murtaza: While I’d love to share the source code with the Clojure community, I don’t think it’s in my business’ best interest to release the source code. If I did release it, it would be trivial for someone to put up their own copy on GAE and compete with me. Of course, with a proper license I could sue them, etc, but I don’t want to deal with that.

What’s more likely to happen is that I will release specific components as open source projects (like lein-cljsbuild, which started off as part of School Seating Charts). Of course, this doesn’t provide the overall big picture of how the app works, but I think it’s the best I can do for now.

]]>
Comment on Building School Seating Charts in Clojure and ClojureScript: Part 1 by Ben http://blog.mezeske.com/?p=552#comment-164 Fri, 31 Aug 2012 20:03:30 +0000 http://blog.mezeske.com/?p=552#comment-164 @Evan: many thanks for your comment, it’s very clear. Indeed in terms of bandwidth I do agree with you and doubt JQuery would add a lot since I guess any web browser already has a copy of a CDNized jquery in its cache. Many thanks again and please continue to enlighten us! Ben.

]]>
Comment on Building School Seating Charts in Clojure and ClojureScript: Part 1 by Murtaza Husain http://blog.mezeske.com/?p=552#comment-163 Fri, 31 Aug 2012 14:02:22 +0000 http://blog.mezeske.com/?p=552#comment-163 Evan, thanks for both the post and lein-cljsbuild. One request, is it possible to release the code under an appropriate proprietary license ? I would love to see the code and learn from it. I have been trying to learn cljs, but there is a dearth of prodcution quality code.

]]>
Comment on Building School Seating Charts in Clojure and ClojureScript: Part 1 by William Roe http://blog.mezeske.com/?p=552#comment-158 Thu, 30 Aug 2012 21:42:01 +0000 http://blog.mezeske.com/?p=552#comment-158 @Ben: Further to what Evan said, GCL is missing most of the dom selection goodness that is core to jQuery. In GCL, this is an extra you have to get included somehow (it’s not in the clojurescript library afaik). I found it much much simpler to use the jayq library which allows ClojureScript code to use jQuery code: https://github.com/ibdknox/jayq

]]>
Comment on Building School Seating Charts in Clojure and ClojureScript: Part 1 by Evan http://blog.mezeske.com/?p=552#comment-155 Thu, 30 Aug 2012 17:26:49 +0000 http://blog.mezeske.com/?p=552#comment-155 @Alex: I’ve received many complaints about the white-on-black format, but yours was by far the most courteous and helpful. Maaaaybe I’ll noodle around with something a bit less contrasting.

For the record, though, the white-on-black format doesn’t bother me until I navigate to a black-on-white page and it seems super bright. So, really, I think the rest of the web should change. :)

]]>
Comment on Building School Seating Charts in Clojure and ClojureScript: Part 1 by Evan http://blog.mezeske.com/?p=552#comment-153 Thu, 30 Aug 2012 17:24:31 +0000 http://blog.mezeske.com/?p=552#comment-153 @Ben: It is true that jQuery and the Google Closure Library (GCL) overlap in terms of many features. However, there are many differences between the two libraries, and you can make an argument for using either of them. In my case, the strongest argument was that jQuery had several extremely useful plugins. For instance, the jQuery UI draggable support is (in my opinion) much easier to use than the equivalent feature in GCL.

Since ClojureScript depends on GCL, it is less efficient to require jQuery (in terms of bandwidth). However, I’ve found that the :advanced optimizer’s dead code elimination helps a lot, and since I’m not using much from GCL, a lot of it can be eliminated in the final JS. I’m satisfied with the page loading speed with both GCL and jQuery, but I suppose if you wanted to squeeze out every last drop of performance, it would be best to just use GCL. For me, it was worthwhile to trade some page loading speed for a more rapid development cycle.

]]>
Comment on Building School Seating Charts in Clojure and ClojureScript: Part 1 by Ben http://blog.mezeske.com/?p=552#comment-151 Thu, 30 Aug 2012 12:36:54 +0000 http://blog.mezeske.com/?p=552#comment-151 Hi!

Thanks for your article and x100 times more for lein-cljsbuild!

I’d have a silly question to ask. I’m also using JQuery with CLJS as I’m a bit familiar with it. However aren’t all the basic features of JQuery already implemented in the Google Closure library? In short: isn’t it quite redundant to have closure and jquery in cljs? Many thanks for your thoughts!

]]>