PHP Classes

Quanta CMS: Manage content that works without a database

Recommend this page to a friend!
     
  Info   Example   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 127 All time: 9,417 This week: 131Up
Version License PHP version Categories
quanta 3.0.14GNU General Publi...5PHP 5, Content management
Description 

Author

This package implements a platform to manage content that works without a database. It can:

- JSON-based architecture with system folder as entities
- qtags, the real core feature of Quanta
- CSS grid integration, helping making of beautiful layouts... a breeze!
- Shadow, an overlay widget for intelligent management of user input and forms
- Multilevel TPL, An advanced HTML5-based template engine based on file system structure
- Modular CMS with hooks, entities, access control, etc...

Picture of Aldo Tripiciano
Name: Aldo Tripiciano <contact>
Classes: 1 package by
Country: Italy Italy

 

Example

<?php
// Include the Environment module.
 
require_once('modules/core/environment/environment.module');

 
// Include the Cache module.
 
require_once('modules/core/cache/cache.module');

 
// Pre-set host.
 
if (!isset($host)) {
   
$host = NULL;
  }
 
// Pre-set request uri.
 
if (!isset($request_uri)) {
   
$request_uri = NULL;
  }

 
// Pre-set document root.
 
if (!isset($docroot)) {
   
$docroot = NULL;
  }

 
// Create a new Environment.
 
$env = new Environment($host, $request_uri, $docroot);

 
// Check if the current request is a file rendering request.
 
$env->checkFile();

 
// Load the environment.
 
$env->load();

 
// Start the user session.
 
$env->startSession();

 
// Run all system modules.
 
$env->runModules();
 
// Run the boot hook.
 
$env->hook('boot');

 
// Start page's standard index.html.
 
$page = new Page($env);
 
$vars = array('page' => &$page);

 
$env->setData('page', $vars['page']);

 
// Run the init hook.

 
if (!isset($_REQUEST['ajax'])) {
   
$env->hook('load_includes', $vars);
   
$page->loadIncludes();
  }

 
// Initialize doctor, if there is a request to do so.
 
if (isset($doctor_cmd)) {
   
$doctor = new Doctor($env, $doctor_cmd);
   
$doctor->cure();
   
$doctor->goHome();
    exit;
  }

 
// Check if there is any requested action.
 
$env->checkActions();

 
// Run the init hook.
 
$env->hook('init', $vars);

 
// Build the page's HTML code.
 
$page->buildHTML();

 
// Render the page.
 
print $page->render();

 
// Run the complete hook.
 
$env->hook('complete');

 
// End the bootstrap.
 
exit();


Details

quantacms

An innovative, DB-free CMS for web and application development, based on the principles of Quantum physics. Originally designed by Aldo Tripiciano in 2015, now proudly open source. For installation instructions, please visit: www.quantacms.com For other kinds of inquiries, please contact Aldo Tripiciano at (+39)-339-8850861 Enjoy!


  Files folder image Files (510)  
File Role Description
Files folder imageengine (1 file, 1 directory)
Files folder image_examples (1 directory)
Accessible without login Plain text file .htaccess Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file doctor Data Auxiliary data
Accessible without login Plain text file quanta-nginx.conf Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:127
This week:0
All time:9,417
This week:131Up