Skip to main content
CSS-Tricks
  • Articles
  • Notes
  • Links
  • Guides
  • Almanac
  • Picks
  • Shuffle
Search

Articles Tagged
php

14 Articles
Direct link to the article Quick Hit #21
JavaScript opinion php

Quick Hit #21

Seeing a lot more headlines decrying JavaScript and pumping up PHP. Always interesting to see which direction the front-end zeitgeist is leaning.…
Geoff Graham on Sep 20, 2024
Direct link to the article PHP Date and Time Recipes
dates locales php

PHP Date and Time Recipes

Dealing with dates and times is one of those things that can frustrate programmers a lot. At the same time, they are fundamental to software development, used from everything from meta and how things are ordered to time-based triggers and …

Arjuna Sky Kok on Jan 5, 2022
Direct link to the article Building a Form in PHP Using DOMDocument
DOMDocument forms php

Building a Form in PHP Using DOMDocument

Learn how to build an HTML form in PHP using DOMDocument — a structured and expressive way to build logical markup.
Jonathan Land on Sep 14, 2021
Direct link to the article Smarter Ways to Generate a Deep Nested HTML Structure
haml HTML JavaScript php preprocessing pug

Smarter Ways to Generate a Deep Nested HTML Structure

A look at using HTML preprocessors to generate HTML, particularly deeply nested HTML, which is useful for a variety of interesting browser art and experimentation.
Ana Tudor on Jul 7, 2021
Direct link to the article A Follow-Up to PHP Templating
php templating

A Follow-Up to PHP Templating

Not long ago, I posted about PHP templating in just PHP (which is basically HEREDOC syntax). I’m literally using that technique for some super basic templating I needed to do on this very WordPress site. The main pushback was that …

Chris Coyier on Feb 29, 2020
Direct link to the article PHP is A-OK for Templating
php templating WordPress

PHP is A-OK for Templating

PHP templating often gets a bad rap for facilitating subpar code — but that doesn’t have to be the case. Let’s look at how PHP projects can enforce a basic Model, View, Controller (MVC) structure without depending on a purpose-built …

Chris Geelhoed on Feb 4, 2020
Direct link to the article PHP Templating in Just PHP
php

PHP Templating in Just PHP

With stuff like template literals in JavaScript and templating languages, like JSX, I’ve gotten used to wanting to write my HTML templates in one nice chunk and sprinkling in variables wherever I need them.

I had a situation where I …

Chris Coyier on Dec 26, 2019
Direct link to the article PHP For Beginners: Building a Simple CRM from Scratch
crm php

PHP For Beginners: Building a Simple CRM from Scratch

Customer Relationship Management (CRM) is a system that manages customer interactions and data throughout the customer lifecycle between the customer and the company across different channels. In this tutorial, we are going to build a custom CRM in PHP, …

Richard Chen on Nov 14, 2022
Direct link to the article Adding and Leveraging a CDN on Your Website
cdn performance php

Adding and Leveraging a CDN on Your Website

If you’ve been working around web development for a while, you’ll know that the web has a need for speed. The truth is simple: speed matters and faster is considered better.

One “easy win” for increasing performance is using a …

David Attard on Jan 25, 2017
  • 1
  • 2
  • Older

CSS-Tricks is powered by DigitalOcean.

Keep up to date on web dev

with our hand-crafted newsletter

DigitalOcean
  • About DO
  • Cloudways
  • Legal stuff
  • Get free credit!
CSS-Tricks
  • Contact
  • Write for CSS-Tricks!
  • Advertise with us
Social
  • RSS Feeds
  • CodePen
  • Mastodon
  • Bluesky
Back to Top