Download the PHP package katmore/flat-webapp without Composer
On this page you can find all versions of the php package katmore/flat-webapp. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download katmore/flat-webapp
More information about katmore/flat-webapp
Files in katmore/flat-webapp
Package flat-webapp
Short Description boilerplate flat web application
License MIT GPL-3.0+
Homepage https://github.com/katmore/flat-webapp
Informations about the package flat-webapp
flat webapp
the boilerplate flat web package
features
- HTML templating
- Front-End Routing (for the HTML template)
- Back-End Routing (for the RESTful API webservice)
directory map
- /webapp/app/AppRoute/Api "Webservice Routing": starting point of the route map used by the "API" entry point controller, i.e., from the URL http://example.com/webapp/web/api.php/*
- for example...
define a class
MyResource
defined in /webapp/app/AppRoute/Api/MyResource.php (using namespace\AppRoute\Api\Resolve
in class definition) - then...
visit the URL
http://example.com/webapp/web/api.php/MyResource
, and theapi.php
entry point controller will instantiate the class named \AppRoute\Api\Resolve\MyResource (from above example)
- for example...
define a class
- /webapp/app/Resources/design/tmpl/view/: "HTML View Routing": Starting point of the route map used by the "View" entry-point controller
Installation
The easiest way to get going is with a two-step process using Composer and Bower
Step 1. Composer 'create-project'...
(copies this repo and configures php dependencies)
Step 2. Bower update...
(installs static dependencies)
Copyright
Flat webapp - https://github.com/katmore/flat-webapp
Copyright (c) 2012-2017 Doug Bird. All Rights Reserved.
License
"Flat webapp" is copyrighted free software.
You can redistribute it and/or modify it under either the terms and conditions of the "The MIT License (MIT)"; or the terms and conditions of the "GPL v3 License".