I am a long time rails developer looking for a new framework which is leaner and less complex than rails. Camping appeals to me for a lot of reasons but I am curious about how a moderately conplex app would look like in camping. In rails my Gemfile is full of third party libraries and I am wondering if they will all (or most) work with camping. My guess is that they won''t and I am worried that I will have to code up all kinds of functionality I take for granted in the rails world. Maybe that''s a good thing but I wanted to ask you guys about your experience in taking advantage of other people''s work. Cheers.
Hi Tim! Camping is a great choice. It''s really lean, and quite robust and well performing. So far as rails plugins go - the default choice of database adaptors for Camping is ActiveRecord - so most ActiveRecord-related rails plugins will work. Camping doesn''t have things like rail''s form builders and validators and the likes, and it also doesn''t have activesupport. You might find that installing the activesupport gem and requiring it at the start of your app makes more rails specific code work, by adding in support for things like String#ends_with? Overall, there really isn''t very much to miss. Camping provides what you need of controllers and views, while the outer shell of rack provides extras you might like. A sampler box of rack features might have some of these: Several flavours of session storage and cookies - including the fastest variety, used by the likes of google and yahoo; Stream compression filters, to gzip whatever you send out, streamlining cinematic immersion and minimising wasted bytes; http validators; html validators; url mapping to bundle several camping apps together in to one; the option of picking and choosing - you can use camping for some of your app and rails or any of the rest for another part. I suppose the best feature of camping is the community though. If there''s anything you need there''s surely someone happy to help. ? Bluebie On 30/08/2011, at 8:40 PM, Tim Uckun wrote:> I am a long time rails developer looking for a new framework which is > leaner and less complex than rails. Camping appeals to me for a lot > of reasons but I am curious about how a moderately conplex app would > look like in camping. In rails my Gemfile is full of third party > libraries and I am wondering if they will all (or most) work with > camping. My guess is that they won''t and I am worried that I will have > to code up all kinds of functionality I take for granted in the rails > world. > > Maybe that''s a good thing but I wanted to ask you guys about your > experience in taking advantage of other people''s work. > > Cheers. > _______________________________________________ > Camping-list mailing list > Camping-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/camping-list
I''ve got five camping apps in production. They''re mostly CRUDs with some basic searching/e-mailing/etc. I use a few third party libraries; haml, paper_trail, rack/csrf and redcloth being the main ones. I haven''t had too much need beyond those but your mileage will vary obviously. What Camping lacks is a lot of the fluff, but that''s what I like the most about it. It keeps things simple. Dave On Tue, Aug 30, 2011 at 6:56 AM, Jenna Fox <a at creativepony.com> wrote:> Hi Tim! > > Camping is a great choice. It''s really lean, and quite robust and well performing. So far as rails plugins go - the default choice of database adaptors for Camping is ActiveRecord - so most ActiveRecord-related rails plugins will work. Camping doesn''t have things like rail''s form builders and validators and the likes, and it also doesn''t have activesupport. You might find that installing the activesupport gem and requiring it at the start of your app makes more rails specific code work, by adding in support for things like String#ends_with? > > Overall, there really isn''t very much to miss. Camping provides what you need of controllers and views, while the outer shell of rack provides extras you might like. A sampler box of rack features might have some of these: Several flavours of session storage and cookies - including the fastest variety, used by the likes of google and yahoo; Stream compression filters, to gzip whatever you send out, streamlining cinematic immersion and minimising wasted bytes; http validators; html validators; url mapping to bundle several camping apps together in to one; the option of picking and choosing - you can use camping for some of your app and rails or any of the rest for another part. > > I suppose the best feature of camping is the community though. If there''s anything you need there''s surely someone happy to help. > > > ? > Bluebie > > On 30/08/2011, at 8:40 PM, Tim Uckun wrote: > >> I am a long time rails developer looking for a new framework which is >> leaner and less complex than rails. ?Camping appeals to me for a lot >> of reasons but I am curious about how a moderately conplex app would >> look like in camping. ?In rails my Gemfile is full of third party >> libraries and I am wondering if they will all (or most) work with >> camping. My guess is that they won''t and I am worried that I will have >> to code up all kinds of functionality I take for granted in the rails >> world. >> >> Maybe that''s a good thing but I wanted to ask you guys about your >> experience in taking advantage of other people''s work. >> >> Cheers. >> _______________________________________________ >> Camping-list mailing list >> Camping-list at rubyforge.org >> http://rubyforge.org/mailman/listinfo/camping-list > > _______________________________________________ > Camping-list mailing list > Camping-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/camping-list >-- Dave
On Wed, Aug 31, 2011 at 1:33 AM, David Susco <dsusco at gmail.com> wrote:> I''ve got five camping apps in production. They''re mostly CRUDs with > some basic searching/e-mailing/etc. I use a few third party libraries; > haml, paper_trail, rack/csrf and redcloth being the main ones. I > haven''t had too much need beyond those but your mileage will vary > obviously. > > What Camping lacks is a lot of the fluff, but that''s what I like the > most about it. It keeps things simple. >I like the promise of simplicity too. What are you using for Authentication? Does simple_form or formtastic work with camping or do you use something else for that? I like Typus as a quick way to put up admin sites does anybody know if it works with camping? Has anybody tried whenever? I presume will paginate, chronic etc will work as long as I stick with AR (although honestly I want to try something other than AR too).
I don''t know about any of that, but in regards to authentication, I just use openid! It only takes about twenty lines in a controller to support, and is secure (even if you don''t have https on your site), saves your users time, respects their privacy, means you don''t need to worry about safely storing passwords or any other secrets, and you don''t have to build login/signup/password reset forms - one simple copy pasteable controller, one login form, and you''re done! I stuck my openid code up here: http://creativepony.com/archive/journal/scripts/camping-openid-consumer/ - you''ll also need the openid rubygem ? Jenna On 31/08/2011, at 8:20 AM, Tim Uckun wrote:> On Wed, Aug 31, 2011 at 1:33 AM, David Susco <dsusco at gmail.com> wrote: >> I''ve got five camping apps in production. They''re mostly CRUDs with >> some basic searching/e-mailing/etc. I use a few third party libraries; >> haml, paper_trail, rack/csrf and redcloth being the main ones. I >> haven''t had too much need beyond those but your mileage will vary >> obviously. >> >> What Camping lacks is a lot of the fluff, but that''s what I like the >> most about it. It keeps things simple. >> > > I like the promise of simplicity too. What are you using for > Authentication? Does simple_form or formtastic work with camping or > do you use something else for that? I like Typus as a quick way to > put up admin sites does anybody know if it works with camping? Has > anybody tried whenever? > > I presume will paginate, chronic etc will work as long as I stick with > AR (although honestly I want to try something other than AR too). > _______________________________________________ > Camping-list mailing list > Camping-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/camping-list-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/camping-list/attachments/20110831/686a8631/attachment-0001.html>
whoa. Cool. Bookmarked. :) That would have saved me a lot of time last time I was messing with Camping. Thank you. :) On 8/30/11 6:49 PM, Jenna Fox wrote:> I don''t know about any of that, but in regards to authentication, I > just use openid! It only takes about twenty lines in a controller to > support, and is secure (even if you don''t have https on your site), > saves your users time, respects their privacy, means you don''t need to > worry about safely storing passwords or any other secrets, and you > don''t have to build login/signup/password reset forms - one simple > copy pasteable controller, one login form, and you''re done! > > I stuck my openid code up here: > http://creativepony.com/archive/journal/scripts/camping-openid-consumer/ > - you''ll also need the openid rubygem > > --- > Jenna > > > > On 31/08/2011, at 8:20 AM, Tim Uckun wrote: > >> On Wed, Aug 31, 2011 at 1:33 AM, David Susco <dsusco at gmail.com >> <mailto:dsusco at gmail.com>> wrote: >>> I''ve got five camping apps in production. They''re mostly CRUDs with >>> some basic searching/e-mailing/etc. I use a few third party libraries; >>> haml, paper_trail, rack/csrf and redcloth being the main ones. I >>> haven''t had too much need beyond those but your mileage will vary >>> obviously. >>> >>> What Camping lacks is a lot of the fluff, but that''s what I like the >>> most about it. It keeps things simple. >>> >> >> I like the promise of simplicity too. What are you using for >> Authentication? Does simple_form or formtastic work with camping or >> do you use something else for that? I like Typus as a quick way to >> put up admin sites does anybody know if it works with camping? Has >> anybody tried whenever? >> >> I presume will paginate, chronic etc will work as long as I stick with >> AR (although honestly I want to try something other than AR too). >> _______________________________________________ >> Camping-list mailing list >> Camping-list at rubyforge.org <mailto:Camping-list at rubyforge.org> >> http://rubyforge.org/mailman/listinfo/camping-list > > > > _______________________________________________ > Camping-list mailing list > Camping-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/camping-list-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/camping-list/attachments/20110830/e5d04980/attachment.html>
Will paginate recently added native Sinatra support, but camping may require so e workarounds with regards to view handlers. I must say, the camping list is super friendly and, although quiet, very responsive when something crops up. On Wednesday, August 31, 2011, Jenna Fox <a at creativepony.com> wrote:> I don''t know about any of that, but in regards to authentication, I justuse openid! It only takes about twenty lines in a controller to support, and is secure (even if you don''t have https on your site), saves your users time, respects their privacy, means you don''t need to worry about safely storing passwords or any other secrets, and you don''t have to build login/signup/password reset forms - one simple copy pasteable controller, one login form, and you''re done!> > I stuck my openid code up here:http://creativepony.com/archive/journal/scripts/camping-openid-consumer/ - you''ll also need the openid rubygem> ? > Jenna > > > On 31/08/2011, at 8:20 AM, Tim Uckun wrote: > > On Wed, Aug 31, 2011 at 1:33 AM, David Susco <dsusco at gmail.com> wrote: > > I''ve got five camping apps in production. They''re mostly CRUDs with > > some basic searching/e-mailing/etc. I use a few third party libraries; > > haml, paper_trail, rack/csrf and redcloth being the main ones. I > > haven''t had too much need beyond those but your mileage will vary > > obviously. > > What Camping lacks is a lot of the fluff, but that''s what I like the > > most about it. It keeps things simple. > > > I like the promise of simplicity too. What are you using for > Authentication? Does simple_form or formtastic work with camping or > do you use something else for that? I like Typus as a quick way to > put up admin sites does anybody know if it works with camping? Has > anybody tried whenever? > > I presume will paginate, chronic etc will work as long as I stick with > AR (although honestly I want to try something other than AR too). > _______________________________________________ > Camping-list mailing list > Camping-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/camping-list > >-- ----=^.^=--- -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/camping-list/attachments/20110831/cd16d84f/attachment.html>
I had to tie into an LDAP db so I just used net/ldap and a class I wrote. I had problems getting will_paginate to work. I eventually just hacked together something else. It doesn''t really amount to much more than what I was having to do with will_paginate, so it works for me. :P Dave On Tue, Aug 30, 2011 at 6:20 PM, Tim Uckun <timuckun at gmail.com> wrote:> On Wed, Aug 31, 2011 at 1:33 AM, David Susco <dsusco at gmail.com> wrote: >> I''ve got five camping apps in production. They''re mostly CRUDs with >> some basic searching/e-mailing/etc. I use a few third party libraries; >> haml, paper_trail, rack/csrf and redcloth being the main ones. I >> haven''t had too much need beyond those but your mileage will vary >> obviously. >> >> What Camping lacks is a lot of the fluff, but that''s what I like the >> most about it. It keeps things simple. >> > > I like the promise of simplicity too. ?What are you using for > Authentication? ?Does simple_form or formtastic work with camping or > do you use something else for that? ?I like Typus as a quick way to > put up admin sites does anybody know if it works with camping? Has > anybody tried whenever? > > I presume will paginate, chronic etc will work as long as I stick with > AR (although honestly I want to try something other than AR too). > _______________________________________________ > Camping-list mailing list > Camping-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/camping-list >-- Dave
> > I stuck my openid code up here: http://creativepony.com/archive/journal/scripts/camping-openid-consumer/ > - you''ll also need the openid rubygemJenna - thanks for that. It might just be exactly what I need... - DaveE -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/camping-list/attachments/20111007/b8501a61/attachment-0001.html>