Pagecake was originally called aelua/bootstrapp and designed and
implimented on top of googles app engine. It has slowly shifted into
an nginx and openresty based web framework.
Google App Engine probably still works, but I no longer care. Sorry
but it makes more sense to fire up an amazon instance and run the nginx
version. Even in its currently hacked together state it's more stable
and delivers faster responses for any medium size website.
Yeah it don't scale but I will welcome that problem when I hit it. :)
Actually I figure amazon is too expensive but you get the idea.
All the old appengine code has been removed to reduce confusion, as
I am no longer interested in even testing if it still works. Either
look in the history of this project or visit the old google code
The basic idea of pagecake is producing a number of mods which are
then stuck together on a single website (each one living at a
different dir) depending on your needs. so for instance /thumbcache
is where some simple image caching code for thumbnails exists. The
main module is waka which is a wiki like html page creation/editing
Look inside the mods directory for more information about what each
module is trying to achieve and if it is a good idea to use it.
All of my websites are now contained within the apps/wet directory
with virtual hosts support to run different bits from different
domains. This is actually my live config, all secrets are added
via the website and the admin module.
Places to see this code run are...
Pagecake is a sister project to Gamecake and shares some of the same
code as well as requireing Gamecake to build/install.
You must checkout this repo side by side with bin and lua then build
the nginx in the lua repo.
hg clone https://bitbucket.org/xixs/bin
hg clone https://bitbucket.org/xixs/lua
hg clone https://bitbucket.org/xixs/pagecake
Building the code in lua creates a build of nginx with openresty and
other required lua/C libs.
All content is MIT licenesed unless explicitly stated otherwise.
Copyright (c) 2010 www.wetgenes.com
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN