Skip to content

CodeIgniter PHPCassa library; an implementation of PHPCassa for CodeIgniter framework

License

Notifications You must be signed in to change notification settings

eakalin/CodeIgniter-PHPCassa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

CodeIgniter-PHPCassa is an implementation of PHPCassa for CodeIgniter. You can find the latest version of PHPCassa at http://www.github.com/hoan/phpcassa NOTE: This is just a placeholder, I havn't started the development on this library just yet but plan to do so in the next couple of days.

The intended usage is below:

$this->load->library('cassandra');

$this->cassandra->get('users',$key);
$this->cassandra->insert('users','[email protected]',array(
													'first_name' => 'Ian',
													'last_name'	 => 'Livingstone',
													'password'	 => 'Some Encrypted String',
													'passkey'	 => 'Some Randomly Generated String'
												));

Then in your cassandra.php configuration file you'll add the node list and ports

$cassandra['nodes'][] = array(
						'hostname' 	=> '54.32.1.54',
						'port'		=> '9000'
					);
$cassandra['nodes'][] = array(
						'hostname'	=> 'cassandra-node-54',
						'port'		=> '4322'
					);

About

CodeIgniter PHPCassa library; an implementation of PHPCassa for CodeIgniter framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published