Daniele Alessandri
b67af29eb6
Make cluster and replication classes extend from a common interface.
2012-02-07 11:42:34 +01:00
Daniele Alessandri
dc14c29676
Rename certain namespaces, interfaces and classes.
...
Now we follow a Symfony2-like naming convention for namespaces, interfaces
and classes sticking with one clear rule.
- Renamed namespaces:
- Predis\Network
- Predis\Profiles
- Predis\Iterators
- Predis\Options
- Predis\Commands
- Predis\Commands\Processors
- Renamed interfaces:
- Predis\IReplyObject
- Predis\IRedisServerError
- Predis\IConnectionFactory
- Predis\IConnectionParameters
- Predis\Options\IOption
- Predis\Options\IClientOptions
- Predis\Profile\IServerProfile
- Predis\Pipeline\IPipelineExecutor
- Predis\Distribution\INodeKeyGenerator
- Predis\Distribution\IDistributionStrategy
- Predis\Protocol\IProtocolProcessor
- Predis\Protocol\IResponseReader
- Predis\Protocol\IResponseHandler
- Predis\Protocol\ICommandSerializer
- Predis\Protocol\IComposableProtocolProcessor
- Predis\Network\IConnection
- Predis\Network\IConnectionSingle
- Predis\Network\IConnectionComposable
- Predis\Network\IConnectionCluster
- Predis\Network\IConnectionReplication
- Predis\Commands\ICommand
- Predis\Commands\IPrefixable
- Predis\Command\Processor\ICommandProcessor
- Predis\Command\Processor\ICommandProcessorChain
- Predis\Command\Processor\IProcessingSupport
- Renamed Classes:
- Predis\Commands\Command
- Predis\Network\ConnectionBase
- Classes moved to different namespaces:
- Predis\MonitorContext
Meh
2012-01-31 18:19:18 +01:00
Daniele Alessandri
6f4347010d
Add new "replication" client option for master / slave replication.
...
When the "replication" option is specified and evaluates to true, the array of
connection parameters passed to the client constructor os be used to initialize
a new instance of Predis\Network\IConnectionReplication. This option can also
accept a callable object used as an initializer or the fully-qualified name of
a class.
2011-12-16 19:30:07 +01:00
Daniele Alessandri
1260c91f63
Pass the server profile to a connection initializer callback.
2011-11-29 17:17:08 +01:00
Daniele Alessandri
728afe7fcb
Redesign how Predis\ConnectionFactory works and make more sense out of it.
2011-11-29 16:32:37 +01:00
Daniele Alessandri
0fee0c6d97
Remove the underscore prefix for names of private/protected fields.
2011-11-25 14:17:11 +01:00
Daniele Alessandri
4e6ed3f26d
[phpdoc] Add API documentation.
...
This is a starting point to add a documentation of the whole set of APIs and
classes of Predis. The next step will be to actually improve and extend it.
2011-10-21 12:54:24 +02:00
Daniele Alessandri
9608a97469
Add a license header to PHP files.
2011-10-18 16:41:46 +02:00
Daniele Alessandri
20d872a306
Apply some coding style changes.
2011-10-18 15:51:55 +02:00
Daniele Alessandri
486225111d
Allow developers to define connections with Predis\ConnectionFactory using callable objects.
2011-05-07 10:54:22 +02:00
Daniele Alessandri
cd8b3535ef
Simplify Predis\ConnectionFactory.
2011-05-07 10:49:32 +02:00
Daniele Alessandri
d1157a506d
Remove useless code.
2011-04-11 18:21:01 +02:00
Daniele Alessandri
83bab78bd1
Rename the newConnection() method to create() in Predis\ConnectionFactory.
2011-04-08 16:55:08 +02:00
Daniele Alessandri
b22cb6f76d
Rename Predis\IConnectionSchemes to Predis\IConnectionFactory.
2011-04-08 16:40:25 +02:00