Comments (5)
from one-php-microframework.
from one-php-microframework.
Hello!
Cool, would be nice, any pull request is welcome π€
from one-php-microframework.
In fact it looks very easy. Question: why do you decided to exit traverseRoutes after the first matching route is found and executed? Would there be a problem to execute all the matching routes?
Other than this, I suppose the idea is to update matchUriWithRoute and CompareSegments. That shouldn't take too long, I'll see if I can do it on thursday or friday
from one-php-microframework.
Would there be a problem to execute all the matching routes?
No, as long as we return the proper boolean
at the end of the loop.
Maybe we can add the before
as an special method and execute it always first π€ .. thinking we need to modify the processUri
regex to match *
routes too.
from one-php-microframework.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from one-php-microframework.