<commit_before>AeFramework
===========

A fast, light and succinct PHP MVC framework. *By no means stable or secure yet - use at your own risk.*

Basic Usage
-----------

```php
require_once 'AeFramework/loader.php';

# Create a router
$router = new ae\framework\Router;

# Map URL "/" to a simple text view saying "Hello, world!"
$router->route('/', new ae\framework\TextView('Hello, world!'));

# Set a 404 view
$router->error(ae\framework\HttpCode::NotFound, new ae\framework\TextView('File not found'));

# Optional - Set up Memcache
$router->cacheProvider(new ae\vendor\Memcache, 'application-unique-cache-key');

# Despatch<commit_msg>Fixed readme.<commit_after>AeFramework
===========

A fast, light and succinct PHP MVC framework. *By no means stable or secure yet - use at your own risk.*

Basic Usage
-----------

```php
require_once 'AeFramework/loader.php';

# Create a router
$router = new ae\framework\Router;

# Map URL "/" to a simple text view saying "Hello, world!"
$router->route(new ae\framework\StringMapper('/', new ae\framework\TextView('Hello, world!')));

# Set a 404 view
$router->error(ae\framework\HttpCode::NotFound, new ae\framework\TextView('File not found'));

# Optional - Set up Memcache
$router->cacheProvider(new ae\vendor\Memcache, 'application-unique-cache-key');

# Despatch
{'fraction_non_alphanumeric': 0.16527037319116528, 'fraction_numerical': 0.00456968773800457, 'mean_word_length': 4.5210084033613445, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3533266', 'n_tokens_mistral': 412, 'n_tokens_neox': 397, 'n_words': 127}