nox7 / nox Goto Github PK
View Code? Open in Web Editor NEWNox is a minimal-dependency bearing PHP v8 web framework with minimally invasive syntax.
License: Apache License 2.0
Nox is a minimal-dependency bearing PHP v8 web framework with minimally invasive syntax.
License: Apache License 2.0
The Router should have a method which can allow a request method, URI, isRegex flag, and callback function that returns the route result to be dynamically added and isn't reliant on the attribute routing parsing.
An example in wishful code would be
$router->addRoute(
requestMethod: "get",
requestPath: "/our-services",
isRegex: false,
callback: function(){
return "<p>Hello world</p>";
},
);
Right now, it throws a MySQL exception because it will generate a WHERE clause that is similar to:
WHERE column IN ()
Which is invalid.
This is incorrect. Determine how to handle this situation so that it is not a 404 or make it clearer that a controller method must have a non-null return.
To utilize MySQL's COUNT() function to quickly count a data set.
Currently the only query option without a primary key is ::query()
which always returns an array.
This removes the reliance on using $abyss->fetch** methods and can become more class-specific
Example
$abyss = new Abyss();
$user = $abyss->fetchInstanceByModelPrimaryKey($model, $keyValue);
Becomes a more concise
$user = User::fetch($keyValue);
or for collections
$users = User::query($columnQuery, $resultOrder, $pager);
A method needs to be added to the Router to allow all publicly accessible routes to be fetched.
A publicly accessible route is defined as one that can be accessed without a specific set of credentials to view the page. Something a robot crawler (such as Googlebot) can crawl.
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.