Skip to content

Blog

Classes and Objects - Python

Python Objects and Class

  • by

In this article, you’ll learn about the core functionality of Python, Python objects and classes. You’ll learn what a class is, how to create it and use it in your program.

Python Classes and Objects

Python is an object oriented programming language.

Almost everything in Python is an object, with its properties and methods.

A Class is like an object constructor, or a “blueprint” for creating objects.

Objects are an encapsulation of variables and functions into a single entity. Objects get their variables and functions from classes. Classes are essentially a template to create your objects.

Read More »Python Objects and Class

get user location

How to Get User Current Location ?

  • by

In this article you will learn how to get visitor’s current location. For this, we are using the HTML5 Geolocation API. HTML5 Geolocation API is used to get visitor’s latitude and longitude and helps us to easily trace the visitor’s full address (location, city, district, state, pincode ), but this is possible only when the user click on the allow button to share their location.

Detecting Your Location With PHP

get user locationMost modern devices are capable of detecting their own location either through GPS, WiFi, or IP geolocation. Developers can use this information to provide better search suggestions, nearby store locations, and implement all kinds of useful map interactions in their apps and websites.
Read More »How to Get User Current Location ?

scroll page load data

How to Load Data Dynamically on Page Scroll using jQuery and PHP ?

  • by

In this tutorial, we are going to see about loading data into a web page dynamically as the user scrolls it. We will be using jQuery and AJAX for the dynamic load on the scroll. Initially, we will show a limited number of results on page load. The subsequent bunch of records will be shown while scrolling down the page using jQuery AJAX event handler. This is an alternate solution for per-page navigation scenario.

scroll page load data

Read More »How to Load Data Dynamically on Page Scroll using jQuery and PHP ?