, (*1)
API-Viewer for JS Developers
This Add-On for Bancha helps Developer-Teams in the process of creating Bancha Applications. JavaScript Frontend Developers no longer have to dig through any PHP code to find the available remote methods., (*2)
Instead they just open /developer-remote-api.html in debug mode in their browser and can view all remotely available CakePHP Controller methods., (*3)
Features
- Dynamically reflects on CakePHP app
- Displays searchable RemoteStubs
- Uses both Reflection and PHPDoc comments
- Supports code tags and MarkDown syntax
, (*4)
How to setup the project
Asuming you already use Bancha 2.1.0+ on the site, just copy this plugin into Plugin/ or app/Plugin/ and add following line to your app/Config/bootstrap.php:, (*5)
CakePlugin::load(array('BanchaDeveloperRemoteApi' => array('routes' => true)));
This is a bancha-flavored light-weight build of Sencha JSDuck ., (*6)
This project is distributed under the terms of the GNU General Public License version 3., (*7)
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE., (*8)