-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate code to the new graph structure #15
Comments
HowTo :The repository is a graph database. The main problem here is that it's hard to separate nodes relations in order to serialize data. Lets say : <?php // file1.php
class foo { /* .... */ } And another file : <?php // file2.php
class bar extends foo { /* .... */ } Here the structure of nodes :
Lets say we want to serialize into separate structures As the lazy loading is based on files entries, each relation should be related also to them. Another problem, is that we could move, rename, or copy/paste a class definition, so the class may change from a file. The relation is weak, we can't locate with precision a related node, we must pass with an intermediate lookup system.
|
good reading : http://highscalability.com/unorthodox-approach-database-design-coming-shard
My approach is bad because I want to keep data normalized, need to try something 😄 |
done 😸 |
Rewrite every node with the new graph code.
This task will make possible these tasks :
The text was updated successfully, but these errors were encountered: