current location:Home > Technical Articles > Daily Programming > PHP Knowledge

  • How to Create a Unique 64bit Integer from String
    How to Create a Unique 64bit Integer from String
    PHP's built-in md5() function generates 32-character hexadecimal strings, useful for creating fingerprints. However, generating unique 64-bit integer fingerprints from URLs requires a different approach, especially when dealing with database indexin
    PHP Tutorial . Backend Development 469 2025-02-20 12:15:10
  • MVC - a Problem or a Solution?
    MVC - a Problem or a Solution?
    Repositories, Adapters, MVC, SOLID, RTFM… The web throws these terms at PHP developers constantly. I'm tired of it. Enough with the dictates; show me the kittens! Key Points: MVC isn't a magic bullet for web application complexity. Clean, reusabl
    PHP Tutorial . Backend Development 226 2025-02-20 12:00:20
  • Build REST Resources with Laravel
    Build REST Resources with Laravel
    In this part, we will begin to work with the REST interface. Creating a REST Api on Laravel isn’t very difficult. All we need to keep in mind is that we’re dealing with EmberJS and that we don’t want to write a new adapter from scratch. As usual, you
    PHP Tutorial . Backend Development 623 2025-02-20 11:50:10
  • Build a REST API from Scratch: An Introduction
    Build a REST API from Scratch: An Introduction
    The current internet ecosystem has been completely changed by APIs, and there is good reason. By using third-party APIs in your product or service, you can access a wide range of useful features—such as authentication or storage services—which are beneficial to you and your users. By exposing your own API, your application will become "part of the composition" and use it in a way you never thought... Of course, if you do this the right way. In this two-part series, I'll show you how to create a RESTful API layer for your PHP application using a set of real best practices. The complete source code for this project will be provided at the end of Part 2. Key Points RE
    PHP Tutorial . Backend Development 1083 2025-02-20 11:48:12
  • Check Your Code's Quality with SensioLabs Insight
    Check Your Code's Quality with SensioLabs Insight
    SensioLabs Insight: A Deep Dive into Code Quality Assurance Maintaining high-quality code is paramount for application stability. This article explores SensioLabs Insight, a powerful code quality assurance tool, especially beneficial for Symfony and
    PHP Tutorial . Backend Development 327 2025-02-20 11:38:09
  • Data Validation in Laravel: The Right Way - Custom Validators
    Data Validation in Laravel: The Right Way - Custom Validators
    Key Takeaways Laravel’s in-built data validation package can be extended to create custom validation rules for specific needs, such as validating full names or pin codes that include spaces. Custom validation rules are created by extending Larav
    PHP Tutorial . Backend Development 402 2025-02-20 11:35:11
  • Build an Infinite Scroll List for OXID eShop - Basics
    Build an Infinite Scroll List for OXID eShop - Basics
    Key Takeaways OXID eShop, or OXID eSales, is a highly customizable and scalable ecommerce platform. This tutorial provides a step-by-step guide to creating a new OXID module extension that implements infinite scrolling for the article list, replac
    PHP Tutorial . Backend Development 259 2025-02-20 10:45:09
  • Deploy Your Website Using Laravel and Git
    Deploy Your Website Using Laravel and Git
    Core points The combination of Laravel and Git enables efficient website deployment, Git manages file changes, and Laravel automates repetitive tasks, enabling a simplified and controllable deployment process. The deployment process includes: setting up a central repository, cloning the repository to create local and online websites, and installing Laravel. Then use Git to track file changes and push those changes to the central repository on the production server. Laravel can automate the deployment process by creating routes that reference controllers, creating controllers, and repeating Git deployment workflows using Laravel's SSH facade. Just access specific URLs to deploy easily.
    PHP Tutorial . Backend Development 543 2025-02-20 10:44:11
  • Vagrantfile Explained: Setting Up and Provisioning with Shell
    Vagrantfile Explained: Setting Up and Provisioning with Shell
    This tutorial demonstrates setting up a reusable development environment using Vagrant, leveraging an Ubuntu 14.04 LTS base box. While the tutorial uses a specific base box, the concepts apply to any Ubuntu-based box. Key Concepts: Vagrantfile: The
    PHP Tutorial . Backend Development 963 2025-02-20 10:42:11
  • How I Set Up My Development Machine on Windows
    How I Set Up My Development Machine on Windows
    This article explores a Windows-based web developer's toolset, focusing on a practical setup rather than prescribing the "best" practices. The author works with PHP, HTML, MySQL, CSS, and JavaScript. Key Tools & Workflow: The author st
    PHP Tutorial . Backend Development 819 2025-02-20 10:32:10
  • The Drupal 8 version of EntityFieldQuery
    The Drupal 8 version of EntityFieldQuery
    Drupal 8's Entity Query API: A Comprehensive Guide Drupal 8 transitioned from EntityFieldQuery (Drupal 7) to the more robust entity.query service for querying entities. This service, accessible via static calls or dependency injection, facilitates co
    PHP Tutorial . Backend Development 523 2025-02-20 10:31:08
  • 7 More Mistakes Commonly Made by PHP Developers
    7 More Mistakes Commonly Made by PHP Developers
    Back at the end of June, TopTal, the freelance marketplace, published a post about 10 Most Common Mistakes PHP Programmers Make. The list wasn’t exhaustive, but it was well written and pointed out some very interesting pitfalls one should be wary of
    PHP Tutorial . Backend Development 1043 2025-02-20 10:25:11
  • Asset Access Restriction Methods - Block Unwanted Visitors
    Asset Access Restriction Methods - Block Unwanted Visitors
    Key Takeaways Implementing access control to your assets is crucial for security. Whitelisting is a recommended approach, where a gatekeeper only allows trusted entities to access your assets. This gatekeeper can be placed at the HTTP server or th
    PHP Tutorial . Backend Development 1002 2025-02-20 10:23:10
  • Social Network Authentication: Merging Accounts
    Social Network Authentication: Merging Accounts
    This section explores preventing users from creating multiple accounts across different login methods in your application. Key Considerations: Social logins increase the risk of users having duplicate accounts, a frustrating experience. This can be
    PHP Tutorial . Backend Development 1047 2025-02-20 10:22:10
  • PHP Streaming and Output Buffering Explained
    PHP Streaming and Output Buffering Explained
    This article explores PHP streaming and its relationship with output buffering, offering a practical guide for PHP developers. While streaming isn't new, its integration into frameworks like Rails highlights its importance for building responsive ap
    PHP Tutorial . Backend Development 919 2025-02-20 10:16:14

Tool Recommendations

jQuery enterprise message form contact code

jQuery enterprise message form contact code is a simple and practical enterprise message form and contact us introduction page code.
form button
2024-02-29

HTML5 MP3 music box playback effects

HTML5 MP3 music box playback special effect is an mp3 music player based on HTML5 css3 to create cute music box emoticons and click the switch button.

HTML5 cool particle animation navigation menu special effects

HTML5 cool particle animation navigation menu special effect is a special effect that changes color when the navigation menu is hovered by the mouse.
Menu navigation
2024-02-29

jQuery visual form drag and drop editing code

jQuery visual form drag and drop editing code is a visual form based on jQuery and bootstrap framework.
form button
2024-02-29

Organic fruit and vegetable supplier web template Bootstrap5

An organic fruit and vegetable supplier web template-Bootstrap5
Bootstrap template
2023-02-03

Bootstrap3 multifunctional data information background management responsive web page template-Novus

Bootstrap3 multifunctional data information background management responsive web page template-Novus
backend template
2023-02-02

Real estate resource service platform web page template Bootstrap5

Real estate resource service platform web page template Bootstrap5
Bootstrap template
2023-02-02

Simple resume information web template Bootstrap4

Simple resume information web template Bootstrap4
Bootstrap template
2023-02-02

Cute summer elements vector material (EPS PNG)

This is a cute summer element vector material, including the sun, sun hat, coconut tree, bikini, airplane, watermelon, ice cream, ice cream, cold drink, swimming ring, flip-flops, pineapple, conch, shell, starfish, crab, Lemons, sunscreen, sunglasses, etc., the materials are provided in EPS and PNG formats, including JPG previews.
PNG material
2024-05-09

Four red 2023 graduation badges vector material (AI EPS PNG)

This is a red 2023 graduation badge vector material, four in total, available in AI, EPS and PNG formats, including JPG preview.
PNG material
2024-02-29

Singing bird and cart filled with flowers design spring banner vector material (AI EPS)

This is a spring banner vector material designed with singing birds and a cart full of flowers. It is available in AI and EPS formats, including JPG preview.
banner picture
2024-02-29

Golden graduation cap vector material (EPS PNG)

This is a golden graduation cap vector material, available in EPS and PNG formats, including JPG preview.
PNG material
2024-02-27

Home Decor Cleaning and Repair Service Company Website Template

Home Decoration Cleaning and Maintenance Service Company Website Template is a website template download suitable for promotional websites that provide home decoration, cleaning, maintenance and other service organizations. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-05-09

Fresh color personal resume guide page template

Fresh color matching personal job application resume guide page template is a personal job search resume work display guide page web template download suitable for fresh color matching style. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-29

Designer Creative Job Resume Web Template

Designer Creative Job Resume Web Template is a downloadable web template for personal job resume display suitable for various designer positions. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28

Modern engineering construction company website template

The modern engineering and construction company website template is a downloadable website template suitable for promotion of the engineering and construction service industry. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28