Skip to end of metadata
Go to start of metadata

Description and development

TorneLIB, with the former name TorneEngine, is a set of libraries that is used to simplify the handling of (primary) web application. On the contrary of many other "frameworks" and similar, the goal with this library set is to make things easier without a lot of work. There is currently no official release, since the library was in the beginning private and functions was added on need basis. However, this has been changing over time, so it has been split up in a stable and a develop branch.

Components

Parts of the project recently was included in production environments (the curl library) so it is more important than before, that there is a stable release with backwards compatibility if something should be upgraded or chaged. The PHP library has components that may be used separately and independent, or the project can be imported in full. The components are listed below.

If no version are set, it should be considered follow the primary version release.

Component/ClassDependencyDescriptionVersionStatusSourceLink
TorneLIB (Primary)

PRIMARY

Core class and a base loader, that binds all components together, and immediately usable by a public set up5.0.0 

PRIMARY/STABLE

tornevall_core.php 
TorneLIB_Exception

PRIMARY

An exception module that handles internal errors in TorneLIB. Required by some of the modules to handle exceptions with more detals. 

STABLE

tornevall_exception.php 
TorneLIB_Network
Tornevall_cURL
Tornevall_SimpleSoap 

INDEPENDENT

A network module that contains more classes. The classes was from the beginning divided into more files than one, but since parts of the classes got dependent of each other, this module was merged.
Tornevall_SimpleSoap is used to handle wsdl/soap-calls and the primary network module handles network related things.
-
5.0.0
20161216

STABLE

tornevall_network.phpDocs
TorneLIB_API

INDEPENDENT

A class that should be used to call TorneAPI 2.x methods.
The API-client itself is independent, but when used from TorneLIB it has dependencies in TORNELIB_PLUGGABLE 
 

INCOMPLETE

tornevall_api.php 
TorneLIB_Configuration

TORNELIB

Configurator class, used to configure the library if needed.
This component has hardly been touched actually, and one question remains: Do we need it?
 

STALLED

tornevall_configuration.php 
TorneLIB_Crypto

INDEPENDENT

Crypto module
Currently used at tornevallweb, to encrypt and base64-encode urls and make them "redirectable"

 

STABLE

tornevall_crypto.php 
TorneLIB_Database

INDEPENDENT/UNTESTED

Database simplifier. Supposed to automatically support the full MySQL series (mysql, mysqli, odbc, pdo). As the yellow status says, this module is incomplete, since it does not support PDO/odbc in full, but, it handles MySQL communication quite well. And it can be used independently without importing the full TorneLIB. 

STABLE/INCOMPLETE

tornevall_database.php 
TorneLIB_DNSBL

NETWORK LIBRARY

The current DNS Blacklist module used for resolving hosts at tornevallweb. Does resolving by DNS lookups and TorneAPI but need refreshings and API utilization.5.0.0
20160709

STABLE

tornevall_dnsbl.php 
TorneLIB_Pluggable

TORNELIB

Extended plugin handler, allows us to import modules externally. This module currently, amongst some, supports simplified handling of the Smarty template engine and JpGraph. 

STABLE

tornevall_pluggable.php 
TorneAPI

INCOMPLETE

Supposed to handle TorneAPIv2. 

COMING SOON

TorneAPI 
  • No labels