who uses enfocus/clojurescript in the wild ?
hi clojure-users, as i am thinking about using enfocus (http://ckirkendall.github.com/enfocus-site/) for building up the clientside-logic for a new site, i am interested in reports of people who have done so already. i am esp curious about how the development-process works out and what main-problems are experienced, running the site. thanks & have a successful day -- -- 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/groups/opt_out.
Re: who uses enfocus/clojurescript in the wild ?
I have successfully used ClojureScript to write a Car2Go App for Blackberry: http://appworld.blackberry.com/webstore/content/19205189/ The big challenge there was actually the volatile platform (mandatory battery pulls after reading the geolocation anyone?), while ClojureScript has played along gorgeously. I tried enfocus at first, but then I decided to port enlive to ClojureScript, to get a consistent selector behavior between server and client. Also the missing root selector (impossible in enfocus with element.querySelector) was a dealbreaker. -- -- 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/groups/opt_out.
Re: who uses enfocus/clojurescript in the wild ?
Also, my dev setup: - two build profiles via lein-cljsbuild: one debug, one optimized - "lein ring server" for local dev, handler accepts ?debug=true - "lein cljsbuild auto" in the background - occasionally a browser-repl in emacs inferior-lisp The main difficulty regarding ClojureScript itself is debugging errors on a javascript level. It's still very doable just not up to par yet. -- -- 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/groups/opt_out.
Re: who uses enfocus/clojurescript in the wild ?
ClojureScript/Enfocus is being used by several people to build production software. If you want an unbiased opinion you might hop on the Clojure IRC channel and chat with Robert Stuttaford(@RobStuttaford). He is currently a very active user. Enfocus was originally envisioned to allow designers and developers to better integrate their skills than traditional workflow. I originally envisioned the designer building a working prototype of a site using static html/css and then a developer could take these raw documents and use enfocus to make it dynamic. It also provides a very clean declarative style to working with the dom. As far as support and bugs, I think we have done fairly well. Enfocus has spent the last year in snapshot mode because I wanted to get enough real world usage to vet out bugs. I am happy to report we are currently vetting the 1.0.0 release candidate and I personally feel its production grade at this point. If you have any questions ping me on twitter @crkirkendall or post a message to enfocus users group. http://groups.google.com/group/enfocus Creighton Kirkendall On Tuesday, February 12, 2013 7:22:03 AM UTC-5, faenvie wrote: > > hi clojure-users, > > as i am thinking about using enfocus ( > http://ckirkendall.github.com/enfocus-site/) for building > up the clientside-logic for a new site, i am interested in reports of > people who have done so > already. i am esp curious about how the development-process works out and > what main-problems > are experienced, running the site. > > thanks & have a successful day > -- -- 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/groups/opt_out.
Re: who uses enfocus/clojurescript in the wild ?
I recently added support for xpath and custom selectors in addition to the standard ccs3 selector. I added these to get around some of the limitations of goog.dom.query and querySelector. I would be interested in your specific use case to see if we can't provide a custom selector to handle it. CK On Tuesday, February 12, 2013 8:01:11 AM UTC-5, Herwig Hochleitner wrote: > > I have successfully used ClojureScript to write a Car2Go App for > Blackberry: http://appworld.blackberry.com/webstore/content/19205189/ > The big challenge there was actually the volatile platform (mandatory > battery pulls after reading the geolocation anyone?), while ClojureScript > has played along gorgeously. > > I tried enfocus at first, but then I decided to port enlive to > ClojureScript, to get a consistent selector behavior between server and > client. > Also the missing root selector (impossible in enfocus with > element.querySelector) was a dealbreaker. > > -- -- 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/groups/opt_out.
Re: who uses enfocus/clojurescript in the wild ?
We use the following setup: - server side: ring/compojure/valip/friend/enlive/hiccup (plus the libs to support any rdbms or nosql db) - client side: valip/domina/enfocus/hiccups (and d3 + c2 for data visualization). We were able to share both valip validator and the html template between the client and the server code. Mimmo On Feb 12, 2013, at 2:19 PM, Herwig Hochleitner wrote: > Also, my dev setup: > > - two build profiles via lein-cljsbuild: one debug, one optimized > - "lein ring server" for local dev, handler accepts ?debug=true > - "lein cljsbuild auto" in the background > - occasionally a browser-repl in emacs inferior-lisp > > The main difficulty regarding ClojureScript itself is debugging errors on a > javascript level. > It's still very doable just not up to par yet. > > -- > -- > 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/groups/opt_out. > > -- -- 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/groups/opt_out.
Re: who uses enfocus/clojurescript in the wild ?
2013/2/12 ckirkendall > I recently added support for xpath and custom selectors in addition to the > standard ccs3 selector. I added these to get around some of the > limitations of goog.dom.query and querySelector. I would be interested in > your specific use case to see if we can't provide a custom selector to > handle it. My (rather unspecific) use case is: The same selector syntax (and semantics) for server- and client side. As soon as I've also fully ported the templating stuff: hopefully server and client templates from the same source. My syntax compiler is a straight port of enlive's state-machine-generator, so with enfocus' support for custom selectors, it might be feasible to offer enlive selectors in enfocus based on that port. If you are interested in that, let me know. I'll gladly share the code and experiences from porting, I just don't want to do a public release yet. -- -- 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/groups/opt_out.
Re: who uses enfocus/clojurescript in the wild ?
oops, I forgot to cite shoreleave..for ajax stuff. mimmo On Feb 12, 2013, at 3:00 PM, Giacomo Cosenza wrote: > We use the following setup: > > - server side: ring/compojure/valip/friend/enlive/hiccup (plus the libs to > support any rdbms or nosql db) > - client side: valip/domina/enfocus/hiccups (and d3 + c2 for data > visualization). > > We were able to share both valip validator and the html template between the > client and the server code. > > Mimmo > > On Feb 12, 2013, at 2:19 PM, Herwig Hochleitner wrote: > >> Also, my dev setup: >> >> - two build profiles via lein-cljsbuild: one debug, one optimized >> - "lein ring server" for local dev, handler accepts ?debug=true >> - "lein cljsbuild auto" in the background >> - occasionally a browser-repl in emacs inferior-lisp >> >> The main difficulty regarding ClojureScript itself is debugging errors on a >> javascript level. >> It's still very doable just not up to par yet. >> >> -- >> -- >> 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/groups/opt_out. >> >> > -- -- 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/groups/opt_out.
Re: who uses enfocus/clojurescript in the wild ?
I would be very interested in your code. Awhile back I did add support for most enlive selectors to enfocus. So you can use something like [:td :#id1] in your enfocus templates. This does have limitations though. I also have been working on adding string css3 selector support to enlive through a simple compiler that would take a valid css3 selector and produce an enlive selector. I haven't gotten a lot of time to work on it, but the parser phase is pretty complete. It would also make a good basis for pure clojurescript selector engine like Sizzle instead of using goog.dom.query. CK On Tuesday, February 12, 2013 9:09:27 AM UTC-5, Herwig Hochleitner wrote: > > 2013/2/12 ckirkendall > > >> I recently added support for xpath and custom selectors in addition to >> the standard ccs3 selector. I added these to get around some of the >> limitations of goog.dom.query and querySelector. I would be interested in >> your specific use case to see if we can't provide a custom selector to >> handle it. > > > My (rather unspecific) use case is: The same selector syntax (and > semantics) for server- and client side. > As soon as I've also fully ported the templating stuff: hopefully server > and client templates from the same source. > > My syntax compiler is a straight port of enlive's state-machine-generator, > so with enfocus' support for custom selectors, it might be feasible to > offer enlive selectors in enfocus based on that port. > If you are interested in that, let me know. I'll gladly share the code and > experiences from porting, I just don't want to do a public release yet. > > -- -- 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/groups/opt_out.
Re: who uses enfocus/clojurescript in the wild ?
thank you for the replies. it is also no surprise, that there are rough edges and uncertainties at the moment. enfocus is on my radar because i have worked with enlive on the serverside before. So herwigs argument "The same selector syntax (and semantics) for server- and client side" holds for me too. hmm ... i will probably invest in some further evaluations, experiments and hammock-time before i start with the site. luckily for me, there is not much time-pressure on this atm ... thanks again & have a successful time -- -- 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/groups/opt_out.
Re: who uses enfocus/clojurescript in the wild ?
2013/2/12 ckirkendall > I would be very interested in your code. Awhile back I did add support > for most enlive selectors to enfocus. So you can use something like [:td > :#id1] in your enfocus templates. Have a look at https://gist.github.com/bendlas/4942735 Feel free to use what you like, or to coerce me into making it a proper library ;-) > This does have limitations though. I also have been working on adding > string css3 selector support to enlive through a simple compiler that would > take a valid css3 selector and produce an enlive selector. I haven't > gotten a lot of time to work on it, but the parser phase is pretty > complete. It would also make a good basis for pure clojurescript selector > engine like Sizzle instead of using goog.dom.query. As part of my ongoing work to factorize enlive, i have already lifted all of the enlive selector predicates to a zipper level, which should make them pretty easily reusable for the dom: https://gist.github.com/bendlas/4942791 cheers -- -- 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/groups/opt_out.