2017 © Pedro Peláez
 

library flunorette

Database layer based on Nette/Database, FluendPdo and NotOrm.

image

icaine/flunorette

Database layer based on Nette/Database, FluendPdo and NotOrm.

  • Thursday, November 5, 2015
  • by icaine
  • Repository
  • 3 Watchers
  • 5 Stars
  • 401 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 2 Forks
  • 1 Open issues
  • 7 Versions
  • 2 % Grown

The README.md

Build Status   Downloads Total   Latest Version, (*1)

What is Flunorette?

Flunorette, (*2)

  • is a database layer simplifying work with tables, relations and CRUD operations., (*3)

  • is heavily based on Nette Database (Table) - NDB(T) and uses modified FluentPDO as SQL builder., (*4)

  • is derived directly from NDB(T)2.0 thus it's like on 95% compatible with it[1], (*5)

  • uses the same syntax/API as NDBT2.0 but takes faster code from NDBT2.1.

The main reason i decided to create Flunorette was that NDBT is superior for simple websites like blogs but with complex web apps you sooner or later hit the wall. E.g. as soon as you need create queries with conditions inside JOIN clauses or any other advance queries there is no way how to achieve it with NDBT., (*6)

[1]: Flunorette has a replacer that can help you with replacing NDB(T)2.0., (*7)


Download

Via composer composer require icaine/flunorette '~1.0' or via github., (*8)

Documentation

Can be found on wiki pages., (*9)

Examples

Some examples are on wiki pages and even more examples can be seen in tests., (*10)


Change log

1.6.2014 - Some classes moved to new namespaces (towards PSR-4). To migrate from 0.9 to 1.0 use:, (*11)

    //BC part

    //https://github.com/icaine/RenamedClassLoader
    $rcLoader = new iCaine\RenamedClassLoader([
        'Flunorette\\NetteDatabaseReplacer' => 'Flunorette\\Bridges\\Nette\\NetteDatabaseReplacer',
        'Flunorette\\Hydrator' => 'Flunorette\\Hydrators\\Hydrator',
        'Flunorette\\HydratorSelectionDefault' => 'Flunorette\\Hydrators\\HydratorSelection',
        'Flunorette\\HydratorArrayHash' => 'Flunorette\\Hydrators\\HydratorArrayHash',
        'Flunorette\\HydratorResult' => 'Flunorette\\Hydrators\\HydratorField',

        'Flunorette\\ActiveRow' => 'Flunorette\\Selections\\ActiveRow',
        'Flunorette\\Selection' => 'Flunorette\\Selections\\Selection',
        'Flunorette\\GroupedSelection' => 'Flunorette\\Selections\\GroupedSelection',
        'Flunorette\\ISelectionFactory' => 'Flunorette\\Selections\\ISelectionFactory',
        'Flunorette\\SelectionFactory' => 'Flunorette\\Selections\\SelectionFactory',

        'Flunorette\\DeleteQuery' => 'Flunorette\\Queries\\DeleteQuery',
        'Flunorette\\InsertQuery' => 'Flunorette\\Queries\\InsertQuery',
        'Flunorette\\JoinableQuery' => 'Flunorette\\Queries\\JoinableQuery',
        'Flunorette\\Query' => 'Flunorette\\Queries\\Query',
        'Flunorette\\QueryBuilder' => 'Flunorette\\Queries\\QueryBuilder',
        'Flunorette\\QueryContext' => 'Flunorette\\Queries\\QueryContext',
        'Flunorette\\SelectQuery' => 'Flunorette\\Queries\\SelectQuery',
        'Flunorette\\UpdateQuery' => 'Flunorette\\Queries\\UpdateQuery',

        'Flunorette\\IReflection' => 'Flunorette\\Reflections\\IReflection',
        'Flunorette\\ConventionalReflection' => 'Flunorette\\Reflections\\ConventionalReflection',
        'Flunorette\\DiscoveredReflection' => 'Flunorette\\Reflections\\DiscoveredReflection',
        'Flunorette\\ReflectionException' => 'Flunorette\\Reflections\\ReflectionException',

    ]);
    $rcLoader->onClassLoaded[] = function ($old, $new) {
        trigger_error($old, E_USER_DEPRECATED);
    };
    $rcLoader->register();

    //If you are using the replacer
    //Flunorette\NetteDatabaseReplacer::replace();
    //end BC part

The Versions

05/11 2015

dev-develop

dev-develop

Database layer based on Nette/Database, FluendPdo and NotOrm.

  Sources   Download

GPL-3.0 BSD-3-Clause GPL-2.0

The Requires

 

The Development Requires

by Daniel Soukal

database mysql

08/07 2014

dev-master

9999999-dev

Database layer based on Nette/Database, FluendPdo and NotOrm.

  Sources   Download

GPL-3.0 BSD-3-Clause GPL-2.0

The Requires

 

The Development Requires

by Daniel Soukal

database mysql

02/07 2014

v1.0.2

1.0.2.0

Database layer based on Nette/Database, FluendPdo and NotOrm.

  Sources   Download

GPL-3.0 BSD-3-Clause GPL-2.0

The Requires

 

The Development Requires

by Daniel Soukal

database mysql

09/06 2014

1.0.x-dev

1.0.9999999.9999999-dev

Database layer based on Nette/Database, FluendPdo and NotOrm.

  Sources   Download

GPL-3.0 BSD-3-Clause GPL-2.0

The Requires

 

The Development Requires

by Daniel Soukal

database mysql

09/06 2014

v1.0.1

1.0.1.0

Database layer based on Nette/Database, FluendPdo and NotOrm.

  Sources   Download

GPL-3.0 BSD-3-Clause GPL-2.0

The Requires

 

The Development Requires

by Daniel Soukal

database mysql

05/06 2014

v1.0.0

1.0.0.0

Database layer based on Nette/Database, FluendPdo and NotOrm.

  Sources   Download

GPL-3.0 BSD-3-Clause GPL-2.0

The Requires

 

The Development Requires

by Daniel Soukal

database mysql

27/05 2014

v0.9

0.9.0.0

Description of project Flunorette.

  Sources   Download

The Development Requires

by Daniel Soukal