Recommend this page to a friend! |
Classes of Slavko Srakocic | B12 PHP FW | z_01DDL_and_other/img_gallery.md | Download |
|
Download"B12phpfw" image gallery Intro (Home)[](some_html)2 ways of data flow : M\_V (V pulls data from M) and M\_C\_V (C push data to V) [](some_html)M\_V data flow [](some_html)M\_C\_V data flow (Laravel) [](some_html)Code separation [](some_html)M\_V data flow : MVC 3tier Code separation [](some_html)Selfknowing, be moderate, no delusion (false opinion) Code separationDAO tier is Data Access Object abstract interface. In B12phpfw code skeleton Model and DAO tiers are in :
In B12phpfw code skeleton i use M\_V data flow for read, but it is easy (but in my opinion not appropriate) to use M\_C\_V data flow for read - in Home\_ctr.php we examine user entered URL (request) and call method which can read data (or do any CRUD operation - procedure on data). Selfknowing, moderate, no delusion (false opinion)Ancient Greek maxim (aphorism) "know thyself" (Greek: ????? ???????, latin "nosce te ipsum") is one of the Delphic maxims and was the first of three maxims inscribed in the pronaos (forecourt) of the Temple of Apollo at Delphi according to the Greek writer Pausanias. The two maxims that followed are :
https://en.wikipedia.org/wiki/Know\_thyself https://www.john-uebersax.com/delphi/delphi.htm https://www.wikiwand.com/en/Delphic\_maxims https://www.mimamsadiary.com/the-great-wisdom-from-ancient-greece/ Script opening methods<a target="\_blank" href="./vendor/b12phpfw/img/meatmirror.jpg <img src="./vendor/b12phpfw/img/meatmirror.jpg" a alt="/vendor/b12phpfw/img/meatmirror.jpg" > </a> In code above href="/vendor/b12phpfw/img/meatmirror.jpg" does work in PHP and in HTML called with URL eg
, but href="/vendor/b12phpfw/img/meatmirror.jpg" does not work in double clicked HTML meaning browser does not know where is web server document root ! href="./vendor/b12phpfw/img/meatmirror.jpg works for both script opening methods if we do not change folder structure - which we do not - no need. href="/vendor/b12phpfw/img/meatmirror.jpg" is alike sensitive to folder structure. This example Tryit Editor v3.6 (w3schools.com) use media queries to re-arrange the images on different screen sizes: for screens larger than 700px wide, it will show four images side by side, for screens smaller than 700px, it will show two images side by side. For screens smaller than 500px, the images will stack vertically (100%). You will learn more about media queries and responsive web design later in our CSS Tutorial. See also How To Create a Slideshow (w3schools.com) . |