iAPK: Free download android apk file
Web service source code for iapk.org website with Flight micro-framework for PHP.
The flight micro-framework is really cool.
All routes and web services are in one single PHP file and tiny and shortcode. Clean...
Example:
/
(default language is EN)/en/
,/pt/
,/fr/
/de/search/github/
,/pt/search/firefox/
/ar/tools/
/fr/download/com.github.test/
,/pt/download/PACKAGE_NAME_OF_APP/
/pt/tools/com.github.test/
So:
Flight::route('/(@lang)', function($lang) {}
Flight::route('/@lang/search/@query/', function($lang, $query) {}
Flight::route('/@lang/@categorySlug/', function($lang, $categorySlug) {}
Flight::route('/@lang/download/@applicationSlug', function($lang, $applicationSlug) {}
Flight::route('/@lang/@categorySlug/@applicationSlug', function($lang, $categorySlug, $applicationSlug) {}
- PHPEDB: https://github.com/BaseMax/PHPEDB
- NetPHP: https://github.com/BaseMax/NetPHP
- Flight: https://flightphp.com/
server {
#port
listen 80;
#domain
server_name webservice-testing.iapk.org;
root /home/android-iapk-site/root/subdomain-api/;
index index.php;
location / {
try_files $uri $uri/ /index.php;
}
location ~ \.php$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
}
Flight is a fast, simple, extensible framework for PHP. Flight enables you to quickly and easily build RESTful web applications.
<?php
require 'flight/Flight.php';
Flight::route('/', function(){
echo 'hello world!';
});
Flight::start();
My nickname is Max, Programming language developer, Full-stack programmer. I love computer scientists, researchers, and compilers. (Max Base)
A team includes some programmer, developer, designer, researcher(s) especially Max Base.