Code Monkey home page Code Monkey logo

catpress's Introduction

catpress

Flat file "cms"

A very short PHP file and a tree of some plain text files is all it takes now to make a webpage.

  • No Javascript. (I suppose you could, if you want, add it.)
  • CSS applied to all pages.
  • Consistent style, header, footer applied to all pages.
  • No database
  • Automatic linking of multi-page articles.
  • No admin interface

This is meant for small, personal webpages. Maybe even a blog that's contributed to by a handful of people. You have to know where to put files and how to format them in HTML. This provides NO administration interface. The idea is the host filesystem enforces permissions. You can even have multiple personal spaces within catpress, and multiple users with different unix file permssions able to log in and edit their own sub-space. Authentication, encryption, passwords, and permissions are all solved elsewhere by standard operating system components and utilities. It is not worth the time and trouble of implementing any of that myself. Here, I don't have to worry about the Wordpress admin interface having a bug, or worry about running and securing a mysql instance.

http://mwsherman.com is my personal page, and an example of a catpress site. I don't know if its a good example, its just the only one that exists so far.

There is a minimal example hosted at http://mwsherman.com/catpress-example/ . The source code to that example is actually what is in the repo here. To make it work on another website, there are two variables in index.php that need to change: $pageroot and $pagedomain.

Please use this! Please tell me what's wrong with it! Tell me its great! Tell me its trash! Fix it and send a pull request!

catpress's People

Contributors

carangil avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.