Displaying 20 results from an estimated 3000 matches similar to: "+ Camping::FastCGI"
2006 Aug 13
3
+ migrations in camping
Camping apps are supposed to be little independent apps, often contained in a
single file, which create the database tables and manage them without hassle.
These days it''s common to see in a Camping app:
module Tepee::Models
def self.schema(&block)
@@schema = block if block_given?
@@schema
end
end
Tepee::Models.schema do
create_table :tepee_pages,
2006 Oct 03
4
! camping 1.5 + markaby 0.5
Not too different from their corresponding last releases, but documentation
has been filled in for both.
To upgrade:
gem install camping --source code.whytheluckystiff.net
And, here is a complete changelog:
== Camping 1.5
* Camping::Apps stores an array of classes for all loaded apps.
* bin/camping can be given a directory. Like: <tt>camping examples/</tt>
* Console mode -- thank
2006 May 16
0
! camping 1.4.1.96
I''m just about ready to release 1.4.2. Here''s the pre-release:
gem install camping --source code.whytheluckystiff.net
The biggest recent change is that the Camping commandline tool now
allows mounting of several apps. I''ve eliminated examples/serve and am
encouraging use of the camping tool. Instead, use:
camping examples/blog/blog.rb examples/tepee/tepee.rb
2006 Jul 06
0
+ camping 1.4.120
Okay, let''s see.
gem install camping --source code.whytheluckystiff.net
A bunch of great stuff.
* Camping::Apps stores constants for all loaded apps.
* bin/camping can be given a directory. [1]
Like: camping examples/
* Console mode -- thank zimbatm.
Use: camping -C yourapp.rb
* Call controllers with Camping.method_missing.
Tepee.get(:Index) #=> (Response)
2006 Jul 18
3
+ camping 1.4.138
Just up:
gem install camping --source code.whytheluckystiff.net
The changes:
* Both bin/camping and Camping::FastCGI.serve now act according to the
Camping Server specification.[1]
* Docs are complete.
_why
[1] https://code.whytheluckystiff.net/camping/wiki/TheCampingServer
2006 Jul 25
3
+ camping 1.4.140 -- apache+fastcgi, lighttpd+fastcgi
Okay, I have tested mounting several of my apps under Lighttpd and Apache,
both running FastCGI. I''m going to explain the configuration, but first:
update.
gem install camping --source code.whytheluckstiff.net
== Mounting Root for Lighttpd+FastCGI ==
server.port = 3045
server.bind = "192.168.0.103"
server.modules = (
2007 Jan 22
4
Postamble vs campingrc
Hi,
Should I be able to use the Webrick postamble instead of using
.campingrc, to tell Camping I want to use mysql? It doesn''t seem to
be working for me. It does work however, when I''m using FastCGI
(establish_connection :adapter => ''mysql'').
James
2006 Jul 18
4
intro
Hi !!!
I''ve just seen this message on
http://redhanded.hobix.com/inspect/theCampingServer.html
I''d really like to see distributions offer a package which would allow
simple setup of TheCampingServer, just as you see with PHP. If you''re
interested in seeing this happen for the upcoming Camping 1.5 release,
introduce yourself on the
2006 Jul 12
1
+ camping 1.4.123
And now:
gem install camping --source code.whytheluckystiff.net
I hope this will be the last development release before 1.5.
* ActiveRecord no longer required or installed.
* If you refer to Models::Base, however, ActiveRecord will be loaded
with autoload. (see lib/camping/db.rb)
* new Camping::FastCGI.serve which will serve a whole directory of apps
(see TheCampingServer[1])
*
2006 Feb 21
6
+ camping/session
Camping now comes with a sessioning class, checked in tonight.
To get sessions working for your application:
1. require ''camping/session''
2. include Camping::Session in your application''s toplevel module.
3. In your application''s create method, add a call to
Camping::Models::Schema.create_schema
4. Throughout your application, use the @state
2007 Mar 28
1
Pimpin'' a patch: moving the bin/camping logic to classes
Hello,
Zimbatm suggested the best way to push a patch into camping was to
take my case to the people. So here it is. If you want to jump
straight to the patch:
http://code.whytheluckystiff.net/camping/ticket/117
Goal: Move the logic in the camping command line launcher into several classes
Why? In the next version of parasite (http://parasite.rubyforge.org)
I''d like to take over
2007 Feb 14
0
Linking between Camping apps?
I''ve been working with Camping for a little while, reading through the
examples. The "Small Apps, Many Mounts" idea makes sense, and
interacting with other apps'' models (using the full class name) works
just as it should.
But what is the best way to include links to other mounted applications?
As a toy example, I''m trying to add links to the pages in the Tepee
2007 Jan 06
4
? camping apps in gems
So would you like this:
$ wget http://rubyforge.org/gems/junebug-0.0.18.gem
$ camping junebug-0.0.18.gem
Or should it be:
$ gem install junebug
$ touch junebug.gemcamp
$ camping junebug.gemcamp
_why
2007 Aug 10
0
Reloader, Mounts, FastCGI
I''m trying to figure out how to get the Reloader to work with this kind
of a setup:
(from http://camping.rubyforge.org/classes/Camping/FastCGI.html)
---
require ''camping/fastcgi''
fast = Camping::FastCGI.new
fast.mount("/blog", Blog)
fast.mount("/tepee", Tepee)
fast.mount("/", Index)
fast.start
Tried a bunch of different variations
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 Apr 11
0
! camping 1.4
Okay, Camping 1.4 is out.
gem install camping --source code.whytheluckystiff.net
The only recent change is that the request body gets store in the @in
variable as an open stream. It''s also okay to pass an IO object out of
Camping.
Lastly, Camping + Mongrel (SVN) now supports the X-Sendfile header. [1]
Very swift and cool.
_why
[1]
2007 Jan 06
0
! camping 1.5.180
Just a few minor changes released before I add gem support.
* R() now accepts a Hash in its arguments which can be used to build a query
string.
R(Topic, @topic.id, :page => 24) #=> "/topic/14?page=24"
* Base#to_a, discussed here.[1] Can be used to forward requests.
Both the camping and camping-omnibus gems are fresh.
gem install camping-omnibus --source
2006 May 22
0
+ camping 1.4.103 and markaby 0.4.55
Consider this Camping 1.5 pre-release.
gem install camping --source code.whytheluckystiff.net
Look for:
* The new Markaby features.
<http://redhanded.hobix.com/inspect/lessMethod_missingInMarkaby.html>
<http://redhanded.hobix.com/inspect/markabySMagicPermeationBranch.html>
* The Camping::FastCGI class.
* R(C, ...) properly escapes wacky arguments.
_why
2006 Oct 31
0
! camping-omnibus 1.5.176
gem install camping-omnibus --source code.whytheluckystiff.net
Considering the number of optional dependencies now in Camping, I''ve put
together an eigengem which will load all of the recommended libraries that most
devoted campers will want: ActiveRecord, Mongrel, SQLite3, RedCloth and the
acts_as_versioned gem. (Those last two are used in the examples.)
Stuff like mosquito and
2006 Mar 07
0
! camping 1.3.73
In gems or SVN now:
gem install camping --source code.whytheluckystiff.net
Primarily:
* Sessioning was broken, reported by Ken Allen.
* Removed lib/camping/mongrel.rb, since Mongrel does all that now.
* More docs.
* Updated to Markaby 0.3.29, which is less of a memory hog.
_why