2017 © Pedro Peláez
 

library trf4php

This is a facade for transaction managers.

image

trf4php/trf4php

This is a facade for transaction managers.

  • Monday, March 19, 2018
  • by szjani
  • Repository
  • 1 Watchers
  • 4 Stars
  • 23,004 Installations
  • PHP
  • 4 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 14 Versions
  • 2 % Grown

The README.md

trf4php

This is a transaction manager facade library. It wraps and hides database handler libraries thus you can whenever switch to another one. The idea came from the Spring framwework., (*1)

Why is it useful?

If you separate your project to layers, you probably have application layer with several service classes. Common requirement is that database libraries do not be used directly in higher levels. This problem partially solved by ORM-s which follow datamapper pattern: you can use simple classes to persisting them. You can even use repositories through interfaces. However, transaction handling is not hidden, you cannot switch your library to another one without modifying your service classes., (*2)

trf4php is a simple interface. You can use it in your code for transaction handling and you can change the current implementation. Perhaps you use simple PDO but you would like to switch to Doctrine. It requires just a configuration change., (*3)

Features

Currently there is one binding implementation: trf4php-doctrine, (*4)

Feel free to implement a binding for your preferred database handling framework., (*5)

The Versions

19/03 2018

2.0.x-dev

2.0.9999999.9999999-dev

This is a facade for transaction managers.

  Sources   Download

MIT

The Requires

 

The Development Requires

wrapper facade transaction

19/03 2018

2.0.0

2.0.0.0

This is a facade for transaction managers.

  Sources   Download

MIT

The Requires

 

The Development Requires

wrapper facade transaction

26/02 2014

1.2.x-dev

1.2.9999999.9999999-dev

This is a facade for transaction managers.

  Sources   Download

MIT

The Requires

 

wrapper facade transaction

26/02 2014

dev-master

9999999-dev

This is a facade for transaction managers.

  Sources   Download

MIT

The Requires

 

wrapper facade transaction

26/02 2014

1.2.0

1.2.0.0

This is a facade for transaction managers.

  Sources   Download

MIT

The Requires

 

wrapper facade transaction

20/02 2014

1.1.x-dev

1.1.9999999.9999999-dev

This is a facade for transaction managers.

  Sources   Download

MIT

The Requires

 

wrapper facade transaction

20/02 2014

1.1.4

1.1.4.0

This is a facade for transaction managers.

  Sources   Download

MIT

The Requires

 

wrapper facade transaction

10/01 2013

1.1.3

1.1.3.0

This is a facade for transaction managers.

  Sources   Download

MIT

The Requires

 

wrapper facade transaction

27/12 2012

1.1.2

1.1.2.0

This is a facade for transaction managers.

  Sources   Download

MIT

The Requires

 

wrapper facade transaction

27/12 2012

1.1.1

1.1.1.0

This is a facade for transaction managers.

  Sources   Download

MIT

The Requires

 

wrapper facade transaction

27/12 2012

1.1.0

1.1.0.0

This is a facade for transaction managers.

  Sources   Download

MIT

The Requires

 

wrapper facade transaction

17/12 2012

1.0.x-dev

1.0.9999999.9999999-dev

This is a facade for transaction managers.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

wrapper facade transaction

17/12 2012

1.0.1

1.0.1.0

This is a facade for transaction managers.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

wrapper facade transaction

15/12 2012

1.0.0

1.0.0.0

This is a facade for transaction managers.

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • trf4php/trf4php-impl 1.0.0

 

wrapper facade transaction