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, which a sales team can use to track customers through the entire sales cycle.

We'll be creating a simple CRM system for salespeople (more…)

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 CDN. We’ve discussed this several times at CSS-Tricks. It's easy in that you aren't rewriting a codebase or hand-editing content, but it's an area of performance many of us might overlook because, well, hosting, servers and cPanels, oh my!

Thankfully, the process for integrating a CDN does not have to be hard. (more…)

PHP School (Learn PHP Through Command Line Workshops)

Whilst attending a local meet-up last year in Nottingham, UK, my friends and I were introduced to the concept of NodeSchool. NodeSchool workshops are small applications which run in the terminal and exist to teach you various topics related to Node and JavaScript. They range from teaching you the basics of JavaScript, all the way through to dealing with C++ extensions.

I had great fun and the workshops were really cool - you select an exercise, read the problem and start coding. Each exercise explains concepts and links to resources. Once you have written a solution to the problem, you invoke the workshop with your solution. Your solution is then ran and information regarding your success (or failure!) is printed to the terminal.

I'm a PHP developer by trade - the next day I thought to myself: is there something similar for PHP? There must be something similar for PHP? Turns out there wasn't!

(more…)

PHP for Beginners: Building Your First Simple CMS

The Magic of PHP + MySQL

It's safe to say that nearly every website that's up-to-date these days is using some form of content management system (CMS). While there are a ton of great free options that provide us with a CMS to power a website (WordPress, Drupal, etc.), it doesn't hurt to peek under the hood and get a feel for how these systems work.

To get our feet wet as back-end developers, we'll be creating a simple PHP class that will:

  • Create a database
  • Connect to a database
  • Display a form with two fields
  • Save the form data in the database
  • Display the saved data from the database

Download Files

(more…)

icon-anchoricon-closeicon-emailicon-linkicon-logo-staricon-menuicon-nav-guideicon-searchicon-staricon-tag