Installation and configuration of the Apache HTTP server

This articles contains information about the Apache HTTP server. 1. Apache HTTP The Apache HTTP server project develops and maintains an open-source HTTP server. The Apache HTTP web server is one of the most used web server worldwide. 1.1. Installation On Ubuntu you can install the Apache HTTP server with the following command. sudo apt-get […]

Apache Server : A Complete Beginner’s Guide (2022)

There are several types of web servers on the market and among them is Apache, one of the oldest servers Although new, more modern and efficient alternatives have emerged in recent years, Apache continues to be a reference server. Statistically, Apache covers 33.7% of the top 1000 sites, just behind Nginx with its 38.8% It […]

Blog Tutorial – Authentication and Authorization

Page Contents Blog Tutorial – Authentication and Authorization Creating All User-Related Code Authentication (Login and Logout) Authorization (who’s allowed to access what) Suggested Follow-up Reading Blog Tutorial – Authentication and Authorization Following our Blog Tutorial example, imagine we wanted to secure access to certain URLs, based on the logged-in user. We also have another requirement: […]

Blog Tutorial – Part 3

Page Contents Blog Tutorial – Part 3 Create a Tree Category Migrations Plugin Modifying the Tables Generate Skeleton Code for Categories Attach TreeBehavior to CategoriesTable Reordering Categories with TreeBehavior Modifying the ArticlesController Modifying the Articles Templates Blog Tutorial – Part 3 Create a Tree Category Let’s continue our blog application and imagine we want to […]

Blog Tutorial – Part 2

Page Contents Blog Tutorial – Part 2 Create an Article Model Create the Articles Controller Creating Article Views Adding Articles Data Validation Editing Articles Deleting Articles Routes Conclusion Suggested Follow-up Reading Blog Tutorial – Part 2 Create an Article Model Models are the bread and butter of CakePHP applications. By creating a CakePHP model that […]

CakePHP 3.10 Blog Tutorial

Page Contents Blog Tutorial Getting CakePHP Directory Permissions on tmp and logs Creating the Blog Database Database Configuration Optional Configuration A Note on mod_rewrite Blog Tutorial This tutorial will walk you through the creation of a simple blog application. We’ll be installing CakePHP, creating a database, and creating enough application logic to list, add, edit, […]

Bookmarker Tutorial Part 2

Page Contents Bookmarker Tutorial Part 2 Adding Login Adding Logout Enabling Registrations Restricting Bookmark Access Fixing List view and Forms List View Improving the Tagging Experience Adding a Computed Field Updating the Views Persisting the Tag String Wrapping Up Bookmarker Tutorial Part 2 After finishing the first part of this tutorial you should have a […]

CakePHP 3.10 Bookmarker Tutorial

Page Contents Bookmarker Tutorial Getting CakePHP Checking our Installation Creating the Database Database Configuration Generating Scaffold Code Adding Password Hashing Getting Bookmarks with a Specific Tag Creating the Finder Method Creating the View Bookmarker Tutorial This tutorial will walk you through the creation of a simple bookmarking application (bookmarker). To start with, we’ll be installing […]

CMS Tutorial – Authentication

Page Contents CMS Tutorial – Authentication Adding Password Hashing Adding Login Adding Logout Enabling Registrations Restricting Article Access Fixing the Add & Edit Actions Wrapping Up CMS Tutorial – Authentication Now that our CMS has users, we should enable them to login, and apply some basic access control to the article creation & editing experiences. […]