Path to this page:
./
devel/ruby-globalid,
Reference models by URI
Branch: pkgsrc-2017Q4,
Version: 0.4.0nb1,
Package name: ruby23-globalid-0.4.0nb1,
Maintainer: minskimA Global ID is an app wide URI that uniquely identifies a model
instance. This is helpful when you need a single identifier to
reference different classes of objects. One example is job
scheduling. We need to reference a model object rather than serialize
the object itself. We can pass a Global ID that can be used to locate
the model when it's time to perform the job. The job scheduler doesn't
need to know the details of model naming and IDs, just that it has a
global identifier that references a model. Another example is a
drop-down list of options, consisting of both Users and
Groups. Normally we'd need to come up with our own ad hoc scheme to
reference them. With Global IDs, we have a universal identifier that
works for objects of both classes.
Master sites:
SHA1: 14070326d38485285bab9909c96b39aa6b6ddffc
RMD160: 61741bdb7ed6e09385c49f6a98ba8e7afe140193
Filesize: 12.5 KB
Version history: (Expand)
- (2018-01-02) Package added to pkgsrc.se, version ruby23-globalid-0.4.0nb1 (created)