Home | Examples | Project | Contacts
Clix Framework
Minimalist open-source framework for microsites and small applications.
About Clix Framework
Clix is object-oriented, extremely small footprint PHP application framework designed to meet these 5 goals:
- framework is covering these functionalities: routing, rendering and db
- whole framework is packed into one file of maximum size of 5kB
- framework is coposed of maximum 5 modules
- one module shouldn't have more than 100 lines of code
- framework is supposed to work out of the box, with as little configuration as possible
Thanks to simple object architecture, automatic routing system and easy to use template system, Clix is ideal for creating micro-sites and small and simple applications based on PHP and MySQL.
How to use Clix
Clix can be used in two basic ways - simple and advanced. Using simple way, you are able to create static website in minutes without any configuration, just prepare default directory structure with a copy of Clix framework and create index.php file as simple as this code:
<?php require_once 'Clix.php'; new Clix();
and Clix will handle all the php stuff like URL parsing, routing and HTML rendering autmatically for you.
When you need to add functionalyty to specific pages or whole website, it's time to extend Clix and create you own application over it. It won't take more than few minutes and details are described on examples page.