PHP HaFr Install
PHP-Web-Start is a Website-script to Install a HaFr Website.
The Web-Start is based on many website build by me and enables the best-practices of the website when building a brand new website.
- Based on MySQL Database.
- Developed for MAMP and Apache Webserver.
- Uses Lazy Loading for forms.
- Uses REST for (Help)-texts.
- Uses Responsive design
- Uses login/logout by the Login-app.
- Common (Generic) login (Cookies with RememberMe)
- Cookies based on the Cookie-Expired method.
- Uses RBAC (Role Base Access Control).
- Has a Menu with Home, Some-app-specific-tabs, Preferences, Admin, Help (see also RBAC).
- Uses the Multi-Language support which implements the method _h().
- Version Control Git and serviced by GitLab  .
- Uses Atlassian SourceTree.
Normally when a user opens a webpage, the entire page’s contents are downloaded and rendered in a single go .
While this allows the browser to cache the web page, there’s no guarantee that the user will actually view all of the downloaded content.
For example, If an entire photo gallery is downloaded but the user leaves after only viewing the first image, then the result is wasted memory and bandwidth.
Instead of bulk loading all of the content when the page is accessed, content can be loaded when the user accesses a part of the page that requires it.
With lazy loading, pages are created with placeholder content which is only replaced with actual content when the user needs it.
Benefits of Lazy Loading
- Lazy loading strikes a balance between optimizing content delivery and streamlining the end user’s experience.
- Users connect to content faster, since only a portion of the website needs to be downloaded when a user first opens it.
- Businesses see higher customer retention as content is continuously fed to the user, reducing the chances the user will leave the website.
- Businesses see lower resource costs since content is only delivered when the user needs it, rather than all at once.
Adding lazy loading can make a website load faster, save bandwidth, and provide a truly uninterrupted browsing session.
Almost half of all users who visit a website view only a single page.
By continuously adding new content as the user scrolls, lazy loading can make that single view really count.
REpresentational State Transfer, is an architectural style for providing standards between computer systems on the web, making it easier for systems to communicate with each other .
REST-compliant systems, often called RESTful systems, are characterized by how they are stateless and separate the concerns of client and server.
We will go into what these terms mean and why they are beneficial characteristics for services on the Web.
REST is in fact an implementation of lazy loading. The difference is that the returning texts are not interactive (except for the FAQ), while forms have to be added explicitely to the DOM-tree.