Commit Graph

45 Commits

Author SHA1 Message Date
Daniele Alessandri a894f470bd Add an "autoload.php" utility script for autoloading in examples and tests. 2011-11-28 10:19:11 +01:00
Daniele Alessandri 4882e23319 Move Publish/Subscribe related classes to the Predis\PubSub namespace. 2011-11-28 10:01:21 +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 2f23fb03f0 Apply minor changes to the rest of the examples. 2011-10-22 11:07:25 +02:00
Daniele Alessandri d160cd9175 Update the server-side scripting example to use the current Redis unstable. 2011-10-22 10:55:58 +02:00
Gun.io Whitespace Robot b9ca78ac43 Remove whitespace [Gun.io WhitespaceBot] 2011-10-21 10:50:42 -04: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 5e41657363 Use the new Predis\Autoloader class for tests and examples. 2011-10-02 12:07:52 +02:00
Daniele Alessandri 2cdcd297f0 Rename Predis\Client::pubSubContext() to Predis\Client::pubSub(). 2011-06-04 18:47:59 +02:00
Daniele Alessandri 13ac03e134 Merge branch 'redis_scripting' 2011-05-13 20:06:34 +02:00
Daniele Alessandri 092b822033 Add an example for server-side scripting with Lua using Predis abstractions. 2011-05-13 20:06:06 +02:00
Daniele Alessandri e97e13bde5 Add the 'prefix' client option. The client will automatically prepend the specified prefix string to each key. 2011-05-05 17:16:14 +02:00
Daniele Alessandri 46db0409a1 Merge branch 'command_processor' 2011-05-05 16:31:55 +02:00
Daniele Alessandri cb363b52f6 Update examples. 2011-05-05 16:24:46 +02:00
Daniele Alessandri 150795f999 Remove the key_distribution option and allow user-defined callbacks to initialize a cluster connection. 2011-05-05 15:06:00 +02:00
Daniele Alessandri 09b5d7ac61 Change Predis\Commands\Preprocessors to Predis\Command\Processors. 2011-05-04 11:23:31 +02:00
Daniele Alessandri 19b703588b Add an example for Predis\DispatcherLoop. 2011-04-25 14:39:29 +02:00
Daniele Alessandri b5a1ba9795 Minor code and formatting changes for the example files. 2011-04-25 14:22:34 +02:00
Daniele Alessandri 21372bef6d Add an example for Predis\MonitorContext. 2011-04-25 14:17:24 +02:00
Daniele Alessandri 7b4da3cd78 Use variadic SUBSCRIBE in the PubSub example. 2011-04-24 14:11:34 +02:00
Daniele Alessandri f6eab6ec3a Just a minor code styling change. 2011-04-11 23:43:49 +02:00
Daniele Alessandri 20ce6e523a Add an example to show how to leverage key prefixes. 2011-04-08 11:16:06 +02:00
Daniele Alessandri c2a61a3113 Rename Predis\CommandPipeline to Predis\PipelineContext. 2011-04-04 11:31:26 +02:00
Daniele Alessandri afd78b49a6 Update README and samples. 2011-03-18 15:45:27 +01:00
Daniele Alessandri 3f8b639e2b Change StreamConnection in order to disable read/write timeouts when the value of 'read_write_timeout' is also equal to 0. 2011-03-06 11:03:53 +01:00
Daniele Alessandri 30bc53ee75 Rename method ICommand::getCommandId() to ICommand::getId(). 2011-03-04 19:37:10 +01:00
Daniele Alessandri 0d5fb3319d Move Predis\Command and Predis\ICommand to the Predis\Commands namespace. 2011-03-04 19:21:41 +01:00
Daniele Alessandri 5431af0c4b Update examples to the new connection API design. 2011-03-02 10:11:58 +01:00
Daniele Alessandri 9f58d8a663 Register an autoloader function for examples. 2011-02-25 12:09:45 +01:00
Daniele Alessandri 2b2ca8e8dc Remove trailing spaces in code. 2011-02-15 12:46:19 +01:00
Daniele Alessandri 44839a7a6f Minor fix in a comment. 2011-02-12 17:25:48 +01:00
Daniele Alessandri 3b2681f2c8 Move some classes in new namespaces and refactor some code. 2011-01-08 00:45:46 +01:00
Daniele Alessandri 858d7372ca Add an example for MULTI/EXEC transactions using CAS. 2010-12-31 19:41:31 +01:00
Daniele Alessandri b3ea36f3fa Add a new example. 2010-09-18 18:54:57 +02:00
Daniele Alessandri c781e91c2e Fix typos. 2010-05-22 16:10:17 +02:00
Daniele Alessandri dad3704488 Examples: bulk update. 2010-05-22 14:48:37 +02:00
Daniele Alessandri d585b11bf5 Examples: add CustomDistributionStrategy.php 2010-05-22 14:34:28 +02:00
Daniele Alessandri f60208eb54 Examples: updated PubSubContext.php 2010-05-22 13:59:16 +02:00
Daniele Alessandri 6e321a3530 Add the Predis\Client::pubSubContext() method to initialize a PubSub context from a client instance. 2010-05-18 12:23:53 +02:00
Daniele Alessandri ea7e9a37c6 Remove unused variable in the pubsub example. 2010-05-18 11:54:59 +02:00
Daniele Alessandri a0f441f21b Added an example to show how to use the \Predis\PubSubContext class. 2010-05-13 16:10:18 +02:00
Daniele Alessandri 6df1d02e4c Initial support for optional parameters when creating a Client instance. Optional authorization and database selection are now performed automatically upon connection. 2009-11-09 21:22:54 +01:00
Daniele Alessandri dc50258c28 Fixed a value in the shared configurations for the library examples 2009-11-07 14:04:28 +01:00
Daniele Alessandri 34a616cd95 ... and here finally comes Predis! 2009-11-07 13:20:11 +01:00