PHP is the Web’s Spider

PHP is a scripting language used in 90% of the world’s websites. WordPress is written prominently in PHP and WordPress makes many useful functions aavailable for Web Developers like me.

PHP is a scripting language, not a compiled language like C++ or Java. All major browsers support it. You can run a php script from your browser url (ex:https://www.example.com/index.php), and you usually do, though you don’t know it since pretty URLs hide it.

PHP lives in the “Back-end”, meaning, web developers upload scripts to a folder on a web-host. The script works with a database & http and other technologies present on the server. Basically, PHP takes care of a website’s data, infrastructure – like, logging in – and builds the HTML that the server sends to your screen. A classic newbie example, called “Hello [your name]” gets your first name from the website profile you filled out, and puts it in some HTML so you see the website greeting you by name.

PHP’s big thing are arrays. It lets me build complex data structures, which I have done many, many times over the years. It has functions to sort, search, slice & dice, combine, see what 2 or more arrays have in common or what is diferent. It does forms. It creates elaborate workflows. It also sends & receive data from other places. It can turn an array into JSON, and vice versa, easily. WordPress adds many functions that lets developers do many things the WordPress way. Functions and libraries let us use technologies without having to build them from the ground up.

WordPress is a framework, it comes complete with much infrastucture, like a CMS, Media-handling, Taxonomy & User mgmt so I don’t have to build them myself. It also lets me dump data into my Javascript that’s part of my plugin. It has a REST API that lets me get & send data from another website by sending a special URL.


Posted

in

by

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

Upload Files Drag and drop your files here or click the button to upload your files from your computer

multi file upload Drag and drop your files Max Upload: 20 MB
close image preview
image preview
Task already exist for this element.
Write your message in the existing thread.
Here, we opened it for you.
Pushed to Media Folder.
The file was added to the website's media folder, you can now use it from the there.
poweredby
hide sidebar icon
sidebar left
sidebar menu
sidebar menuThis Page
sidebar menuAll Pages
sidebar menuShow Complete Tasks
sidebar menuShow Internal Tasks
sidebar menuSort by Date
sidebar menuSort by Priority
sidebar menuSort by Status
Tasks
Pages
no task in sidebar
Add your comments
Click any part of the page to start collaborating
              Loading...
              link to inbox
              responsive box
              desktop iconDesktop
              tablate iconTablet
              mobile iconMobile
              Browse Comment
              ×
              ×
              Approve Page

              When the page is ready, click the green button to signal to the webmaster that <b>this page is approved.

              there was some error. Please try again.
              ×
              Page Approved
              Desktop Tablet Mobile
              Back to Standard View
              You Ran Out of Website Slots

              That's great!
              It means you're growing & onboarding more clients!<br>Don't let it stop you

              There was some error. Please try again.