PHP-Frame

PHP-Frame is one of my oldest projects, dating back to 2005. It is a set of minimalist PHP frameworks. Frameworks is plural because, while PHP-Frame can be used as a coherent package, each of the modules stands alone.

Each of these frameworks were developed with simplicity, flexibility and performance in mind. The code is simple enough that if a project has special needs, it is trivial to customize the authentication or template system.

The frameworks I find most valuable: the CortexTemplate templating engine, security.php for cleansing input, and the MySQL database layer. I have also used the authentication routines in dozens of sites.

Get it on GitHub.

2 Responses to PHP-Frame

  1. Michael Sullivan says:

    Hi
    I have been asked to modify a site built on php-frame, and specifically to add several new pages. when I create a new tpl_mynewtemplate.html (based on altering the structure of an existing one), I get an error – essentially saying that it isn’t allowed. Is there a table in the DB that tracks what templates are allowed??? I haven’t been given the creds to the database….

    I haven’t been able to find any docs or even an overview of how php-frame works other than the commenting in the code. If I delete the comment right after the doctype declaration I can bypass the security and write plain html but that isn’t ideal….

    Thanks for any help you can offer!

    michael

  2. Joshua Gross says:

    Michael, where are you getting this error? Is it a permissions error when you try to create the file?

    I don’t know what site you’re working on – but your IP is from Wisconsin so I’ve probably had my hands on it at some point. Knowing which site you’re working on may give me a clue (email me at joshua.gross@gmail.com if you don’t want it public).

    Long story short, I doubt the templates are stored in the database – I’ve never seen a PHP-Frame site that way.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>