<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://blog.gmane.org/gmane.comp.lang.ruby.camping.general">
    <title>gmane.comp.lang.ruby.camping.general</title>
    <link>http://blog.gmane.org/gmane.comp.lang.ruby.camping.general</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1924"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1906"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1905"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1902"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1879"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1878"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1869"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1868"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1855"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1837"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1803"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1796"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1770"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1764"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1761"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1758"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1754"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1751"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1702"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1648"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1924">
    <title>setting up the SQLite database</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1924</link>
    <description>&lt;pre&gt;I know this isn't Python, but I'd like to get a view on the 'one  
obvious' way to set up an SQLite (or other) database and its location  
per-app. I've got a bit lost with the Camping 2 changes and various  
code snippets I have kicking around.

1.
is it best to set up the DB creation/connection:

1.1
at the end of the app

AppName::Models::Base.establish_connection(
  :adapter =&amp;gt; 'sqlite3',
  :database =&amp;gt; '/path/to/my/app/myApp.db'
)
run AppName #from an old snippet

1.2
OR
like this (postgres) example [Magnus]:

def List.create
  List::Models::Base.establish_connection(
    :adapter =&amp;gt; "postgresql",
    :username =&amp;gt; "root",
    :password =&amp;gt; "toor,
    :database =&amp;gt; "list"
  )
  List::Models.create_schema
end

1.3
in a config/database.yml file [Magnus] (probably not worth it for  
SQLite):
---
adapter: postgresql
username: root
password: toor
database: mycampingdb

And then do:

require 'yaml'

def AppName.create
   
AppName 
::Models 
::Base.establish_connection(YAML.load(File.read("database.yml")))
  AppName::Models.create_schema
end


2.
since sqlite is the default, is it necessary to set :adapter  
explicitly if that's what I'm using?

def AppName.create
  AppName::Models::Base.establish_connection(
   :adapter =&amp;gt; 'sqlite3',
   :database =&amp;gt; '/path/to/my/app/.camping.db'
)
end


3.
Since .create is *only needed once* to set up the database (Magnus:  
"if you connect to a database which already has the tables, DON'T run  
`AppName::Models.create_schema` as this will probably delete the whole  
database.") what do we do with this after the first run:

def AppName.create
  AppName::Models.create_schema
end

3.1 delete it after the db is created on the first run?
3.2 check if the db already exists (best way, please)?
3.3 check like this (never understood ':assume'?):
AppName::Models.create_schema :assume =&amp;gt; (AppName::Models::  
table_name.table_exists? ? 1.0 : 0.0)
or could we do something simpler like (?):
AppName::Models.create_schema unless table_exists?(table_name)
?

4.
There's also this from a previous post (opinions please?):

"On the part of migrations ... "def self.up" and "def self.down" ...  
gave me errors for some reason. But ... it should be updated to "def  
self.change" ... that's the modern way of doing it."

DaveE
&lt;/pre&gt;</description>
    <dc:creator>Dave Everitt</dc:creator>
    <dc:date>2012-05-15T17:39:04</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1906">
    <title>Camping 1 click deployment is live! 1.ai - alpha users welcome !</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1906</link>
    <description>&lt;pre&gt;Hello Campers!
I am happy to announce that the camping 1 click deployment is now available at http://1.ai
The platform has been coded with camping (with some help from bash for the backend scripts) and it seems to work very well. 

We have spent some time to get sure that it would be secure and easy to use. After working on an easy and secure way to upload/manage files online etc. we have found an easier solution: fetch a github repository with a camping application and - with one click -deploy it online at yourname.1.ai

So how does this works ?
1 - you signup 
2 - after logging in you simply fetch your camping application from a github repository there is a sample hello world available at https://github.com/gurugeek/0ai and this is also explained in the app admin page
3 - after fetching (provided that this is a valid camping app and has a valid config.ru file) your application will be live.

The admin panel has all these instructions and if you try to fetch a non-camping application from a github repository it will return the relevant error. 

The system supports private repositories too (this said I wouldn't run something very secret and private on it!) but you would need to authorise the github user 1ai to access your private repository.

Github has a lot of wonderful features so I feel that this was the best solution without re-inventing the wheel. It is probably the fastest and easiest way to get your camping application up and running. 

Each application is securely isolated but all this is running in a traditional dedicated server (no virtual/cloud/droids) are employed. This should enhance the application performance. The server is also using only SSD (solid state drivers) that are not yet available in most of cloud providers (EC2, Rackspace cloud). 

I really appreciate your testing and comments so please go on and launch your shiny Camping app at
http://1.ai  !

A small caveat: The aim of this service is (hopefully) to promote camping (perhaps next with a programming contest with some cool prizes) but it is obviously not meant to replace a traditional hosting in the sense that there will be no tech support offered and the service is provided without any warranty. This doesn't mean that is not good enough to run any of your fancy Camping apps - just that you should not expect this to replace any professional hosting. 

Note on Databases:
-If you have an sqlite database in your github repository it should work just fine. If it works for you locally it should work fine on http://1.ai after the github fetch
-If you want to use CouchDB you can do it with the wonderful Chill (https://github.com/Bluebie/chill) and http://www.iriscouch.com/ (which is free for small apps/usage). Once you have your CouchDB on iriscouch you simply connect to it from your camping app, fetch the data etc. 


I do look forward to your comments and welcome any question you might have!
Best Regards
David


_______________________________________________
Camping-list mailing list
Camping-list-GrnCvJ7WPxnNLxjTenLetw&amp;lt; at &amp;gt;public.gmane.org
http://rubyforge.org/mailman/listinfo/camping-list&lt;/pre&gt;</description>
    <dc:creator>gurugeek</dc:creator>
    <dc:date>2012-05-06T00:41:07</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1905">
    <title>Camping 1 click deployment is live! 1.ai - alpha users welcome !</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1905</link>
    <description>&lt;pre&gt;Hello Campers!
I am happy to announce that the camping 1 click deployment is now available
at http://1.ai
The platform has been coded with camping (with some help from bash for the
backend scripts) and it seems to work very well.

We have spent some time to get sure that it would be secure and easy to
use. After working on an easy and secure way to upload/manage files online
etc. we have found an easier solution: fetch a github repository with a
camping application and - with one click -deploy it online at yourname.1.ai

So how does this works ?
1 - you signup
2 - after logging in you simply fetch your camping application from a
github repository there is a sample hello world available at
https://github.com/gurugeek/0ai and this is also explained in the app admin
page
3 - after fetching (provided that this is a valid camping app and has a
valid config.ru file) your application will be live.

The admin panel has all these instructions and if you try to fetch a
non-camping application from a github repository it will return the
relevant error.

The system supports private repositories too (this said I wouldn't run
something very secret and private on it!) but you would need to authorise
the github user 1ai to access your private repository.

Github has a lot of wonderful features so I feel that this was the best
solution without re-inventing the wheel. It is probably the fastest and
easiest way to get your camping application up and running.

Each application is securely isolated but all this is running in a
traditional dedicated server (no virtual/cloud/droids) are employed. This
should enhance the application performance. The server is also using only
SSD (solid state drivers) that are not yet available in most of cloud
providers (EC2, Rackspace cloud).

I really appreciate your testing and comments so please go on and launch
your shiny Camping app at
http://1.ai  !

A small caveat: The aim of this service is (hopefully) to promote camping
(perhaps next with a programming contest with some cool prizes) but it is
obviously not meant to replace a traditional hosting in the sense that
there will be no tech support offered and the service is provided without
any warranty. This doesn't mean that is not good enough to run any of your
fancy Camping apps - just that you should not expect this to replace any
professional hosting.

Note on Databases:
-If you have an sqlite database in your github repository it should work
just fine. If it works for you locally it should work fine on http://1.ai after
the github fetch
-If you want to use CouchDB you can do it with the wonderful Chill (
https://github.com/Bluebie/chill) and http://www.iriscouch.com/ (which is
free for small apps/usage). Once you have your CouchDB on iriscouch you
simply connect to it from your camping app, fetch the data etc.


I do look forward to your comments and welcome any question you might have!
Best Regards
David
_______________________________________________
Camping-list mailing list
Camping-list-GrnCvJ7WPxnNLxjTenLetw&amp;lt; at &amp;gt;public.gmane.org
http://rubyforge.org/mailman/listinfo/camping-list&lt;/pre&gt;</description>
    <dc:creator>gurugeek</dc:creator>
    <dc:date>2012-05-06T00:57:36</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1902">
    <title>mab advice</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1902</link>
    <description>&lt;pre&gt;I have a simple helper function containing this to spit out a list of  
links from a hash:

...
   links.each_pair do |label, link|
     li { a label, :href =&amp;gt; link }
   end
...

my hash elements are (obviously):

'Link label' =&amp;gt; 'http-link',

I'd now like to add a 'strong' tag around some of the text in the  
labels (which I didn't foresee), but the tag would be within the hash  
key. Ideas? Warnings?

DaveE
&lt;/pre&gt;</description>
    <dc:creator>Dave Everitt</dc:creator>
    <dc:date>2012-05-04T14:24:24</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1879">
    <title>ChillDB License</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1879</link>
    <description>&lt;pre&gt;A few of you sounded interested in using it. I haven't explicitly put a software license on it, so I guess it's not technically FOSS yet. What licenses are good? BSD? Public Domain?  


—
Jenna

_______________________________________________
Camping-list mailing list
Camping-list-GrnCvJ7WPxnNLxjTenLetw&amp;lt; at &amp;gt;public.gmane.org
http://rubyforge.org/mailman/listinfo/camping-list&lt;/pre&gt;</description>
    <dc:creator>Jenna Fox</dc:creator>
    <dc:date>2012-05-02T12:34:03</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1878">
    <title>definitive markaby</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1878</link>
    <description>&lt;pre&gt;I'm compiling Camping links... please can someone refresh my memory:

how does this:
https://github.com/igravious/markaby

relate to this:
https://github.com/camping/mab

?

DaveE
&lt;/pre&gt;</description>
    <dc:creator>Dave Everitt</dc:creator>
    <dc:date>2012-05-02T12:15:29</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1869">
    <title>The Website</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1869</link>
    <description>&lt;pre&gt;So here we are, talking about the website again.  

Here's my thinking:

David Costa's nearly got that neat camping app hosting thing working, which is amazingly awesome and we love him so much! People have all sorts of interesting ideas for things the camping site could do and have - lists of apps made in camping, wikis, forums, live chats where you're all a little spider in a sink and you can run around with your mouse and say things, text adventures, screencast theatres, interactive tutorials, book viewers, etc.

What if we all just make a cool thing, and put it on David's cool hosting, and then we can all just run our own little sections of camping, like a little tent village with lots of homes which all have their own unique flavour. We could sort something out to have unified navigation menus, and have a simple app (or static page) to serve as the homepage, acting more as a gateway in to these other apps than anything else. We would be in charge of our own sections and it'd be awesome because we're all great at everything we do and we're all really great people!

My hypothesis is many things aren't getting done with the website because we all just really can't be bothered getting consensus on the mailing list. We're impulsive creative people who just want to burst with energy and do something immediately without having to talk about it and justify it first. Consensus Democracy has worked great for the framework but maybe not for the site.

What do you think? Can I get a consensus on this?  

—
Jenna

_______________________________________________
Camping-list mailing list
Camping-list-GrnCvJ7WPxnNLxjTenLetw&amp;lt; at &amp;gt;public.gmane.org
http://rubyforge.org/mailman/listinfo/camping-list&lt;/pre&gt;</description>
    <dc:creator>Jenna Fox</dc:creator>
    <dc:date>2012-04-29T10:12:39</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1868">
    <title>Gone a little crazy</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1868</link>
    <description>&lt;pre&gt;So, I went a little crazy this weekend and did a whole bunch of things:

* camping.io now renders properly in Chrome (yay! why didn't anyone tell me this was broken? evolving web standards are annoying!)  
* I tidied up some issues and commented on heaps of things on https://github.com/camping/camping/issues
* I patched a readme to not talk about features we removed from The Camping Server
* I created extensive documentation for chill - my couchdb abstraction. &amp;lt;http://creativepony.com/chill/rdoc/ChillDB.html&amp;gt;
* I added bulk commit and delete support to chill - which should improve performance quite a bit
* I added ruby views support to chill - but I haven't tested this yet.

All these things seem vaguely related to camping (at least to me). Lets talk about the website!  

—
Jenna

_______________________________________________
Camping-list mailing list
Camping-list-GrnCvJ7WPxnNLxjTenLetw&amp;lt; at &amp;gt;public.gmane.org
http://rubyforge.org/mailman/listinfo/camping-list&lt;/pre&gt;</description>
    <dc:creator>Jenna Fox</dc:creator>
    <dc:date>2012-04-29T10:02:34</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1855">
    <title>Camping + Couch DB</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1855</link>
    <description>&lt;pre&gt;Hi !
First a short update on the camping "on the fly" hosting. Everything is
done and tested on the backend. We are just building the frontend (coded
using camping) but we are fighting with the strange behavior of the
embedded sqlite database (one of my developers is using windows and things
are even less user friendly there)  - this is not a big issue for the user
database but mostly for users that might want to store sqlite backed up. We
are getting there thou !

I have seen some traces of camping working with couchDB using ShyCouch but
for an odd reason I cannot get the example working....

NoMethodError: undefined method `CouchDatabase' for ShyCouch:Module

and other errors. Couchcamping gem is also based on shy couch so I guess if
one doesn't work the other will be broken too .. ?  I wrote to the writer
of the lib but before doing more tests has anyone worked on camping +
couchdb (even for a quick sample) ? If yes can you email me your working
code ?
In theory one good thing is that couchdb runs over http so it would be very
easy to offer  free database and even distribute it across two different
severs. I am interested also to get some real cases with
couchdb so that we might use it at work too.

Thanks in advance
David
_______________________________________________
Camping-list mailing list
Camping-list-GrnCvJ7WPxnNLxjTenLetw&amp;lt; at &amp;gt;public.gmane.org
http://rubyforge.org/mailman/listinfo/camping-list&lt;/pre&gt;</description>
    <dc:creator>david costa</dc:creator>
    <dc:date>2012-04-25T16:36:17</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1837">
    <title>whitespace rendering</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1837</link>
    <description>&lt;pre&gt;Hello !
perhaps this might be a n00b markaby question but...we are finding some
issues to display records with a simple space inside a view (both with
sqlite, mysql or kirbybase so it is not db related).

E.g. to have a formatted (with a simple space between the records so
nothing fancy like Stock Name  Apple Ticker  AAPL number of
stocks 10 bought at  580.13$  on  2012-04-17 Total position 5801.3)
list I have to do  something like this


def index
      kirby = KirbyBase.new
      stocks_tbl = kirby.get_table(:stocks)
      results =
stocks_tbl.select(:name,:ticker,:tradeprice,:tradedate,:quantity,:totalposition,:recno).sort(+:totalposition)
      for result in results
        text 'Stock Name &amp;amp;nbsp'
        text result.name
        text '&amp;amp;nbsp'
        text 'Ticker &amp;amp;nbsp'
        text result.ticker
        text '&amp;amp;nbsp'
        text 'number of stocks'
        text '&amp;amp;nbsp'
        text result.quantity
        text '&amp;amp;nbsp'
        text 'bought at &amp;amp;nbsp'
        text result.tradeprice
        text '$ &amp;amp;nbsp'
        text 'on &amp;amp;nbsp'
        text result.tradedate
        text '&amp;amp;nbsp'
        text 'Total position'
        text '&amp;amp;nbsp'
        text result.totalposition
        br


Now I am sure that there is perhaps a better way to do it ? :)
Thanks in advance
David
_______________________________________________
Camping-list mailing list
Camping-list-GrnCvJ7WPxnNLxjTenLetw&amp;lt; at &amp;gt;public.gmane.org
http://rubyforge.org/mailman/listinfo/camping-list&lt;/pre&gt;</description>
    <dc:creator>david costa</dc:creator>
    <dc:date>2012-04-17T20:50:58</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1803">
    <title>Markaby xhtml_strict</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1803</link>
    <description>&lt;pre&gt;Hi,

I use this in Markaby to generate an html tag, but I need to add lang="lc"
and
xml:lang="lc" (lc != :en).  However xhtml_strict does not accept arguments.
:-/
Why not?   And then how should I generate XHTML1.0 Strict docs in other
languages?  (I always feel foolish when face with such trivial problems...)

u.
_______________________________________________
Camping-list mailing list
Camping-list-GrnCvJ7WPxnNLxjTenLetw&amp;lt; at &amp;gt;public.gmane.org
http://rubyforge.org/mailman/listinfo/camping-list&lt;/pre&gt;</description>
    <dc:creator>Nokan Emiro</dc:creator>
    <dc:date>2012-04-16T12:04:59</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1796">
    <title>Serving static files within a single app</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1796</link>
    <description>&lt;pre&gt;[First of all I am breaking off the topic about serving static files 
from the "Camping's URL mapping system" thread as it is becoming too 
hard to follow multiple topics]

One solution I have been using for a while is based on the following 
post (back in 2007): "Serving static files in Camping, with a single 
route" 
&amp;lt;http://www.twofishcreative.com/michael/blog/2007/12/12/serving-static-files-in-camping-with-a-single-route&amp;gt;. 
I do realize that it would be great to have a generic mechanism 
built-into the framework itself. Maybe a couple configuration options 
with the basic defaults could include the root of all static content 
(/public, /files, /static, etc.), and basic file types to be treated as 
static.

I think this feature would be separate from the ability to serve 
multiple apps (although it might need to factor that in).
_______________________________________________
Camping-list mailing list
Camping-list-GrnCvJ7WPxnNLxjTenLetw&amp;lt; at &amp;gt;public.gmane.org
http://rubyforge.org/mailman/listinfo/camping-list&lt;/pre&gt;</description>
    <dc:creator>Philippe Monnet</dc:creator>
    <dc:date>2012-04-15T19:41:34</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1770">
    <title>Quick site backend redo</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1770</link>
    <description>&lt;pre&gt;Looks like Judofyr isn't working on the book generator thingie, so I'll sort out a new site thing.  

Still sticking with caching to static files on github for now. Anyone have particular feature requests for navigational stuff and the likes? Things which would be helpful for book contributors and the likes?  

—
Jenna

_______________________________________________
Camping-list mailing list
Camping-list-GrnCvJ7WPxnNLxjTenLetw&amp;lt; at &amp;gt;public.gmane.org
http://rubyforge.org/mailman/listinfo/camping-list&lt;/pre&gt;</description>
    <dc:creator>Jenna Fox</dc:creator>
    <dc:date>2012-04-12T08:17:59</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1764">
    <title>sites powered by Camping</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1764</link>
    <description>&lt;pre&gt;Hi List,

What about creating a section on the Camping site, where you list
and link sites that were built using Camping?  Of course just those
ones that are good enough.  It would show the public that it's a
working framework, so it's  good for the community.  On the other
hand it's good for the linked page too, it gets visitors and a bit boost
of page rank.

u.
_______________________________________________
Camping-list mailing list
Camping-list-GrnCvJ7WPxnNLxjTenLetw&amp;lt; at &amp;gt;public.gmane.org
http://rubyforge.org/mailman/listinfo/camping-list&lt;/pre&gt;</description>
    <dc:creator>Nokan Emiro</dc:creator>
    <dc:date>2012-04-11T11:37:31</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1761">
    <title>~ AppController</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1761</link>
    <description>&lt;pre&gt;Hi,

What's the nice and preferred way to run a snippet of controller code
before all other normal controllers can do something?
_______________________________________________
Camping-list mailing list
Camping-list-GrnCvJ7WPxnNLxjTenLetw&amp;lt; at &amp;gt;public.gmane.org
http://rubyforge.org/mailman/listinfo/camping-list&lt;/pre&gt;</description>
    <dc:creator>Nokan Emiro</dc:creator>
    <dc:date>2012-04-07T16:11:28</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1758">
    <title>lighttpd + fastcgi + camping</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1758</link>
    <description>&lt;pre&gt;Hello all,
I am running in some little stumbling blocks with passenger as a multi user
environment (the most problematic feature is that, once you setup a
sub-domain passenger wants you to declare on nginx every app running  on
that nginx server which is not ideal to add apps on the fly and / or if a
user wants to run 2 apps from his space)

so I was thinking about a more drag a drop / one line command line deploy
(even multiple camping apps and not just one) and I would like to test
camping with lighttpd + fastcgi. I assume that this would allow a user to
run as many camping application as he wants (space permitting) without
having to reconfigure lighttpd each time an application is added correct?

Question: on the examples I can only find a camping fcgi dispatcher for
apache. Do you have any dispatcher that would work on lighttpd or should I
use a generic ruby dispatcher like
http://pallas.telperion.info/ruby-cgi/

?
Thanks
David
_______________________________________________
Camping-list mailing list
Camping-list-GrnCvJ7WPxnNLxjTenLetw&amp;lt; at &amp;gt;public.gmane.org
http://rubyforge.org/mailman/listinfo/camping-list&lt;/pre&gt;</description>
    <dc:creator>david costa</dc:creator>
    <dc:date>2012-04-06T15:26:58</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1754">
    <title>http_referrer</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1754</link>
    <description>&lt;pre&gt;Hi,

How can I access the Rack request object in a controller?  I need
to know the HTTP_REFERRER, but I can't find it in env.  (I'm
sure I need glasses, or have to sleep more...)
_______________________________________________
Camping-list mailing list
Camping-list-GrnCvJ7WPxnNLxjTenLetw&amp;lt; at &amp;gt;public.gmane.org
http://rubyforge.org/mailman/listinfo/camping-list&lt;/pre&gt;</description>
    <dc:creator>Nokan Emiro</dc:creator>
    <dc:date>2012-04-06T13:01:32</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1751">
    <title>Update book</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1751</link>
    <description>&lt;pre&gt;Hello.

I think we should update the book a little bit. On the part of 
migrations we use "def self.up" and "def self.down" this method actually 
gave me errors for some reason. But anyways, it should be updated to
"def self.change" anyways because that's the modern way of doing it.

I tried doing this myself but for some reason I don't get the gh-pages 
branch when cloning camping.io so
Jenna or someone will have to do it instead!

- Isak Andersson
&lt;/pre&gt;</description>
    <dc:creator>Isak Andersson</dc:creator>
    <dc:date>2012-04-03T09:07:31</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1702">
    <title>dead easy deployment / Camping on the fly</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1702</link>
    <description>&lt;pre&gt;Hello all,
I am opening a separate topic just to brainstorm the idea of a free, simple
camping deployment/hosting option.
Now this is not about re-inventing the wheel as heroku already supports
camping apps too. So this would be the ground idea:

a) This would be entirely free - no paid plans to upgrade etc.;
b) Eventually users should be able to deploy a camping application by
launching something like camping-fly myapp in the command line and it would
simply work (through a git push or similar) and make it available live in a
custom domain like camping.sh or ruby.am e.g. myfancyapp.camping.sh or
myfancyapp.ruby.am
c) Database fanciness should also be available or at least sqlite/mysql

Suggestion and ideas on how to achieve this are welcome (or professionals
with the expertise willing to do a simple project based on this )
servers I can make available for this:

Debian 6
Intel Core i7 3930K (6 x 3,20 GHz)
RAM 64 GB
3000 GB HD + 256 MB SSD drive (very useful for databases, much faster)

OR (don't laugh)

Mac mini
2.0GHz quad-core Intel Core i7
8GB memory
2X256GB Solid State Drive

of course we would need to limit this to screened applicants to avoid any
spammers/troublemakers

Best Regards
David
_______________________________________________
Camping-list mailing list
Camping-list-GrnCvJ7WPxnNLxjTenLetw&amp;lt; at &amp;gt;public.gmane.org
http://rubyforge.org/mailman/listinfo/camping-list&lt;/pre&gt;</description>
    <dc:creator>david costa</dc:creator>
    <dc:date>2012-03-30T16:22:16</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1648">
    <title>camping paid examples + screencasts ?</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1648</link>
    <description>&lt;pre&gt;Hello from Switzerland :)
I have been playing with camping for the last day. Granted, I have very
limited experience with ruby but I did manage to get it work just fine
(thanks to the example at
https://github.com/camping/camping/wiki/Short-example that is strangely not
part of the camping book) I was thinking that perhaps something better
could be done like:

- examples: starting from the short example moving up to the database etc.
perhaps some real life, step by step examples. The more the better :)
- screencasts: which usually go a long way to attract attention and getting
started (yes, many people just don't read!)

Now I am sure that this was not yet finalized as the community/users are
busy doing other real life works and can do more only in their spare time.

So here is my idea: I would be willing to sponsor someone experienced with
camping to write examples and/or make a screencast.  It would be a paid
job. I just thinking that as
many developers are freelancers this might be interesting.  It might also
be interesting to students wishing to earn something while completing their
studies.

Thanks in advance for your feedback !
Best Regards
David
_______________________________________________
Camping-list mailing list
Camping-list-GrnCvJ7WPxnNLxjTenLetw&amp;lt; at &amp;gt;public.gmane.org
http://rubyforge.org/mailman/listinfo/camping-list&lt;/pre&gt;</description>
    <dc:creator>david costa</dc:creator>
    <dc:date>2012-03-25T05:26:28</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1641">
    <title>Camping on the edge, multimount</title>
    <link>http://comments.gmane.org/gmane.comp.lang.ruby.camping.general/1641</link>
    <description>&lt;pre&gt;Okay so I'm creating my website to host a blog and a bunch of stuff, using  
a Camping + Riak combo!
Of course I'm using the latest and greatest version of Camping that uses  
Mab and has a public/ dir.

I was just wondering if we still have the functionality to mount multiple  
apps in these new versions.
Say I have a project that looks something like this

app/
app.rb #The home or something??
blog.rb
foo.rb
admin.rb
public/
something.css
acoolpic.png
blog/
controller.rb
views.rb
foo/
controller.rb
views.rb
admin/
controller.rb
views.rb

I want those apps to share the public folder to have the same basic look  
and all that. And of course database.
The problem I have here is, how do I specify what is the root of the whole  
bigger picture. Like what gets
mounted at site.com and not site.com/blog for example. And also, how can I  
add some shared functionality across
the apps. For example I want to have Csrf protection (using rack_csrf),  
right? So instead of overriding the form
of each and every smaller app I want it to easily be implemented just  
once. Is this possible? If so, how?

Also, what is the correct command line command to mount every app?

Also another concern I have when doing this kind of thing is, how can I  
make one app link to some part of another app?
Like if I want app.rb to link to the blog, or the blog to link to some  
controller in foo.

Cheers!

-Isak Andersson
&lt;/pre&gt;</description>
    <dc:creator>Isak Andersson</dc:creator>
    <dc:date>2012-02-17T20:48:04</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.lang.ruby.camping.general">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.lang.ruby.camping.general</link>
  </textinput>
</rdf:RDF>

