current location:Home > Technical Articles > Web Front-end
- Direction:
- All web3.0 Backend Development Web Front-end Database Operation and Maintenance Development Tools PHP Framework Daily Programming WeChat Applet Common Problem Other Tech CMS Tutorial Java System Tutorial Computer Tutorials Hardware Tutorial Mobile Tutorial Software Tutorial Mobile Game Tutorial
- Classify:
-
- Displaying Dynamic Messages Using the Web Notification API
- Web Notifications API: Get website notifications out of browser restrictions We are used to mobile notifications from favorite websites or apps, but now it is becoming more common for browsers to push notifications directly. For example, Facebook will send notifications when you have a new friend request or someone comments on a post you participate in; Slack will send notifications in conversations you are mentioned. As a front-end developer, I'm curious how to leverage browser notifications to serve websites that don't handle a lot of information flow. How to add relevant browser notifications based on visitors’ interest in the website? This article will demonstrate how to implement a notification system on the Concise CSS website to provide a new version of the framework every time it is released.
- JS Tutorial . chrome 487 2025-02-17 13:06:09
-
- Native JavaScript Development after Internet Explorer
- Welcome to the third and final part of this series, where we will explore the retirement of the old IE and the impact of this incident on the front-end development field. So far, we have covered out outdated technologies that can be safely discarded, as well as HTML5 and CSS3 properties that are now fully natively supported in mainstream browsers. Today, we will focus on native JavaScript technology and other content that does not fall into the above categories. Thanks again to CanIUse.com, it is a very valuable resource. I will also reiterate the last disclaimer: This article has nothing to do with the decision to give up support for old IEs. You must make your own decisions based on the specific details of your website or application. Without further ado, let's continue! The key
- JS Tutorial . chrome 472 2025-02-17 12:48:10
-
- File Bundling and HTTP/2: Rethinking Best Practices
- Welcome to subscribe to our latest JavaScript newsletter, click here to subscribe Almost all JavaScript applications today use the build process. Even if you are not translating from ES2015 or TypeScript, it has become standard practice to do some form of connection and compression to your code. The reason is that there is considerable overhead in making HTTP requests. Less serviced, larger files are more efficient than many smaller files served. With the adoption of the next version of HTTP/2, the underlying protocol for the network, it may be time to rethink best practices. HTTP/2 is based on Google's SPDY protocol, which is designed to improve page loading latency and improve security based on the existing HTTP 1.1 standard.
- JS Tutorial . chrome 318 2025-02-17 12:47:14
-
- A Beginner's Guide to JavaScript Variables and Datatypes
- This beginner's guide to JavaScript variables and data types explains the fundamentals of JavaScript programming for newcomers. It was reviewed by Scott Molinari, Vildan Softic, and Chris Perry. Thanks to SitePoint's peer reviewers for their contrib
- JS Tutorial . chrome 808 2025-02-17 12:46:14
-
- 7 Super-Useful Chrome Extensions for Designers in 2017
- 7 Chrome extensions to improve web design efficiency Core points: Chrome extensions simplify the design process and provide tools to check and edit web elements, link checks and generate complex CSS code without leaving the browser. Extensions such as Page Ruler, WhatFont, CSS3 Generator, Check My Links, Gravit Designer, ColorZilla and StyleBot are particularly useful to designers, providing features such as color sampling, font recognition and real-time website customization. Using these extensions can save time and reduce the need for other software, making it valuable to designers and developers
- It Industry . chrome 340 2025-02-17 12:45:11
-
- The Web's Most Annoying Dark Patterns
- Dark Mode in the Web: Angry Web Design Trap Core points: "Dark Mode" refers to deceptive design techniques used in websites and applications, designed to manipulate user behavior, often causing users to feel frustrated and deceived. Common examples include annoying ads, fake news ads, blocking ad blockers, and confusing navigation. Other annoying dark modes include lengthy multi-page articles, mobile app promotions that interrupt user experience, single-page apps without fallback mechanisms, and unnecessary scroll hijacking. Some dark modes are not only annoying, but almost fraudulent. These include subscription shaming, artificial scarcity, and ease of signing up for services but difficulty in canceling services. Although dark modes are widely used, they are usually
- It Industry . chrome 464 2025-02-17 12:38:08
-
- CSS Animations
- CSS animation: The key tool to enhance user experience Core points: CSS animation is a key tool to enhance the user experience, adding depth and meaning to interactions, guiding users to browse the interface, and providing user action feedback. While JavaScript also provides animation features, CSS is the easiest way to get started with animation. JavaScript-based animations can be more complex and resource-intensive, which may slow down page loading times on slower connections or mobile devices. CSS animations can be launched immediately with just a web browser and text editor, an easy to access and efficient way to bring your design to life. CSS animation has great potential, from smooth transition to using keyframes to creating complex effects. Animation is becoming a must
- It Industry . chrome 998 2025-02-17 12:33:10
-
- Using the Selenium Web Driver API with PHPUnit
- This article explores using Facebook's webdriver package for browser emulation in PHP, building upon a previous article (not included here) that covered Selenium with PHPUnit. It focuses on acceptance testing and automating browser interactions. Ke
- PHP Tutorial . chrome 344 2025-02-17 12:20:14
-
- Editorial: What Do You Want to Learn in 2017?
- Subscribe to our latest JavaScript newsletter and click here to subscribe Happy New Year, readers of SitePoint JavaScript! I hope everyone has a great holiday (for those on vacation) and is ready to welcome 2017 in a brand new look. 2016 was a crazy year for JavaScript! We have witnessed the increasing popularity of ES6 and the rise of progressive web applications. In addition, Yarn appears as a competitor of npm, and JavaScript fatigue has also become a topic. If you missed this or just wanted to look back on the past year, we're ready for you. Craig Buckler in his article "JavaScri"
- JS Tutorial . chrome 609 2025-02-17 12:04:15
-
- Web Maker, an Offline, Browser-based CodePen Alternative
- Web Maker: Offline browser code editor, your code paradise Web Maker is a Chrome browser extension that provides an offline, browser-based code editing environment similar to online code editors such as CodePen, JSBin, and JSFiddle, allowing you to write HTML, CSS, and JavaScript code in real time. Preview effects. This tool has many practical features such as instant refresh, saving and loading projects, supporting mainstream preprocessors, adding external JavaScript or CSS libraries, multiple layout modes, and screenshots. You can also save the work as an HTML file or open it directly on CodePen, and
- It Industry . chrome 637 2025-02-17 10:59:09
-
- Voice controlled PHP apps with API.ai
- In this tutorial we’ll be looking into Api.ai, an API that lets us build apps which understand natural language, much like Siri. It can accept either text or speech as input, which it then parses and returns a JSON string that can be interpreted by t
- PHP Tutorial . chrome 370 2025-02-17 10:56:11
-
- Reverie: A Foundation Based WordPress Starter Theme
- Reverie: A WordPress Introduction Theme Based on Foundation Framework Reverie is a WordPress introductory theme based on the ZURB Foundation framework, which provides a solid foundation for theme development, including responsive mesh, typography, button styles, and other components. Its lightweight and minimalist design can improve website performance. Custom Reverie You can modify CSS and PHP files directly or use WordPress customizer to make simpler changes. This theme supports sub-themes, allowing you to make changes without affecting the original theme file, making it easier to update the theme without losing custom settings. Reverie to developers
- WordPress . chrome 596 2025-02-17 10:45:10
-
- Introducing GraphicsJS, a Powerful Lightweight Graphics Library
- HTML5: The cornerstone of modern networks. Today, SVG and Canvas are often the technology of choice when creating interactive images—Flash has been forgotten, Silverlight has become a rare unicorn at the edge of the network, and few people remember third-party plugins. The pros and cons of each technique are well documented, but in short, SVG is better suited to creating and handling interactive elements. This is because SVG is an XML-based vector format that when an image is loaded into a page using tags, each element in it can be used in the SVG DOM. In this article, I want to introduce you to GraphicsJS, a new and powerful open source J based on SVG
- JS Tutorial . chrome 288 2025-02-17 10:42:15
-
- An Introduction into Event Loops in PHP
- PHP event loop: a tool for asynchronous programming Core points A PHP event loop is a programming structure used to wait for events or messages in a scheduler, especially for handling asynchronous operations. Traditional PHP programming is synchronous, performing one operation at a time, and waiting for each operation to complete before continuing with the next operation. While the event loop allows asynchronous programming, where an operation can be started and then put on hold until the result is ready, other operations can be performed during this time. Library such as ReactPHP or Amp provides the necessary interfaces and classes to create and manage PHP event loops, allowing better use of resources and shorter response times, especially in applications that need to handle a large number of concurrent connections. Although
- PHP Tutorial . chrome 551 2025-02-17 10:37:09
-
- TestCafe: Easier End-to-end Web App Testing with Node.js
- TestCafe: Node.js framework for simplifying automated testing of web applications Core points: TestCafe is a web application testing framework based on Node.js, which simplifies the setup and running process of automated tests. It covers all phases of testing, including starting a browser, running a test, collecting results, and generating reports. TestCafe does not require browser plugins or other dependencies and supports testing in any popular modern desktop or mobile browser. It is also compatible with cloud testing services and unconventional browsers through the plugin ecosystem. TestCafe offers a variety of test operations, from hover to file upload, and has a built-in automatic waiting mechanism without manually adding waiting or hibernation.
- It Industry . chrome 693 2025-02-17 10:31:10