tkself

Description:

tk_self is a small PHP-framework to set up web-applications in a fast way. The motivation to write this was to have a compact code-base for features like:

tk_self is designed to be small to keep things fast. Setup is easy and the usage can be learned in short time. Feel free to use it if you like it.

Basic features:

An URL-mapper binds URLs like"http://example.com/path/to/page" to a PHP view-function to render a page for this path. This way you get search-engine friendly URLs and can decouple the URLs from PHP-files.

A simple interface for database-access (for MySQL and PostreSQL) with prepared statements, but it is up to you to create the database tables, fields and sql-queries.

An user-authentication system. Users can have roles for different rights (then it's authorization). Independent from authentication sessions can be used for saving a client's state.

For page-rendering PHPTAL, Smarty or PHP (because PHP already is a template language) can be used as template engines. It can be a great advantage to use a template engine, but tk_self does not force you to do this.

Requirements:

tk_self needs PHP >= 5.1.0 with PDO support for MySQL or PostgreSQL. The Databases have to support prepared statements.

Performance

tk_self is fast. Here are some notes about the performance.

License

tk_self is distributed under the MIT-License.

Contact | Impressum | License