World Library  
Flag as Inappropriate
Email this Article

Camping (microframework)

Article Id: WHEBN0008513609
Reproduction Date:

Title: Camping (microframework)  
Author: World Heritage Encyclopedia
Language: English
Subject: Merb, Comparison of web application frameworks, Ruby Document format, Ruby Central, XRuby
Publisher: World Heritage Encyclopedia

Camping (microframework)

Camping, the 4k microframework
Original author(s) why the lucky stiff
Developer(s) why the lucky stiff
Stable release 2.1 / August 19, 2010 (2010-08-19)
Operating system Cross-platform
Size 4 KB
Available in Ruby
Type Web application framework
License MIT License
Website .iocamping

Camping is a web application microframework written in Ruby which consistently stays under 4 KB - the complete source code can be viewed on a single A4 sheet.

It was created and updated by [1] Since then Camping has been a community driven framework with contributions from many people and a small but helpful community. While Judofyr is sometimes seen as a leader, he's insisted camping be governed by consensus on the very active mailing list. Why's eventual departure solidified the project as being communally run, and is notable for being one of the few former why the lucky stiff projects to be taken over by the community before why's disappearance. Current editions of Camping are available from GitHub and are distributed as a RubyGem.


Camping stores a complete fledgling model–view–controller application as Ruby on Rails does. Camping applications can stand alone, meet niche requirements as 'the small wheels' that serve larger setups, or easily be ported to Rails.


For a basic installation, Camping only requires Rack (0.3 or higher) and (if you want to write HTML) Markaby (0.5 or higher), both available as Rubygems. Further details can be found on the Camping wiki. To use a database (SQLite by default) you'll also need the ActiveRecord and Sqlite3-ruby Rubygems. Run camping yourappname.rb to launch the application on port 3301.


The introductory tutorial builds a minimal unstyled wiki (download working example wiki code), and the Camping examples contains a tiny but fully functioning css-styled blog. Earlier Camping 1.5 examples will either run without modification or require only slight adjustments to run under Camping 2.0.

See also


  1. ^ StackOverflow answer explanation referring to Judofyr's ongoing maintenance

External links

  • Camping 2.0.* on GitHub
  • Camping wiki on GitHub
  • Camping mailing list: messages by thread
  • Official Camping Website
  • Why Camping Matters by Nathaniel Talbott at rubyconf 2007
  • RubyOnRails podcast on Camping
  • an archive of things that _why created
  • Wild and Crazy Metaprogramming with Camping
  • _why's poignant guide to Ruby
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.

Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.