Cakephp and neo4j datasource - php

I have a question about the neo4j drivers.First of all, I am using CakePHP as a framework and Neo4j graph database.I want to connect neo4j and cakephp but there are no driver or datasource.I tried to implement Neo4j offical driver for Php but It's not worked because of namespaces.The Cakephp not found classes which is related or extended in that driver.How can I fix them? Also, If there are any datasource for cakephp how can I found them?

If you would like to run faster i would just work with the neo4j api.
http://docs.neo4j.org/chunked/stable/rest-api.html
from your code make direct requests to the api. It is not much work and easier to maintain.

Related

How to apply Zend ACL with neo4j database

I have developed a project using zend and neo4j db. Till now I haven't used sessions now I have requirement of applying authorization to various types of users. I don't know whether Zend Acl can be directly implemented with neo4j. If any one used ACL with neo4j and can provide some examples then I would be very grateful to that person. On searching I came up with this link..
Graph Acl
Is it helpful ?
There are no built-in ZendAcl Neo4j backed plugins. Note that ZendAcl does not have any built-in persistence features at the core.
You'll need to write an ACL plugin that will then create the necessary Cypher queries.
An example with Doctrine : https://monzee.wordpress.com/2009/06/14/developing-a-doctrine-backed-acl-helper-tdd-style-part-1/

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.

Symfony project using CURL - building project with API

I have never used a PHP framework before and am considering using Symfony for my next one. However, I have already built an API which has all my main classes. I will therefore connect to this API using CURL. Can anyone advise on where to start with such a project. I am working through a Symfony tutorial but none of it seems to apply to what I need to do as I do not need to create database connections or classes as I will be building this project on my existing API.
If you don't need a lot of what you see in the Symfony tutorials you might be able to get away with Silex. Silex is a mini-framework with alot of the core aspects of Symfony, but without the extra stuff.
http://silex.sensiolabs.org/

PHP ORM Solution for SqlServer

I am searching for DAL or ORM (Only ORM no MVC) Solution in PHP5 that can efficiently access SqlServer.
I am new to SqlServer. and I need to code a part of ASP.net website in PHP5.
I am currently Using QCodo However its codegenerator is making some problem with ASP's own tables (?? the ASP Guys told me that its for ASP's Membership Management. and these tables are handled internally).So I need some alternative solution that can work in this situation too !!
I've wrestled with this for quite a while and there are a few key points that you need to be aware of when it comes to SQL Server and PHP.
The driver of choice is currently the 2.0 release of the Microsoft Drivers for PHP for SQL Server. You can find more information about that driver here. I installed it using the Microsoft Web PI application.
As of this post, I know of only 1 ORM that supports this driver and that is Propel. That being said, Propel's generator has a dependancy upon Phing, which is best installed via PEAR. After wrestling with trying to get all of this working in Windows Server 2k8, I gave up and I'll just be writing my own wrapper or using the native PDO functions.
Several options, from more to less complex:
Doctrine
Propel
Zend_Db
The three of them support MSSQL through PDO's MSSQL Server extension.

PHP PDO - migrating to CodeIgniter

Does anyone know if there is a viable library for PDO database access for CodeIgniter? I only ask because I am in the process of migrating over to CI and am having trouble integrating my old Database classes as libraries in the CI framework - can't seem to get them to utilize CI's config constants for database access. Any thoughts? It would help make my implementation a little more database-flexible.
Please refer the following URL:
CodeIgniter - PDO-SQLite3
https://ellislab.com/forums/viewthread/45247/#223844
Step by step adding PDO in Codeigniter Tutorial.
This thread also discusses Using PDO in Codeigniter

Categories