Coder Social home page Coder Social logo

oldhobbyist / simple-php-framework Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tylerhall/simple-php-framework

0.0 2.0 0.0 447 KB

The Simple PHP Framework

Home Page: http://clickontyler.com/simple-php-framework/

License: Other

ApacheConf 0.63% PHP 99.37%

simple-php-framework's Introduction

The Simple PHP Framework is a pragmatic approach to building websites with PHP 5. It's geared towards web design shops and freelance programmers looking for a common foundation to quickly bring web projects to life. Without getting too technical, SPF follows the no-framework Framework method coined by Rasmus Lerdorf -- with a little Active Record thrown in for good measure.

Project History

This framework is the foundation that all of my websites are built with. I've been using this code base (or some form of it) for seven years across hundreds of different projects - both personal and professional. It's served me well for the smallest of projects up to sites receiving millions of visitors per month. Less framework and more foundation, it provides a quick starting point and does a lot of the grunt work — user authentication, database calls, RSS feeds, etc. It's exactly enough to get your project bootstrapped and moving forward quickly.

This framework wasn't built overnight or even on purpose. It's really a development pattern and collection of classes that have evolved naturally over the last seven years. I've tried to walk a fine line and not add unnecessary features that most people won't use. I've done my best to keep it as minimal as possible yet still allow plenty of flexibility.

The Simple PHP Framework is designed to help you build websites — not build them for you. There are plenty out there that already try to do that.

All the web frameworks in the world won't turn a shitty programmer into a good one." — uncov

A branch of the framework has been forked internally at Yahoo!. Improvements from that branch will make their way back into the main trunk as appropriate.

Download the Code

The Simple PHP Framework is hosted on GitHub and licensed under the MIT Open Source License.

Documentation and Examples

As is the tradition with most open source software, the code is self-documenting — which is a nice way of saying I'm too lazy to write any formal documentation myself. That said, I'm always happy to answer questions about the code. You're also welcome to join our discussion group. There's not much activity, but if you ask a question you'll typically get an answer back quickly.

If you'd like to see a full website built using the framework, take a look at Shine. It's a good, (mostly) clean example of how to use the framework.

Misc

If you don't want to use the MySQLi database class, here's a MySQL PDO replacement written by Max Fierke.

simple-php-framework's People

Contributors

breyten avatar jonb avatar snoldak924 avatar

Watchers

 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.