1.4. Let's start writing an MVC framework
We’ve described in enough detail what our framework should include, and now it’s time to implement it. First, you need a web server. You can try using Denwer, but you might need to upgrade PHP.
You can download Denwer with PHP 5.5.20 from this page:
https://drupalbook.org/ru/drupal/denwer-obnovlenie-php
or from GitHub:
1.5. Connecting classes for working with the database and templates
We’ve created a structure for our framework, and now it’s time to think about storing data: news, products. The object for working with the database should be able to:
- Manage the connection to the database
- Provide a lightweight abstraction over the database
- Cache queries
- Make common database operations easier
To do this, we will create the object at Registry/objects/db.class.php:
1.6. Products and categories - creating DB tables
Before creating product and category functionality, let’s think about the information our customers and site administrators will need. We must provide enough information about the product, including the product name, detailed description, and price. We may also display a product photo and additional images. The product weight may be needed to calculate shipping costs. We also need to track the quantity in stock to avoid selling out-of-stock items. For the site administrator, we'll need a product ID and a human-readable URL for search engines.
PHP language alphabet
The alphabet of a language refers to the set of all permissible characters that can be used in that language.
The PHP language alphabet includes the following characters:
Letters
Uppercase and lowercase Latin letters from A to z, as well as the underscore (_) character, which is also considered a letter. Uppercase and lowercase letters are interchangeable (case-insensitive);
Digits
Arabic digits: 0 1 2 3 4 5 6 7 8 9;
Single characters
Special single characters: + - ! * / = < > . , : ; $ #;
Introduction to PHP Programming
Each of us, in one way or another, has engaged in programming at least on a basic level. The simplest example of such programming is setting an alarm clock to wake up on time. There are also mobile phones, automatic washing machines, microwave ovens, refrigerator regulators, TV timers, etc.
Release of the new version of the Drupal CMS, supported by top organizations around the world.
Portland, USA and worldwide, June 3, 2020 — Release of the new version of Drupal, the most powerful open-source enterprise content management system. This is the most comprehensive upgrade for Drupal to date.
Drupal 9 provides marketers, designers, and developers with the tools to build high-performance systems from layout to launch.
Drupal Theming – Lesson 4: Node Theming. Creating Staff Pages and Case Studies
In this lesson, we will be theming nodes, but first we need to create output for the portfolio and staff pages.
Basic Drupal Configuration (An Overview of Drupal’s Capabilities)
Subscribe to receive new videos on my YouTube channel or via VK!
HTML First Steps – An HTML Tutorial
HTML is a fairly simple language. It's taught to both technical and liberal arts students in universities, and I believe it’s now even being taught in most schools. It’s all quite simple because HTML isn’t even a programming language.
Photo Gallery, Photo Albums in Drupal
Photo albums and a photo gallery will enhance any site, whether it's a personal blog or a company website. Beautiful images are what keep people engaged on Facebook, VK, and other social networks. So let’s add a photo gallery to our Drupal site.