Download the PHP package html_first/atla-as without Composer
On this page you can find all versions of the php package html_first/atla-as. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download html_first/atla-as
More information about html_first/atla-as
Files in html_first/atla-as
Package atla-as
Short Description php file system routing, file serving, connection and SQL DB querying library
License MIT
Informations about the package atla-as
atlaAS
- php:
this library is designed to be used in the conjuction with our client side HATEOAS sister
library https://github.com/hakimjazuli/atlaAS_client in mind;
- however you can still uses it as Backend normally for, like:
- building REST json api backend: using our "HtmlFirstatlaASMiddlewares_Middleware",
to set up header default header on
/api/**
routes;
serving files: using our "HtmlFirstatlaASRouter_MapResources;";
- building HATEOAS backend for htmx/other HATEOAS library/framework;
- in fact you might be surprissed how good File System Routing might fare for
htmx/other HATEOAS library due to the nature of atlaAS code splitting in general;
automatic routes setup;
- no need to register it using framework class instances first;
- in htmx use case, you can even opt out from using
hx-select
and/orhx-target
asthe returned html needed are easily split per routes file;
- not to mention how php is a natural templating language for html _(well... if
there's any more natural language, php is still the most easiest to set up, "there's no setup", just use
?>
to enter front end and-
var_reference` the first argument is a pointer;
*) go to exported list
HtmlFirst\atlaAS\Utils\__Request
- this class is global singelton
- altough this class are global singleton all methods and properties are public static;
- this class contains several values that contains incoming request variables;
*) go to exported list
HtmlFirst\atlaAS\Utils\__Response
- this class is global singelton
- altough this class are global singleton all methods and properties are public static;
- this class contains several common methods to handle response to client;
*) go to exported list
HtmlFirst\atlaAS\Vars\__Env
- this class is a global singelton;
- this class is a setting class;
*) go to exported list
HtmlFirst\atlaAS\Vars\__Settings
- this class is a global singelton;
- this class is a setting class;
*) go to exported list
HtmlFirst\atlaAS\Vars\__SQLite3
- this class is a global singelton;
- this class is a setting class;
*) go to exported list
HtmlFirst\atlaAS\__atlaAS
- this class is global singelton
- use this class as entry point;
- instantiate it, with extended Env, Settings, __SQLite3* as arguments;
*: optionals;
- then call run method;
*: optionals;
*) go to exported list