1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
|
## Composer PSR-4, Git and Github
me_at_mirror.png
To copy this script to your local (git commit) and remote (git push) Github repository (see details in git_help.ini):
in Windows CLI (C:\Windows\SysWOW64\cmd.exe), in
J:\awww\apl\dev1\fwphp
or in Git Bash CLI slavk@sspc1 MINGW64, in
/j/awww/apl/dev1/fwphp (master)
git status
git add SOME_DIR SOMEPATH_TO_SCRIPT...
git commit -am "Improved" ( -a = all changed files since last copy )
or (git commit -am "Initial commit")
git pull
git push -u origin master (Authentication failed for 'https://github.com/slavkoss/fwphp.git/')
More Git
some button
## DDNS (Dynamic DNS)
After completing 3 steps in NOTE below :
1.URL from LAN (intranet) - shows web server's document root
2.URL from inet
where : http://localtest.me:8083/ is free (non commercial) wildcarded DNS Domain which always resolve back to 127.0.0.1 (your local machine)
DDNS : 3 steps for dynamic IP
Find your inet provider's nonstatic public IP adress eg 213.191.136.167 eg here: https://www.yougetsignal.com/
Register (sign up) eg here: https://freedns.afraid.org/ for free or payed DDNS account
Send your public IP adress eg 213.191.136.167 to DDNS provider so :
https://freedns.afraid.org/nic/update?hostname=phporacle.mooo.com&myip=213.191.136.167
(asks user name and password aquired in register step)
More DDNS : 1.Help 2.Development
**Use the correct DocType Definition (DTD)**
Especially in Internet Explorer, you MUST use a standards compliant !DOCTYPE, and for Internet Explorer this MUST be the first line of your (x)html. Using <?xml version="1.0" encoding="UTF-8"?> will switch IE into quirks mode.
A list of the recommended DTDs can be found at the following link: Recommended DTDs to use in your Web document.
What it's all about (WHY)
w3c.org website says :
"Cascading Style Sheets (CSS) is a mechanism for adding style (e.g. fonts, colors, spacing) to Web documents."
It is so much more. Bootstrap with jQuery is big (>200kB) and slow. This page does not use them.
I say :
"Routing in PHP (menus, framework - linking mosaic pieces - code snippets) is in all learning sources I found :
insufficent / to complicated coding / bad explained.
Some of them have excellent ideas and code."
|