Giter Site home page Giter Site logo

keepitsimple's Introduction

keepitsimple

A tiny small php framework for small business websites.

What is this?

Keep It Simple is tiny small php framework. It's been made to help you develop small business websites that are not going to get changed in a while. You can imagine it as a base structure for a small website. It doesn't provide any databases support and it's mostly used for content that doesn't change for a long time.

How does it work?

You download the framework from github and build over it. It has 7 folders - css, images, js, config, ext, layout, pages. The first 3 should be familiar to you if you are here. The config folder has one file by default and it's a php file that sets some constant values for the project to be used in the pages. The ext folder is for some plugins, extensions, addons or whatever additional package you're going to use that should be located in an external folder. The last 2 (layouts and pages) are the simple tiny framework core.
layout has 5 files:

  • head.php - The head declaration of the page.
  • header.php - The header that is going to be the beginning of every page. For example this page: logo and slogan.
  • menu.php - The menu for every page. For example the one you see on the top of this page: Home Downloads About Contacts.
  • body.php - The body for the particular page. It is loaded dynamically in a simple way that you need to repeat for your pages.
  • footer.php - The footer for every page. For example: People put their contacts their.

pages:

This folder contains the body content for the pages you have. In the layout/body.php their filenames have to be listed in order to get them loaded.

============

It's really that simple!

keepitsimple's People

Contributors

martinytodorov avatar

Watchers

James Cloos avatar  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.