Using MySQL and Cassandra in Codeigniter - php

I am using Codeigniter to develop my application. I am using MySQL database and I need to integrate Cassandra db in my site. So i need to use both of them in my framework.
I get the code from the following link for using Codeigniter with Cassandra, but I need to use both cassandra and mysql. Is it possible to use both? Half of the project is completed i am using MySQL.
I only need to integrate Cassandra, but the files downloaded from github the code is intergrated with cassandra. I can't find the steps or separate plugin cassandra files to integrate with Codeignitor.

yes its possible. cassandraci is a library whose function you can access with
$this->db->query()->insert('key', array());
$r1 = $this->db->query()->get('key');
only if you autoload that db class. Read more

Related

How can I implement sugarcrm in laravel project?

I have two project. There are frontend project (shop online) and backend project(crud to manage sales data etc of shop online). My project use laravel 5.3 and my database use mysql database. Both projects use the same database
I want to change my database. I want to use database sugercrm. https://www.sugarcrm.com/. And my backend project, I also want to change it using sugarcrm
So I want my database and my backend project using sugarcrm. For my frontend project keep using laravel 5.3
How do I implement it?
Whether it can be implemented?

Advanced database search for a Codeigniter CMS

I'm fairly new to the Codeigniter and MVC framework, I'm building a content management system (CMS) and I've got the basics done.
I need to be able to search through my companies databases and compile reports based on the results, does anyone know of a good library for this or am I going to have to build one from scratch? I'm using the latest version of CI and I'm using the ion_auth authentication library for my user login, all this is working great!
Check out this thread on
CMS based on CodeIgniter
If this is more advance stuff and you wanted simple crud tutorials (Create update and destroy data) check out : http://avenir.ro/create-cms-using-codeigniter-3/ and for documentation check out https://www.codeigniter.com/user_guide/

Using Laravel with external API instead of database

I've been trying to make a mobile app which uses an API to fetch resources. So far, so good. Now I need to make the website and I want to use the same API.
The API is built on the top of Slimframework and illuminate/database. So I'm wondering is it good to use Laravel for something that has no connection to the database directly?
For example, components such as Auth will require to supply a different driver and etc.
Would you recommend using Laravel 4.2 for this kind of purpose? What kind of advice can you give me?
It's time to switch now laravel 5.0. I would recommend you to use Laravel for your purpose.
Yes, that is ok, try using Laravel 5 instead 4.2

Laravel with DB2 Database

Hi guys I'm new with Laravel and I want to use it to build a REST API and the routing is just great my only problem now is the database , I read that Laravel only supports just four database systems http://laravel.com/docs/database#configuration and I need to use IBM DB2 , so is there any alternative to this? I mean like another library and if is possible to integrate with this framework. (I'm not using ODBC)
You can swap out Eloquent and use Doctrine which supports DB2.
Doctrine is on composer so can be easily loaded.

is any simple web project using cassandra and php available?

We are doing project using PHP and Cassandra. If any already finished a project using PHP and Cassandra, that is available means that will helpful for reference. Is there is any sample project available? And Facebook uses Cassandra - can we get some inputs from Facebook experience and tools? Is Facebook maintain as opened?
http://wiki.apache.org/cassandra/ThriftExamples Does that help?

Categories