ysads / nukr Goto Github PK
View Code? Open in Web Editor NEW๐ฉ๐ฝโ๐ฆณ๐จ๐ปโ๐ฆณ๐ฑ๐ฝโโ๏ธ๐ง๐ฟ A REST-based prototype of social network
License: Eclipse Public License 2.0
๐ฉ๐ฝโ๐ฆณ๐จ๐ปโ๐ฆณ๐ฑ๐ฝโโ๏ธ๐ง๐ฟ A REST-based prototype of social network
License: Eclipse Public License 2.0
I think of handling the storage records much like Datomic do: user must specify under which entity a given record will be inserted.
This makes possible for the component to handle different entities under the same storage adapter - for example, connections
and profiles
-, which makes it behave like a normal database.
Two approaches may be considered when implementing this:
entity
key into the record map, containing the entity name. This doesn't allow a constant-time finding if we want to restrict our search to a given entity, but rather makes it trivial finding to which entity a record belongs.This is intended to make connections more versatile, by allowing them to be directional and assymetric. That is, if A is connected to B, not necessarely B is connected to A - sort of like how Twitter works.
This would make connections more qualified, since they can have their own attributes, and maybe be qualitatively described. This allows, for example, a user to have connections which describe friends, family, people they know and etc.
This would also include a new namespace nukr.entities.connection
which would hold a Connection
record.
Also, a new route would be necessary: GET /profiles/:uuid/connections
, which would respond with a collection of connection objects a given profile has, grouped by their type
attribute.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.