candango / myfuses Goto Github PK
View Code? Open in Web Editor NEWMyFuses PHP Framework
License: Apache License 2.0
MyFuses PHP Framework
License: Apache License 2.0
If parenthesis is present in the method parameter of a invoke verb don't add extra parenthesis.
Fusebox 5 was accepting that. Let's consider this rule on this verb to maintain compatibility.
Based on a TODO on BasicMyFusesBuilder on line 124.
Based on TODOS on files:
Let's kick off the new myfuses version defining it's own namespace according to the composer definition.
Lets's follow PSR-4 for this:
This is not related to PHP 7. Some verbs aren't handing variables correctly.
We need to be able to run correctly without generating log errors.
The json to php routine will break while handling an array. Need to check if this a PHP 7 issue or if that will break on PHP 5 and 6.
When switch verb is handling a variable that isn't defined a notice will be thrown.
Let's add a parameter to handle this variable without throwing a notice.
Let's not put store the class into the session to make easier to share the data with other languages.
Myfuses has a problem to run with pure CGI as pointed on a FIXME comment in FuseRequest.class.php:
// FIXME Fixing an error occoured with CGI GATEWAYS.
This part of the code that will redirect the request to the right circuit and action was designed over the $_SERVER[ 'REDIRECT_URL' ] variable set by apache RewriteEngine.
We need to figure out if the NGINX and thus the CGI will operate dealing with the index.php directly and the $_SERVER[ 'REQUEST_URI' ] variable is generated by the http proxy.
This happens on NGINX using the TRY_FILES primarily.
This is based on a TODO comment on BasicApplication line 1117
The response verb will only set the content type to the global circuit. The problem here happens when in different actions we set the response type, that will make all actions from this circuit to use the last content type set.
I suspect that will affect even do action verbs. We need a way to define the content type correctly.
This is only for backward compatibility but the argument parameter must be handled correctly to support legacy fusebox wiring.
Serialization isn't working as used to be. To be save let's store the serialized data to a file and restore it from there.
Organize the project structure adding basic files like .gitignore, README, composer, etc.
Remove all idea meta files from the source code.
We need to fix the code generated when methodcall parameter is informed in a invoke verb.
We are changing licence from Mozilla to Apache 2.
Reformat code to be compliant with PRS-2 standards.
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.