current location:Home > Technical Articles > Backend Development

  • Metadata scraping using the New York Times API
    Metadata scraping using the New York Times API
    Introduction Last week, I wrote an introduction about scraping web pages to collect metadata, and mentioned that it was impossible to scrape the New York Times website. The New York Times paywall blocks your attempts to collect basic metadata. But there is a way to solve this problem using New York Times API. Recently I started building a community website on the Yii platform, which I will publish in a future tutorial. I want to be able to easily add links that are relevant to the content on my site. While people can easily paste URLs into forms, providing title and source information is time-consuming. So in today's tutorial I'm going to extend the scraping code I recently wrote to leverage the New York Times API to collect headlines when adding a New York Times link. Remember, I'm involved
    PHP Tutorial . nodejs 1511 2023-09-02 22:14:02
  • Choosing between Node.js and PHP for backend development
    Choosing between Node.js and PHP for backend development
    In this article, we will discuss PHP and Node.js: two popular backend technologies for web applications. We’ll discuss the key differences between them to help you choose the right backend technology for your next project. Introduction First let’s understand what these two backend technologies are and what they are used for. PHPPHP is the recursive abbreviation for PHP: Hypertext Preprocessor. It's a recursive abbreviation, so the first "P" actually stands for PHP! But originally, it referred to the personal homepage tool. It was created in 1994 by Rasmus Lerdorf. According to the official PHP documentation: PHP is a widely used open source general-purpose scripting language that is particularly suitable for web development and can be embedded into HTML. PHP
    PHP Tutorial . nodejs 2051 2023-09-01 06:00:01
  • Real-time chat using Readline and Socket.io for Node.js
    Real-time chat using Readline and Socket.io for Node.js
    Node.js has an underappreciated but extremely useful module in its standard library. The Readline module does what it says on the box: reads a line of input from the terminal. This can be used to ask the user a question or two, or create a prompt at the bottom of the screen. In this tutorial, I plan to demonstrate the capabilities of Readline and make a live CLI chat room powered by Socket.io. Not only can the client send simple messages, but it can also send emoticon commands using /me, send private messages using /msg, and allows the use of /nick. A little about Readline This is probably the simplest use of Readline: varreadline=require('re
    WordPress . nodejs 1901 2023-08-31 18:09:07
  • Write your first API using Node.js and Express: Connect to the database
    Write your first API using Node.js and Express: Connect to the database
    Building a REST API with Node.js and Express: Connecting to a Database In the first tutorial, "Understanding RESTful API," we learned what REST architecture is, what HTTP request methods and responses are, and how to understand RESTful API endpoints. In the second tutorial, "How to Set Up an ExpressAPI Server," we learned how to build a server using Node's built-in http module and the Express framework, and how to route the application we created to different URL endpoints. Currently, we use static data to display user information in the form of a JSON source when the API endpoint is hit with a GET request. In this tutorial we will set up a
    WordPress . nodejs 1238 2023-08-30 13:33:19
  • Deep Dive: PayPal Integration Part 2: PayPal REST API
    Deep Dive: PayPal Integration Part 2: PayPal REST API
    In this tutorial, I will show you how to make payments using PayPal REST API and C#. All the libraries they provide for different languages ​​like Ruby, Node.js, Python, PHP, etc. are very similar, so all the concepts here apply to all libraries. Project Setup First, I created an MVC project in Visual Studio 2015: File > New > Project and selected ASP.NET Application. Select the ASP.NET5 Web Application template, which uses the new MVC6. It's similar to MVC5 if you're familiar with it. As you can see in the photo below, I've added some files and folders to the solution. main
    JS Tutorial . nodejs 1118 2023-08-29 12:45:01
  • Introducing Twig: The perfect tool to jump-start your WordPress development
    Introducing Twig: The perfect tool to jump-start your WordPress development
    Much has been written about the future of WordPress, with many arguing that it lacks a template language, especially when platforms like Django, Ruby on Rails, Node.js, Laravel, and even Drupal all have template languages. Facts like “WordPress powers nearly 25% of the web” make it hard to question its current PHP-based template system. But since modularity in the code is still missing, one can ask when the core will have a template engine. The good news is here! The Twig template engine and a plugin called Timber help us write super clean and modular code in WordPress. In this series we will discuss its implementation to
    PHP Tutorial . nodejs 1488 2023-08-28 20:54:01
  • Which field is in greater demand right now, Java or JavaScript?
    Which field is in greater demand right now, Java or JavaScript?
    Java and JavaScript are two programming languages ​​that are often compared and compete with each other because of their similar names. However, they are fundamentally different languages ​​with their own unique advantages and applications. Java is a mature language that has been around for more than two decades and is widely used for enterprise-level software development. It is known for its stability, security, and cross-platform compatibility. Java's static type checking system makes it a safer choice for large software projects. JavaScript, on the other hand, is a dynamic language primarily used for front-end web development. It enables developers to create interactive and responsive user interfaces that run directly in the web browser. Its popularity has exploded in recent years, with some
    javaTutorial . nodejs 995 2023-08-27 18:17:09
  • Use WebMan technology to create a high-quality online learning platform
    Use WebMan technology to create a high-quality online learning platform
    Use WebMan technology to create a high-quality online learning platform. With the rapid development of the Internet, online learning methods are becoming increasingly popular. However, online learning platforms on the market vary widely, and differences in user experience and functionality often create difficulties. In order to solve this problem, we can use WebMan technology to create a better online learning platform. WebMan is an application development method based on Web technology that can help us quickly build powerful Web applications. The following will introduce how to use WebMan technology
    Workerman . nodejs 1340 2023-08-27 13:07:44
  • How to build an online video conferencing system using WebMan technology
    How to build an online video conferencing system using WebMan technology
    How to use WebRTC technology to build an online video conferencing system. With the development of modern technology, more and more people choose to conduct video conferencing on the Internet. Whether it is business meetings, education and teaching, or telemedicine, it can all be achieved through online video conferencing systems. . When building such a system, we can make use of WebRTC (WebReal-timeCommunication) technology, which is a Web-based instant messaging technology that can realize real-time audio, video, and data between browsers.
    Workerman . nodejs 1427 2023-08-27 12:36:23
  • As a developer, how well do you use JavaScript?
    As a developer, how well do you use JavaScript?
    JavaScript is an object-oriented, interpreted scripting language. It is basically a client-side scripting language used for developing dynamic and interactive websites. As you know, html is used to add elements on web pages, CSS is used to beautify web pages, and JavaScript is used to add interactivity, animation, etc. JavaScript is also used in mobile application development, server-side implementation, and game development. We can also use JavaScript with other front-end frameworks such as ReactJS, AngularJS, Vue.js. Using these frameworks and libraries, developers can easily create dynamic web applications and complex designs. In full-stack development, both front-end and back-end development use
    JS Tutorial . nodejs 810 2023-08-27 09:05:16
  • How to build an online voting system using WebMan technology
    How to build an online voting system using WebMan technology
    How to use WebMan technology to build an online voting system Introduction: With the continuous popularity of the Internet, the number of Internet users is also increasing rapidly. Whether it is the government, enterprises, institutions or individuals, they have gradually realized the importance of online voting systems. This article will introduce how to use WebMan technology to build a simple and practical online voting system, and attach relevant code examples. I hope that readers can master basic WebMan technology by reading this article and apply it to actual projects. 1. Implementation ideas Requirements for the implementation of online voting system
    Workerman . nodejs 1109 2023-08-26 22:43:44
  • Getting Started with Angular: The Basics
    Getting Started with Angular: The Basics
    Angular has become very popular in the past few years. You can use this open source JavaScript framework to build web and mobile applications. If you've been thinking about learning Angular but don't know where to start, it might be a good idea to follow this series. The purpose of this series is to cover the basics of Angular while creating a very simple application that displays information about different countries. Angular is written in TypeScript, so you can write your own code in TypeScript as well. Getting Started If you are already familiar with TypeScript, you can go ahead and start creating your first Angular application. please remember,
    JS Tutorial . nodejs 920 2023-08-26 16:09:07
  • Implementing online audio conference system using WebMan technology
    Implementing online audio conference system using WebMan technology
    Title: Implementing an Online Audio Conferencing System Using WebRTC Technology Introduction: With the development of globalization and the popularity of remote work, online audio conferencing systems have become an important tool for modern enterprise communication and collaboration. This article will introduce how to use WebRTC technology to build a Web-based audio conferencing system, and show the implementation details through code examples. Part One: Overview of WebRTC Technology WebRTC (WebReal-TimeCommunication) is a technology that can be used in browsers
    Workerman . nodejs 1274 2023-08-26 15:10:45
  • Optimize your website's load time and performance with Webman
    Optimize your website's load time and performance with Webman
    Optimize website loading time and performance through Webman With the rapid development of the Internet, people have higher and higher requirements for website access speed and performance. Loading time and performance are important factors that affect user experience and website rankings. Webman is a powerful performance optimization tool that can help us optimize the loading time and performance of the website. This article will introduce how to use Webman and provide some code examples. Webman is a command line tool based on Node.js, which optimizes static resources.
    Workerman . nodejs 1101 2023-08-25 20:18:29
  • What is the difference between cheerio and puppeteer?
    What is the difference between cheerio and puppeteer?
    Cheerio and Puppeteer are two popular JavaScript libraries used for web scraping and computerization, but they have unique features and use cases. Cheerio is a lightweight library for parsing and manipulating HTML and XML files, while Puppeteer is a more powerful library for controlling headless Chrome or Chromium browsers and automating web browsing tasks. Cheerio is used for web scraping and information extraction, while Puppeteer is used for web computerization, testing and scraping. The choice between Cheerio and Puppeteer depends on your specific needs and necessities. What is Cheerio? Cheerio
    HTML Tutorial . nodejs 1131 2023-08-25 19:45:21

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