Node.js and MySQL are one of the necessary binding needed for any web application. MySQL is one of the most popular open-source databases in the world and efficient as well. Almost every popular programming language like Java and PHP rovides driver to access and perform operations with MySQL. In this Node js and MySQL tutorial, […]
10 Older Entries »
Finding good content on your website is really important. The search feature improves user interaction and helps you to build a readership on your website. WordPress uses the default MySQL database to perform a search which is not great. MySQL is not built for search and if you are serious about building an authority website on WordPress then the search is the module you need to pay good attention.
I have already implemented WordPress search with ElasticSearch here. In this article, I am going to use and review the amazing product called ‘WPSOLR’ built for search.
What is WPSOLR
WpSolr is an advanced WordPress search plugin that can work with Apache Solr and Elasticsearch.
WPSOLR provides out of the box search solution with the following features:
- Built-in language, synonyms, stop words.
- Search filter using checkbox, radio box, …
S.O.L.I.D Stands for first five object-oriented design principle by Robert C.Martin.
SOLID principles can be used to design and develop extensible and easy to maintain software. By using these principles in object-oriented programming developer can create and maintain the codebase very easily.
SOLID stands for:
- Single-responsibility principle
- Open-closed principle
- Liskov substitution principle
- Interface segregation principle
- Dependency Inversion Principle
In this article, we will learn about the principle with the codebase.
A class should have only one job.
This principle states and recommends that a class should have only one responsibility. If a class contains multiple responsibilities then it becomes coupled. …[Read more]
Facebook Login is widely used as an authentication module on websites. Instead of asking user manual details such as email and password and then verify them, it’s better to use already verified user details.
In this article, we are going to learn and implement a Facebook Login System using Nodejs and ExpressJS. You can download the code by clicking the button below.
If you are new to Node and Express then you won’t regret taking our Node course. It’s FREE!
Creating Facebook App:
Very first thing you going to need is AppID and AppSecret from Facebook App. Please go to Facebook Developers and create your …[Read more]
Visual studio code, arguably the best code editor to use in present time. Due to its wide range of extensions and support from Microsoft this editor is widely adopted.
Visual studio code is built on top of open source Monaco editor by Microsoft. This project receives around 14k stars in Github.
Visual studio code offers a wide range of extensions. Here is how to install the extension.
Press SHIFT+COMMAND (or Windows)+X or just click on the extension icon of visual studio code. Search for the extension and press install.
Here I am listing down 15 best visual studio code extension for web development. The choices of the …[Read more]
In this article, we are going to cover the development and deployment of the Nodejs App on the Clouding.io platform. Clouding.io is the Cloud VPS service that offers affordable, SSD based virtual private servers to host your application.
Why Clouding Platform
Clouding.io has affordable virtual private servers with very fast processors, wide bandwidth and SSD for fast processing. Clouding.io aims to be the most efficient virtual private servers provider with cutting edge technology.
Some of the eye-catching features are:
- Affordable price range:
You can start using Clouding.io for around 3 Euros ( 3.8 USD ) a
month that will give you 1 GB of RAM and 5 GB SSD disk
We all love Ajax, don’t we? And there is an obvious reason. Ajax is great for user experience. In this tutorial, I am going to build an application using Node.js that will let the user upload files using Ajax instead of conventional upload that requires a browser refresh action to see the change.
I am going to develop the same application as I have done in the last tutorial with some additional code changes which make it asynchronous or Ajax.
#1 : Handling global …[Read more]
We have covered session management in ExpressJs using a global variable technique which of course will not work in case of shared server or concurrent execution of HTTP requests which is the most familiar production scenario. Codeforgeek readers requested to provide a solution for this issue and the optimal one is to use external session […]
We have covered session management in ExpressJs using global variable technique which of course will not work in case of shared server or concurrent execution of http requests which is most familiar production scenario.
Codeforgeek readers requested to provide solution for these issue and the optimal one is to use external session storage which is not dependent on application requests, answer is Redis cause this is the light weight and easy to use NoSQL database.
In this tutorial i am going to explain how to design and code session oriented express web applications by using Redis as external session storage.
To get familiar with Session handling in ExpressJS I recommend to read our first article …[Read more]
Node.js and MySQL is one of the necessary binding needed for any web application. MySQL is one of the most popular open source database in world and efficient as well. Almost every popular programming language like Java or PHP provides driver to access and perform operations with MySQL.
In this tutorial i am trying to cover code for learning and code for production. So if you know this already and looking for ready made code for production. Click here to jump there directly.
Node.js is rich with number of popular packages registered at package registry called …[Read more]
10 Older Entries »