> Well there are many usefull libs for web development you can choose this and > that combine them and get something. > But from newbie perspective it's kind of a difficult question where to start > from, what to use, what good practice is. > What lib to use for persistance with Mysql, Postgre, for Mongo, is there > alternative to Backbone here, how make site reactive, how to use ajax, is > there MVC pattern or there is no any and so on. > How can i test my app, what best libs for that and what best practices. > How can i deploy my app, what tools i can use for that. > What debbuging tools can i use. > Is there any special IDE or plugin to existing IDE for fast and convinient > web development. Simple case - lein can autoreload/autocompile code for > ClojureScript but how about a project?
These are all documentation issues. It's not that documentation doesn't exist, but I think one consolidated location telling telling the entire story of Clojure web development would be extremely helpful for people looking to answer the questions you have listed. > And still if Noir is like Sinatra for not too big sites and projecst and > Rails is like a pro maybe there should be something like a pro at Clojure. I think this is really an issue of combining the right existing components, and knowing what those right components are for a given situation. On Fri, Sep 28, 2012 at 12:30 PM, goracio <[email protected]> wrote: > "lein new noir my-app > cd my-app > lein run" > > Yes i already made pull request to update README file with this. > > Well there are many usefull libs for web development you can choose this and > that combine them and get something. > But from newbie perspective it's kind of a difficult question where to start > from, what to use, what good practice is. > What lib to use for persistance with Mysql, Postgre, for Mongo, is there > alternative to Backbone here, how make site reactive, how to use ajax, is > there MVC pattern or there is no any and so on. > How can i test my app, what best libs for that and what best practices. > How can i deploy my app, what tools i can use for that. > What debbuging tools can i use. > Is there any special IDE or plugin to existing IDE for fast and convinient > web development. Simple case - lein can autoreload/autocompile code for > ClojureScript but how about a project? > > So examples and good updated guides/online book does matter. > There should be clear point about why Clojure and Clojure applied to web > better then others, how it can solve problems better then others. > > How can i recommend others to use Clojure and how i answer the question "So > what about clojure is there any good framework to start with and what i can > do with that" ? > I am not talking about absence of any guides and recommendations about web > dev in Clojure there are couple good examples but they are outdated. > > And still if Noir is like Sinatra for not too big sites and projecst and > Rails is like a pro maybe there should be something like a pro at Clojure. > > > пятница, 28 сентября 2012 г., 19:37:05 UTC+4 пользователь Sean Corfield > написал: >> >> The lein-noir plugin works with lein2 so you can just say: >> >> lein new noir my-app >> cd my-app >> lein run >> >> The webnoir.org website seems to provide reasonable documentation on >> getting started. If you have suggestions to improve the documentation, I'm >> sure Chris would be happy to receive them (I suspect the webnoir.org site is >> also a repo on github so you can send pull requests). >> >> I ported my web framework FW/1 from CFML to Clojure for my own use but >> feel free to check that out too. Again, the simple lein2 approach works: >> >> lein new fw1 my-app >> cd my-app >> lein run >> (or PORT=8123 lein run to use a different port) >> >> Documentation is minimal because it's deliberately a simple framework but >> there's an example app, also ported from the CFML version, and more docs on >> the CFML version's github repo - plus a fairly large user community for the >> CFML version :) >> >> I don't really thinks Rails-like frameworks fit with the Clojure way of >> thinking. As Chas said, we're more inclined to combine a number of libraries >> to help build an application than to use "frameworks". FW/1 uses Ring and >> Enlive and provides just a thin convention-based veneer over those to >> achieve most of what the CFML version has offered for three years :) >> >> Sean >> >> On Friday, September 28, 2012, goracio wrote: >>> >>> Hi >>> So i'd like to point to the problem here. Clojure web framework in google >>> get these results, at least for me >>> 1. noir >>> 2. stackoverflow question 2008 year >>> 3. stackoverflow question 2010 year >>> 4. joodo ( outdated thing developed by one person) >>> 5. Compojure ( routing dsl) >>> So there is no popular framework these days for clojure. >>> Noir is mostly Chris Granger thing. As he make Lighttable today Noir >>> developed by some other people ( or may be on person not sure). Main site >>> instructions are nice but already outdated ( lein2). No news, no blog, no >>> new features, no examples, no infrastructure. Lein new project, insert noir >>> in dependencies and you don't have working app, you must add :main and stuff >>> to work. What about testing ? no info, no structure, decide on your own. >>> It's no secret that web development today is biggest and popular trend. >>> If language and it's community have good web framework that language will >>> gain more popularity. >>> Take Ruby on rails it has over 30 core contributers, huuuge community, >>> active development, industry standart web development framework. Good >>> testing, development infrastracture, easy start, sprockets for js css >>> managment and so on. Also it has some books about testing and framework >>> itself which is good start point for newbies. >>> I like Clojure, for simplicity mostly. It has amazing power and i believe >>> it can be very good platform for web development. >>> So what i suggest : >>> Take 1 platform for web development in Clojure (for example noir as most >>> mature framework) . >>> Form working core group from 5-6 people. >>> Decide about name of the project ( or take Noir) >>> Make good site about it >>> Make a plan for development ( what core features should have first >>> version) >>> Make first version >>> Make couple good examples >>> Make good documentation and maybe a book ( community book for example on >>> github that will be online and updated frequently). >>> -------------- >>> http://www.playframework.org/ good example what site could be >>> Alternative to online book can be guides, as for ruby on rails >>> http://guides.rubyonrails.org/index.html >>> Another good news that there is nice web IDE for Clojure by Bodil Stokke >>> https://github.com/bodil/catnip. Super easy install, very nice insterface, >>> reactive interface ( no need for browser refresh, autorecompile when you >>> save ) web based ! and under active development, just perfect place for >>> newbies to start. So this project also can be added to Clojure Web framework >>> project. >>> Also we have ClojureScript so Clojure web framework would be perfect >>> place where this thing can shine. >>> Let's discuss. >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Clojure" group. >>> To post to this group, send email to [email protected] >>> Note that posts from new members are moderated - please be patient with >>> your first post. >>> To unsubscribe from this group, send email to >>> [email protected] >>> For more options, visit this group at >>> http://groups.google.com/group/clojure?hl=en >> >> >> >> -- >> Sean A Corfield -- (904) 302-SEAN >> An Architect's View -- http://corfield.org/ >> World Singles, LLC. -- http://worldsingles.com/ >> >> "Perfection is the enemy of the good." >> -- Gustave Flaubert, French realist novelist (1821-1880) > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to [email protected] > Note that posts from new members are moderated - please be patient with your > first post. > To unsubscribe from this group, send email to > [email protected] > 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 post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en
