On Thursday, 23 July 2015, Gary Schiltz <[email protected]> wrote: > > If I were writing it in Swing for the desktop, I'd create a top level > frame, populate it with a bunch of nested panels to group widgets like > buttons, text fields, text areas, etc, use some layout managers to make it > display nicely when resized, and attach event listeners to the interactive > widgets. I could use seesaw (https://github.com/daveray/seesaw) to write > in Clojure instead of Java to interact with Swing. Is there an equivalent > ClojureScript library that similarly interacts with some JavaScript widget > library? >
React/Om works mostly like that, except that you use CSS as your layout manager. I'm not too sure about accessing files directly from a webpage, though. There may be security restrictions there. If you want to do anything with web technologies, you really have to spend some time learning HTML and CSS, even if you don't intend to write them yourself. Maybe in the future there will be rich enough sets of premade widgets, but my feeling is that at this point you have to understand your compilation target. -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/clojurescript.
