similar to: camping - inspiring new way to write applications

Displaying 20 results from an estimated 2000 matches similar to: "camping - inspiring new way to write applications"

2008 Jan 10
14
Keeping Camping going
Hello all, I''m not sure who Camping''s steward is at this point(zimbatm? _why?), but I haven''t seen much activity in quite some time. I really like Camping, and I understand open source projects can fall by the wayside. So, I''d be willing to take over maintenance and releasing. I have experience maintaining my own open source projects, and a history of
2006 Jul 25
3
[UHH] any blogs sprung from camping?
Hal Fulton has been e-mailing me about putting together a simple blogging package for Camping. Perhaps start with the blog in the examples and add a few things. Does anyone here want to collaborate with him? Or do any of you have your own works to offer? He''s mentioned he wants something with its own template syntax, but I think he could hack that in. _why
2006 Nov 14
3
[UHH] any blogs sprung from camping?
Hello, I just joined the camping list. I was trolling the archives when I saw this: -- The biggest problem in Camping is authentication. This is a problem I propose to solve by providing an extension. That little bit of code uses the path to allow/disallow urls. That way it is unobstrusive. In the future I would also like to make an OpenID client and server for Camping. -- I was wondering if
2007 Sep 23
12
Next camping release
Dear camping users, having been contacted by Julian Tarkhanov, I am willing to prepare the next camping release. _why has given me his friendly approval, with the reserve that camping.rb should be lower than 4k. He also told me that he wanted to remove the ActiveSupport and Markaby dependencies. I am writing here to get the users input so that I don''t do any mistake. So far, my plans
2007 Sep 27
14
Camping and ruby2ruby
Hi everybody, I would like to use ruby2ruby in a caming project, but there seems to be an incompatibility with camping, ruby2ruby and markaby. Unfortunately I receive strange Markaby::InvalidXhtmlErrors. To demonstrate, that only combination of all three components causes the problem I added the following code. I relies on Markaby and ruby2ruby only and works fine (a.k.a. as expected).
2008 May 21
32
Rack, Camping 2.0++
=== 1. Camping on Rack === I''ve just finished rewriting Camping to use Rack in the "core". I got rid of (a little less) than 1kB in camping.rb and removed lots of un-necessary files (lib/server/*.rb, fastcgi.rb & mongrel.rb). bin/camping does now only provide WEBrick, Mongrel and console-support and should only be used in development. It uses Rack::ShowExceptions to catch
2008 May 28
3
Plug-in support for Camping Apps
# camping_plugin.rb # plug-in support for Camping Apps # require ''lib/camping_plugin'' # override R helper method to your liking :-) module Camping module PluginHelpers def R_with_module(c,*g) p,h=/\(.+?\)/,g.grep(Hash) g-=h raise "bad route" unless u = c.urls.find{|x| break x if x.scan(p).size == g.size &&
2007 Nov 06
5
textarea fails on rows attribute
Hi, Camping 1.5.180 Ruby 1.8.6 It looks like Camping is choking on the ''rows'' attribute for input tags: input(:name => ''cuid'', :type => ''text'', :size => 10, :rows => 3) That will fail with: Markaby::InvalidXhtmlError no attribute `rows'' on input elements:
2006 Aug 01
3
starting fresh
trying to get the example blog running under Apache/FastCGI with Camping 1.4.143 anyone using Apache/FastCGI in here? does not seems to be possible to use with Camping. anyone got better luck? this is my postamble if __FILE__ == $0 Blog::Models::Base.establish_connection :adapter => ''sqlite3'', :database => ''examples.db'' Blog::Models::Base.logger =
2006 Oct 05
1
+ camping and mongrel issues
I''ve been having some trouble with certain apps under Camping with Mongrel, particularly when lots of static files get served. So, I''ve borrowed some ideas from the RailsHandler and tightened up the Mongrel::Camping classes which come with Mongrel. If you''re having any troubles or want to test it out, update from Mongrel SVN and then `rake install`. It should produce
2007 Apr 18
10
customizing global request handler
what is the cleanest way to do something for every request of a particular type (Verb, and Content-Type header)? i''m trying to figure out if shipping a custom camping.rb is avoidable, and if, how i should structure a patch my app http://whats-your.name/yard/ uses exclusively JSON based messaging between server and client. this means POST bodies are JSON, and not querystring.. camping
2006 Jul 27
2
more on file upload
well, so File upload seems to be only working under mongrel. I have not tried it, but Camping crash extracting the request parameters on both CGI and FastCGI. I''m looking at rails code for inspiration, but it''s a bit outside of my knowledge..... not sure what to do with a FCGI::Stream object ..... this is what rails do for CGI, I''m not sure if it works the same for
2007 Oct 15
2
Something is wrong with Camping::H in the svn version
Dear All, I got az error message with the svn version of Camping under FastCGI NoMethodError undefined method `user_id'' for {"user_id"=>2}:HashWithIndifferentAccess: The call was a simple "User.find @state.user_id" in my login controller... The following libraries are loaded manually: action_controller, action_view, mime/types, camping, camping/mab,
2006 Aug 01
6
warning and errors
i got my app to run fine on one server, but I moved it to another and huge problem started.... I''ve been trying various things for 3 hours now, I can''t get it to work.... I am getting this error. Exception `TypeError'' at (eval):542 - superclass mismatch for class NotFound I am using the same camping.rb, apps starts in CGI but not in Apache/FastCGI. while it works fine
2006 Oct 22
3
Date Helpers?
Does anyone have any ideas off the top of there head how to easily construct a date helper as one would see in Rails? Thanks, Michael Gorsuch http://www.styledbits.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/camping-list/attachments/20061022/7dda5a52/attachment.html
2006 Jul 24
18
difference between running unabridged
22 sudo mv camping.rb camping-abridged.rb 23 sudo mv camping-unabridged.rb camping.rb when running into problems, the abridged version of camping is rather difficult to debug. so I''m moving to unabridged, but I''m getting this error. [Mon Jul 24 15:50:18 2006] [error] [client 192.168.11.100]
2006 Nov 14
11
RESTful mixin, mixin repo?
Hi, I just put together a little mixin to provide pseudo-RESTful services in camping apps. Basically, it looks for a hidden _verb field in form posts, and sets the @method to the supplied value (e.g. put or delete - which browsers don''t support). This lets you define put and delete methods in your controllers. Groovy. Code: http://pastie.caboo.se/22613 Is there any permanent repo of
2007 Oct 05
8
Cookie session handling?
Hi, I and a few folks on #camping thought it would be nice to have either cookie based or file based session handling. This would eliminate the need for creating a sessions table in the database (or a sequence), which feels too heavy for a lightweight framework like Camping anyway. Plus, we can more easily avoid nasty adapter errors. :) The general consensus was to create a separate
2007 Sep 25
13
Session cookies not passed on first redirect
Hello Campers! Is it just me or does Camping init the session twice on a redirect? If I have an app and when the user visits it for the first time, a session is generated. Afterwards I redirect the user in a service (that basically does auth) and he gets bounced to the login page - but when I arrive at the login page my SID somehow has changed :-( so there is a stale session dangling
2007 Nov 18
14
css image url''s and :img problem
Hi, i have this controller class to serve static files. It works well for the stylesheet file under a /static directory, locating it, but the images referenced in the stylesheet do not appear. They are in the same /static folder, next to the stylesheet.css file. link :rel => ''stylesheet'', :href => R(Static, ''stylesheet.css''), :type =>