2017 © Pedro Peláez
 

library framework

J!Code PHP framework

image

jcode/framework

J!Code PHP framework

  • Thursday, March 8, 2018
  • by jcode
  • Repository
  • 1 Watchers
  • 0 Stars
  • 85 Installations
  • PHP
  • 11 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 8 Versions
  • 0 % Grown

The README.md

Example application.json file:, (*1)

{
    "application": {
        "layout": "{{LAYOUT}}",
        "unsecure_base_url": "{{UNSECURE_BASE_URL}}",
        "secure_base_url": "{{SECURE_BASE_URL}}",
        "use_ssl": false,
        "force_ssl": false,
        "encryption_key": "{{ENCRYPTION_KEY}}",
        "title": "{{APPLICATION_TITLE}}",
        "default_route": "{{DEFAULT_ROUTE}}",
        "database": {
            "adapter": "mysql",
            "host": "{{MYSQL_HOST}}",
            "name": "{{MYSQL_DBNAME}}",
            "user": "{{MYSQL_USER}}",
            "password": "{{MYSQL_PASSWD}}"
        },
        "cache": {
            "enabled": false
        }
    }
}

Example .htaccess file:, (*2)

DirectoryIndex index.php

Options +FollowSymLinks
RewriteEngine on

RewriteCond %{REQUEST_URI} !^/(media|skin|js)/

############################################
## never rewrite for existing files, directories and links

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l

############################################
## rewrite everything else to index.php

RewriteRule .* index.php [L]

The Versions

12/11 2014

0.0.1

0.0.1.0

J!Code framework library installation

  Sources   Download