Skip to main content

Create REST API with Node.js, Express & MongoDB

In our previous tutorial, we have explained how to create REST API with PHP & MySQL. In this tutorial, we will explain how to create REST API with Node.js, Express and MongoDB.

REST stands for “Representational State Transfer” which determines how API will behave. It is a set of rules that developers follow while creating API. The rules are related to the operations with data to create, read, update and delete etc.

In this tutorial you will learn how to create RESTful API with Node.js, Express and MongoDB.

Express is a Node.js framework that adds support for routing, middleware, view system etc. We will also use Mongoose, an ODM (Object Document Mapping) tool to interact with the MongoDB instances.

(more…)

Load Dynamic TinyMCE Editor with Ajax, PHP & MySQL

In our previous tutorial, we have explained how to implement TinyMCE Upload Image with Ajax and PHP. In this tutorial, you will learn how to Load Dynamic TinyMCE Editor with Ajax, PHP & MySQL.

TinyMCE is a popular WYSIWYG Editor to use for getting input to save to the database. It is used in web applications to add and edit HTML contents. The new contents added with fixed editor but there TinyMCE editor needs to be loaded and removed dynamically to edit the content from different records.

So if you’re looking for solutions to load and remove TinyMCE editor dynamically to save contents, then you’re here at the right place. In this tutorial you will learn how to dynamically load and remove TinyMCE editor to edit save contents from different records with Ajax, PHP and MySQL.

(more…)

TinyMCE Upload Image with Ajax and PHP

In our previous tutorial, we have explained how to use TinyMCE editor to save content with Ajax, PHP and MySQL. In this tutorial, we will explain how to implement image upload in TinyMCE editor with Ajax and PHP.

TinyMCE is a well known WYSIWYG HTML Editor which extensively used in web applications to create HTML contents. It supports text formatting, table insert, link insert, image insert and more features.

TinyMCE has many plugins that allows insert image into editor through different sources. But it’s not allowed to browse image and upload to server to insert into editor. For this, we need to develop our own functionality.

So if you’re looking for solution for TinyMCE image upload to insert image into TinyMCE editor then here at the right place.

(more…)

Save TinyMCE Editor Content with PHP & MySQL

In our previous tutorial, we have explained how to develop Student Attendance System with PHP & MySQL. In this tutorial, we will explain how to use TinyMCE editor to replace textarea to save content with ajax, PHP and MySQL.

TinyMCE is the most advance JavaScript WYSIWYG HTML editor to create contents for websites. The editor can easily be integrated into any website to convert textarea to HTML editor to create HTML contents.

If you’re working on website and wants to replace normal textarea with advanced WYSIWYG HTML editor, then you’re here at the right place.

We will cover the tutorial in easy steps to integrate TinyMCE editor and save contents to MySQL database with ajax and PHP.

(more…)

Scrape Search Data with SERP API using Node.js

In our previous tutorial, you have learned about Create RESTful API with Node.js, Express & MongoDB. In this tutorial, you will learn how to get the SERP data using SERP API with Node.js.

SERP or Search Engine Results Pages is the result pages data that returned by Search Engines. The search results pages data are relevant to the search keywords that generally done manually by the users in Search Engines.

Sometimes we needs search result pages data from all result pages and we develop algorithm for this. But it’s not always accurate as the Search Engines regularly keeps on changing their SERP structures and algorithms. Now we don’t need to be panic as there are SERP APIs are available. The SERP APIs are reliable and allows us to scrape accurate search result pages data.

So if you’re running a business or a developer and looking for accurate SERP data, then you’re at the right place.

The SerpApi is a secure Google Search API that allows to scrape search engine (Google, Bing, etc.) results from anywhere in the world with location parameter and returns response data into JSON data. It can also be easily consumed with any programming language (PHP, Python, Ruby, Nodejs, etc.).

(more…)