PHP

PHP is an Open Source language primarily used for developing dynamic websites. PHP is what is known as a hypertext pre-processor. Code stored on the server is interpreted based in part on user input or data that can come from a database, text files or other sources. The output result output is generally hypertext rendered by a browser. Since version 3.x PHP has been Object Oriented. The final version of PHP is version 7 but its estimated that because of its usefulness and success PHP will likely not be EOL for several years to come.

Sprite Page Generator Script

Sat, 06/24/2017 - 19:19

Google Chrome 54 introduced the ability to take a full screenshot of a webpage in April 2017. This by itself is pretty cool. But, I happened to be working on some game code and wanted to build a simple sprite sheet. I found a program, but it appears that sprite sheets are normally built to fit the content on to the sheet as best as possible. That makes sense, but I wanted something where the location of the images was organized into columns. This way I could easily calculate the frames for animation. So I wrote my own little program to automate the process.

Tags

TWIG Sub-Template Experiment

Mon, 04/24/2017 - 16:20

I wanted to be able to easily create a Content Type on the fly that would export photos using Lightbox.

Initially I just used a Module as a block. But that really seeming both impractical and overkill. So Instead I modified the templates in TWIG and the theme file. Now, I just need to create the Photo Library Content Type in 'Contents' and add the images I want to display.

Southern California Mountains Foundation

Sun, 04/23/2017 - 14:29

This website was designed by Nicole Beale. I built the markup, the SASS and wrote various modules and modified the Core PHP as was necessary. The CMS was Symfony Apostrophe 1.5. It was sort of an experiment in a way. The previous website was built in Symfony Apostrophe 1.5 and we didn't want to have to migrate the content and re-teach the employees on a whole new CMS. The problem was that Apostrophe was never designed for mobile websites.

Programming for the Riverside County Transportation Commission (RCTC)

Sat, 04/22/2017 - 23:19

I have performed several tasks for RCTC over the last two years updating and creating content not only for their main website, but for the various the construction and project proposal websites as well. This article only highlights a few.

NOTE: Our company did not create the latest version of the RCTC main website. We still do a great deal of work for them, but for the website, they decided to go another way.

Basic, Yet Effective PHP Throttle

Wed, 04/19/2017 - 10:13

Basic, Yet Effective PHP Throttle

Anyone who has spent any time looking at web server logs will know that most websites are bombarded with attempts to undermine the security features and take advantage of CMS and plugin vulnerabilities. On top of this there are many web-crawlers out there that simply don't follow any of the suggestions or rules and will continuously hit a page over and over again.

Subscribe to PHP