killsaw / f3-plugins Goto Github PK
View Code? Open in Web Editor NEWCustom plugins for the Fat-Free Framework
Home Page: http://fatfree.sf.net/
Custom plugins for the Fat-Free Framework
Home Page: http://fatfree.sf.net/
Just need to make the commenting more standard, shift to spaces rather than tabs, and some other stuff.
Still need unit tests for:
There is a problem when using none-numric ID's.
1: It wont load correctly
2: Under special circumstances it will return the first DB entry independent of the actual ID...
I've corrected it in my local version by applying the following patch:
--- axonrest.php (revision 164)
+++ axonrest.php (working copy)
@@ -81,9 +81,12 @@
// Now load this mess.
$x = new AxonHelper($name);
if ($where !== null) {
if (is_numeric($where)) {
$where = sprintf("id=%d", $where);
}
if (is_string($where)) {
$where = sprintf("id='%s'", mysql_escape_string($where));
} else {
$where = sprintf("id=%d", (int)$where);
}
$x->load($where);
}
return $x;
@@ -163,7 +168,7 @@
}
if (!empty($object_id)) {
$object = self::getObject($object_name, intval($object_id));
$object = self::getObject($object_name, $object_id);
if ($object->dry()) {
f3::http404();
} else {
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.