New 1.5 blog example

Dave Everitt deveritt at innotts.co.uk
Mon Jul 27 10:57:04 EDT 2009


Hello Campers...

I've just finished a (hopefully) nicer-looking Camping 1.5 blog  
example, adapted from one of the originals:
http://pastie.org/560295

Things I've done:
     added a delete class,
     combined the add/edit/delete method into one,
     made a little 'cooked up while camping' logo,
     tweaked the CSS so it looks kind-of-ready for deployment,
     called it 'tentpole' because it's so simple (that's a joke).

I know there's the clean, new example for v2 on Github, but I don't  
have Camping v2 up and running yet (I will, soon), so this is for  
anyone who needs to point to a simple, working a 1.5-ready example  
with minimal setup requirements.

Still keen on Magnus' documentation ideas (below) and happy to  
start... I think the book should be a Camping app :-)

Dave Everitt

> Right now there is an example at camping.rubyforge.org showing a  
> blog skeleton (with controllers, models and views). It might be  
> better to rather have a tiny, fully functional one (to get the feel  
> of Camping), and a link to blog.rb (which should be simplified even  
> more, and actually work). The book could then take it from there  
> and slightly expand into the blog.rb (or maybe even totally  
> different; we should at least end up with something)


Magnus' documentation proposal:

> What if we split the documentation into three parts?
>
> - README.txt should be the first you see and should contain basic  
> info and links.
>
> - API-reference. A one-page reference to the whole Camping API  
> which gives you short descriptions/explanations and might also give  
> a link to the book (see below) for more detailed thoughts.
>
> - A "book" or tutorial which guides the user from A-Z, starting  
> with installation and how to use The Camping Server, through basic  
> MVC and HTTP/REST to how to use service-overrides or middlewares.  
> It would be really nice if this could be a clean, short and concise  
> guide to both Ruby and web development.




More information about the Camping-list mailing list