Skip to content
Compare
Choose a tag to compare
Compare
Choose a tag to compare

Splint AppEngine

Pre-release
Pre-release

Now you can develop application packages in Splint.

With just

$this->load->app("vendor/application_name");

You can load an application... probably a CMS that takes care of all the functionalities of your Code Igniter distribution.

Edit:

The splint/platform package of this release is outdated, run the below if you need to use the Splint AppEngine.

splint install splint/platform
Compare
Choose a tag to compare
  • Updated the Code Igniter Distribution => 3.1.10
  • Package Auto-loading Bug Fix.
  • Auto-loaded Event Flag.
  • Added the Code Igniter User Guide.
Compare
Choose a tag to compare

QUnit Support Added!

Pre-release
Pre-release
Compare
Choose a tag to compare
Pre-release

Fixed the issue where splint.php was attempting to connect to a virtually non existent server.

Compare
Choose a tag to compare

Unit Testing

Pre-release
Pre-release
Compare
Choose a tag to compare
  • Splint Production Server Package and Dependency Manager

The Splint Client creates a 'splint.json' file that contains the list of packages that you install, at the root of your Code-Igniter distribution.

This file will be used by the production server script to install/update your splint libraries when you deploy your codes to a production server.

Just run the 'splint.php' file from a browser. e.g ''https://website.com/splint.php''

Please change the name of the script for security reasons.

  • Splint loader object.

The new splint loader object makes it easier to load splint libraries/resources without having to specify the full package name all the time.

$this->load->bind("francis94c/ci-preference", $splint);
$splint->load->library("CIPreferences", null, "prefs", true);
$splint->prefs->set("a_key", "Hello World");

See the Docs at https://splint.cynobit.com/wiki/load_splint for more.

  • Splint Auto-Loading

To auto-load splint resources, modify the 'application/autoload.php' file as follows

Libraries

$autoload["splint"] = array("vendor/package_name" => array("+Library", $params, $alias));

Models

$autoload["splint"] = array("vendor/package_name" => array("*Model", $alias));

Helpers

$autoload["splint"] = array("vendor/package_name" => array("%helper", $alias));

Configs

$autoload["splint"] = array("vendor/package_name" => array("@config"));

Views

$autoload["splint"] = array("vendor/package_name" => array("-view", $data));

Please see https://splint.cynobit.com/wiki/auto_load_splint for more

Compare
Choose a tag to compare

First SDK Release

Pre-release
Pre-release

A Code-Igniter distribution that ships with a patched loader.