Easy Code Share > Articles by: Editorial Staff

Python Web Scraping using BeautifulSoup in 3 Steps

Python Web Scraping using BeautifulSoup in 3 Steps

Web Scraping means navigating structured elements on a website, and deeply going to next layers. Incoming big data will be retrieved and formated in desired styles. We apply Python BeautifulSoup to a simple example for scraping with step-by-step tutorials. All codes here are not complicated, so you can easily understand even though you are still … Read more

Easy Code Share > Articles by: Editorial Staff

Compare Python Dict Index and Other 5 Ops with List

Compare Python Dict with List in 6 Operations

For clarification, we describe how Python Dict use Index and other 5 operations, and how different Python List operations are. Essentially, these 2 data types are often used in Python programming. All codes here are not complicated, so you can easily understand even though you are still students in school. To benefit your learning, we … Read more

Easy Code Share > Articles by: Editorial Staff

7 Steps for HTML Bar Chart Using Javascript Canvas

HTML Canvas Bar Chart using Javascript by 7 Steps

This article offers a complete approach of building a HTML bar chart using JavaScript canvas. In 7 steps, you can customize your bar chart with designed bar colors and the legend to distinguish them. More than one series of data can be set in the chart. Essentially, the JS object is truly in clear codes … Read more

Easy Code Share > Articles by: Editorial Staff

HTML5 Canvas Line Chart using Javascript by 7 Steps

HTML5 Canvas Line Chart using Javascript by 7 Steps

We are proposing an elegant approach to draw HTML5 Canvas line chart. Each line illustrates the distribution of one series of data, and we allow multiple series to be sketched. This article divides the drawing procedure into 7 steps for which several sections explain the principle and usage. All codes here are not complicated, so … Read more

Easy Code Share > Articles by: Editorial Staff

4 Practices for Python File Upload to PHP Server

4 Practices for Python File Upload to PHP Server

Python File Upload will be introduced by 4 methods. All of them have no relationship with browser clients. Instead, scripts runs to upload using command lines. We don’t mention about HTTP file upload service in Python, but the server site just use a PHP solution that has been discussed in our previous articles Single File … Read more

Easy Code Share > Articles by: Editorial Staff

Multiple File Upload in PHP, HTML, jQuery by 6 Ways

6 Methods for Multiple File Upload in PHP, HTML, AJAX, jQuery

For the topic of Multiple File Upload, there are various approaches including HTML, jQuery AJAX, and PHP. This ultimate complete guide helps you understand how to choose a proper method among them. For example, only PHP cURL method is available for the case of file transfer between hosts. All codes here are not complicated, so … Read more

Easy Code Share > Articles by: Editorial Staff

6 Methods for File Upload in PHP, HTML, AJAX, jQuery

6 Methods for File Upload in PHP, HTML, AJAX, jQuery

File Upload allow various approaches, including HTML, jQuery AJAX, and PHP. This ultimate complete guide helps you understand how to choose a proper method among them. For the case of file transfer between hosts, only PHP cURL is available. Here only single file upload is written. In next article, we will talking about multiple file … Read more

Easy Code Share > Articles by: Editorial Staff

How to Store JSON Array in HTML Attribute and Get it

How to Store JSON Array in HTML Attribute and Get it

You can store JSON object or JSON array into an attribute on an HTML element, just as you treat them as strings. This article teach you how to embed JSON data in HTML, and moreover, retrieve it from HTML attributes. Along with this major topic, an extra tip about toggling to hide or show some … Read more

Easy Code Share > Articles by: Editorial Staff

How to Rotate a Roulette Picture on Click using jQuery

How to Rotate a Roulette Picture on Click using jQuery

The best way to animate HTML elements should be the jQuery Rotate solution presented in the article. This open-source method is based on Wilq32 and will be introduced through a funny example of roulette game. All codes here are not complicated, so you can easily understand even though you are still students in school. To … Read more

Easy Code Share > Articles by: Editorial Staff

PHP Codes Access Shared Memory in Linux with Lock

PHP Process Access Shared Memory on Linux

A global counter example introduced here applys Shared Memory to store a common counter value for Linux processes, which tend to get incremental amounts randomly. Moreover, we assume HTTP requests require this counter, and then focus on the behavior of child processes forked by Apache daemon. As experimental proof, the simulation model in another Linux … Read more