Re: Creating a home screen "web app" for smart phone
| From: | Tedd Sperling | Date: | Sat, 25 Apr 2020 16:45:19 +0000 |
| Subject: | Re: Creating a home screen "web app" for smart phone | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-327109@lists.php.net to get a copy of this message | ||
> On Apr 24, 2020, at 1:30 PM, mbox@s22.us wrote:
>
> -snip-
>
> Is there a way to do what I’m trying to do? Or am I going about it the wrong way? How can
> I make this script work as a web app on my phone?
>
> Frank
Frank:
What you are describing is a “Responsive Web Design”. It is a website that responds to the
devices viewing it.
Please check out --
https://www.w3schools.com/html/html_responsive.asp
— for an introduction as to understand how this works.
There are other sources as to how to be responsive, such as jQuery, Bootstrap, and many others. Each
have their own way of rendering content.
Please realize that Server languages, like PHP, MySQL, el at., are really not involved in the
process of presenting content, but rather only delivering content to the Browser. IOW, PHP/MySQL
only provides data to the website, but it is the process of how to display the data that is under
the control of HTML, CSS, and JavaScript (via many different libraries) environments.
While PHP is a master language that can write HTML, CSS, and JavaScript, each language controls
different parts of a fully functioning website (i.e., structure-HTML, presentation-CSS,
behavior-Javascript, and function-PHP)
You may visit some of my examples I made for my students, such as:
http://citw.lcc.edu/~sperlt/citw185/z/#home
http://citw.lcc.edu/~sperlt/citw185/zz/main/index.html#home
That should give you something to consider and if followed would solve the problem you present.
Cheers,
Tedd
_______________
Tedd Sperling
tedd.sperling@gmail.com