tribis / inlinexhr--php- Goto Github PK
View Code? Open in Web Editor NEWA PHP backend to YUI 3
Home Page: http://www.eaktion.com/inlinexhr/
A PHP backend to YUI 3
Home Page: http://www.eaktion.com/inlinexhr/
If an error in PHP occurs during a xhr call the inlineXHR(php) will send a json rsponse signalling an error.
However, from a xmlHTTP point of view this is not an error and the inlineXHR method after() will proceed as normal.
The desired behaviour is to stop the chain of actions.
inlineXHR must check for artificial error codes sent by inlineXHR(php) if a code of 610 or similar the chain must be stopped and the error passed along when the first error happens.
Use case: a function creates a file and fails with permision denied
a second function tries to write to that file and fails too, "missing file".
Ideally the script should stop at the first error, instead if the second function has been called by after() it will cause both errors to happen.
It's too troublesome having to set GET or POST on both sides of the transaction.
The server side should be able to detect if the ajaxAction param has been passed either as POST or GET and react accordingly.
This would be a configuration setting of "mode= auto", as default while GET or POST would be used to enforce a single mode.
A pop up window is needed giving a trace of the request and the impact the different configuration options are having on the request/response flow.
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.