Google Maps: Create New Marker on Clicking the Map

This article shows how to create a new marker whenever you click or double click on the Google Map. In previous article, we had seen how we can Display Google Map with Marker when we have latitude and longitude value. Here, we will be using the same code and adding a new functionality of displaying … Read more

Display Google Map with Marker using Latitude & Longitude Coordinates

This article shows how you can generate Google Map and display it in your webpage when you have latitude and longitude coordinates value. We will be using HTML and Javascript to display the Google Map. First of all, you need to get the Google API Key from Google API Console. You need this API key … Read more

PHP: Get Latitude/Longitude using Google Maps API

Here is a quick PHP code to fetch latitude and longitude of any given place using Google Maps API. CURL is used to fetch data from the API URL. $address = "Kathmandu, Nepal"; $url = "http://maps.google.com/maps/api/geocode/json?address=".urlencode($address); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $responseJson = curl_exec($ch); curl_close($ch); $response = json_decode($responseJson); if ($response->status == … Read more

PHP & MongoDB: Very Simple Add, Edit, Delete, View (CRUD) [Beginner Tutorial]

In this article, I will be presenting simple PHP & MongoDB code to add, edit, delete and view data. This kind of system is also referred to CRUD (Create, Read, Update, Delete). Here is a step-by-step guide on creating a CRUD system using PHP & MongoDB: I suppose, you have already installed MongoDB. If not, … Read more

Node.js, MongoDB & Express: Simple Add, Edit, Delete, View (CRUD)

This article shows how you can create a simple CRUD (Create, Read, Update, Delete) application in Node.js using MongoDB as database. We will also be using Express Framework to build this Node.js web application. Previously, I had written an article on Creating basic CRUD application using Node.js, Express & MySQL database. This article contains creating … Read more

Node.js, MySQL & Express: Simple Add, Edit, Delete, View (CRUD)

This article shows how you can create a simple CRUD (Create, Read, Update, Delete) application in Node.js using MySQL as database. We will also be using Express Framework to build this Node.js web application. We will be using EJS as templating engine. We will be using HTTP Methods like GET, PUT, POST, DELETE to make … Read more

Magento Error: Item (Mage_Core_Model_Store) with the same id “0” already exist

Problem: I transferred my Magento site files from one computer to another (it can be from local computer to online or from development site to production site). I imported the database. Now, when I try to browse the new location’s site, I get the following error: There has been an error processing your request Item … Read more

Node.js & Express: Templating using EJS

This article show how you can use Embedded Javascript (EJS) in your Node.js & Express application. EJS is an open-source Javascript Template Library. There are different other Javascript Templating languages/libraries like Mustache, Pug, Jade, etc. which can also be used in your Node.js & Express application. This tutorial uses EJS as the templating language for … Read more

Node.js & Express Framework: Basic Introduction & Hello World Example [Beginner Tutorial]

This article shows how you can use Express Framework for creating Web based Application in Node.js. Express is a free and open-source Node.js web application framework. Create a Hello World application using Express Framework Here’s a step-by-step guide: 1) Go to the folder where you want to create your new Node.js application/module. 2) In my … Read more