battis / appmetadata Goto Github PK
View Code? Open in Web Editor NEWAn object to store app metadata backed by a MySQL table
License: GNU Lesser General Public License v3.0
An object to store app metadata backed by a MySQL table
License: GNU Lesser General Public License v3.0
When a computed value is stored:
$metadata['FOO'] = '@BAR/foobar';
...it would be keen if both the computation were stored in the persistent store and the actual array value was, well, computed.
There's a validate
column in the database schema that started off as documentation for myself. It would be keen to use it to validate data stored to the array.
It would be good to figure out a way to programmatically store validation regexes (that would make this way more useful). Perhaps something like…
$metadata['FOO']->setValidation('/FOO|BAR/');
echo $metadata['FOO']->getValidation();
When a value from which a derived value is computed is changed, the derived value should be updated. For example:
// B is derived from A
$metadata['A'] = 'foo';
$metadata['B'] = '@A/bar';
// initial values
echo $metadata['A']; // 'foo'
echo $metadata['B']; // 'foo/bar'
// A is updated
$metadata['A'] = 'rutabega';
// in an ideal world…
echo $metadata['A']; // 'rutabega' -- currently happens
echo $metadata['B']; // 'rutabega/bar' -- currently 'foo/bar' still
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.