neo4j

I would like to know if you can use neo4j data structure and if someone has already addressed this option.

Thanks

Neo4j is developed in java.

and can’t understand what you want to say…

[color="#006400"]/* moved from Yii powered apps to Yii 1.1 general discussion */[/color]

You can probably use Neo4J data objects (?) if it’s got a PHP interface.

If not, then it’s going to be difficult.

Anything wrong with Yii’s ActiveRecord?

You can also use ReadBean (IIRC)

The real question is probably: Why ?

Sorry for my bad English and OT…

this is stack of structure that I have in mind:

Neo4J + Blueprints

Java + Jersey + Grizzly

    |


V

Rest interface (JSON format)

PHP framework (Yii???)

jQuery

I hope to be more explicit …

Thanks

How about leaving Yii out of that stack?

And use a client library instead, like Knockout.js ?

That sounds like the perfect answer to your situation.

-> http://knockoutjs.com/documentation/introduction.html

Knockout.js is definitely what you want here.

Not Yii.

Yii is a server-side oriented library.

Knockout is client-side and works well with jQuery.

Check out their interactive tutorial - it’s definitely worth a visit! :)

Thanks for the advice … This is very interesting

I like Knockout.js myself. :)

However, if you are already using this:

  • [color=#1C2837][size=2]Neo4J + Blueprints[/size][/color]
  • [color=#1C2837][size=2]Java + Jersey + Grizzly[/size][/color]

[color=#1C2837][size=2]Isn’t that doing the job that Yii would have done?[/size][/color]

[color=#1C2837][size=2]

[/size][/color]

[color=#1C2837][size=2]That means that you can safely skip this:[/size][/color]

  • [color=#1C2837][size=2]Rest interface (JSON format)[/size][/color]
  • [color=#1C2837][size=2]PHP framework (Yii???)[/size][/color]

[size="2"][color="#1c2837"]And go straight to Knockout.js.[/color][/size]

[size=“2”][color="#1c2837"]Provided that you can get NeoGrizzly to send JSON data of course. :)[/color][/size]