ReactJS vs. AngularJS : Select the Best Tool for Your Application

Everyday web development technology emerges like a skyrocket. Technology is evolving, and web applications usage is increased vastly in the last few years. JavaScript is one of the language to build web applications in an extended way.

At the same time, some of the famous companies introduced Web development frameworks for JScript to add more enhanced features to the web development world.

Well known Social media giant Facebook, created the ReactJS framework. And search engine giant Google is owned and built a platform called AngularJS. Both are used to develop web applications with excellent user interface and experience.

So, In this below article we will discuss full details and comparison of both React and Angular.

Web developers or Upcoming web developers.

Letus deep dive into the ReactJS vs AngularJS, I mean to say it is like Google vs Facebook (just for fun).

ReactJS vs. AngularJS : Select the Best Tool for Your Application

Read more

Load content on Page scroll with AngularJS and PHP

In infinite page scroll pagination data load dynamically and append at the end of existing content when the user reaches to the bottom while scrolling.

The user doesn’t have to click any button.

I am using ngInfiniteScroll directive for implementing with AngularJS.

With this directive detect page scroll and send AJAX request to get content.

Also, need to include the jQuery library for using it.

In this tutorial, I show how you can load content on page scroll using the ngInfiniteScroll directive in AngularJS.

Load content on Page scroll with AngularJS and PHP

Read more

How to Auto-populate Dropdown with AngularJS and PHP

By creating dynamic dependent dropdown the user is restricted to select an item to view data on another dropdown element.

Based on each selection data is changed in the dropdown.

The common example of this – country and state element in the form. According to the selected country state is been auto-populated.

I am using the $http service in AngularJS to send a request to fetch records from MySQL database with PHP.

In the demonstration, I am creating two dropdowns – state and users. According to the state selected from the first dropdown auto-populate users list in the second dropdown.

How to Auto-populate Dropdown with AngularJS and PHP

Read more

Live username Availability check with AngularJS in CodeIgniter

If there is the registration form on the website then you need to make sure that the username or email must be unique.

The user will login with the selected username next time when it comes to the website.

You can either check it after submitting the form or while entering it.

In the demonstration, I am creating a simple registration form in CodeIgniter where check the entered username with Angular and insert the record if the username is available.

Live username Availability check with AngularJS in CodeIgniter

Read more