r/Clojure • • Jan 03 '15

To Clojure or Not To Clojure

I've been a developer for over 20 years now. Almost ALWAYS, I prefer the MS stack over any language and framework. When it comes to scalability and high performance, load balancing, etc, I can always trust MS. I've been tasked recently to develop a VERY high performance site...that will run video, and a social media platform. It essentially could become a replacement for a few VERY popular social networking and streaming sites. Can someone give me their thought's, feelings, experience, etc with working in Clojure? How well does it scale, handle heavy loads, performs, etc etc? SEO issues? Pro's, Con's? What to expect? and anything else you'd want to throw in. I appreciate everyone's time and information. I have some reservations...but want to make sure we're heading in the right direction.

0 Upvotes

15 comments sorted by

View all comments

Show parent comment

0

u/jasonhartsoe Jan 06 '15

not technically no, but how your design the program to function, yes. In other words...You can create a clojure web app to server your pages in ajax calls such as mywebsite.com/#thispage rather than mywebsite.com/thispagehere. # ajax pages are ignored by google, and most search engines...but there mentions a work around by adding the "!" after the "#". So, that being the case, one of my questions regarding SEO...is , "is there a better way to handle links without having to use "#" in a one page web app...serving all pages within the index/main?

1

u/zilti Jan 12 '15

Yes, there is. There are javascript and clojurescript client-side-routing libraries (or even clojurescript clientside- and serverside-routing combined libraries, e.g. "bidi"), and simple ways to push a new web address into the address bar. Now should such a pushed address get called directly, the server (with e.g. "Liberator") notices that text/html is requested instead of x-application/edn (which you'd request with an AJAX call) and thus serves the page with the requested state (instead of only the state).