Categories
AngularJS

Ajax call – AngularJS

To read the data from the server AngularJS uses $http control to get the desired results from Ajax. It requires data as a JSON format. Example of Ajax: <script> var ngApp = angular.module(“ngApp”, []); ngApp.controller(‘nameController’, function($scope) { var url=”ajaxmaster.php”; $http.get(url).success( function(data) { $scope.response = data; }); }); </script>

Categories
AngularJS

Filters of AngularJS

Using pipe(|) character Filters of AngularJS are used to change the data in directives. This selects a subset of items from array and returns it as a new array. An AngularJS filter formats the value of an expression for display to the user. They can be used in view templates, controllers or services. It is […]

Categories
MySQL

MySQL INDEX

For improving the speed of operation in a table we use MySQL INDEX. We can create more than one field as a index field in a table. This is basically use for searching process so that it can lookup records very fast. As it fetches record very fast from the database, during insert and update […]

Categories
AngularJS

AngularJS Controller

To control the flow of data AngularJS mainly relies on controllers. It is defined using ng-controller directive. Controller contain attributes, properties and functions. Example of Controller: <html> <head> <title>AngularJS Controllers</title> <script src=”http://ajax.googleapis.com/ajax/libs/angularjs/1.3.14/angular.min.js”></script> </head> <body> <h2>AngularJS Controllers</h2> <div ng-app=”ngApp” ng-controller=”nameController”> First name: <input type=”text” ng-model=”name.firstName”><br><br> Last name: <input type=”text” ng-model=”name.lastName”><br> <br> Full name: {{name.fullName()}} </div> <script> […]

Categories
Feature Story Technology

AI Research Writers: Are They Game Changers or a Threat to the Academia?

Artificial Intelligence has become a significant part of our daily lives and has successfully automated hundreds of our day-to-day activities. Recent AI developments have entirely transformed the landscape in the field of thesis research and writing. AI research writers have changed the game of thesis research and writing. AI-powered programs such as ChatGPT have relieved […]

Categories
KnockoutJS

KnockoutJS – Templating

Using template is very easy to incorporate into website. For a duplication you don’t need to write over and over again just call them repetitively. Parameters:Following properties can be sent as a parameter-value:name, nodes, data, if, foreach, as, afterAdd, afterRender, beforeRemove. Lets see an example of Templating: <!DOCTYPE html> <head> <title>KnockoutJS – Templating</title> <script src=”http://ajax.aspnetcdn.com/ajax/knockout/knockout-3.3.0.js” […]

Categories
KnockoutJS

Dependency Tracking – KnockoutJS

Using a single object called dependency tracker i.e. ko.dependencyDetection you can determine when the value get updated. When you declare a computed observable, KO immediately gets its initial value and updated computed observable. Lets see an example for Dependency Tracking: <!DOCTYPE html> <html> <head> <title>Dependency Tracking – KnockoutJS</title> <script src=”http://ajax.aspnetcdn.com/ajax/knockout/knockout-3.1.0.js” type=”text/javascript”></script> </head> <body> <div> <form […]

Categories
MySQL

Compare two tables in MySQL

When migrate data you need to compare two tables and identify the unmatched results records. Suppose you have two tables table1 and table2 with same columns and values. If any one table has any extra row then using below query you can get the unmatched results. Compare two tables: SELECT id, name FROM ( SELECT […]

Categories
MySQL

Manage Triggers in MySQL

Here you will learn how to manage triggers like modifying, removing etc. To display the trigger use following sql: SELECT * FROM Information_Schema.Triggers WHERE Trigger_schema = ‘database_name’ AND Trigger_name = ‘trigger_name’; To view trigger: SHOW TRIGGERS; To drop a trigger: DROP TRIGGER tbl_name.trigger_name

Categories
Business Feature Story

Things You Should Know Before Starting Your First Brand Identity Project

Is it accurate to say that you are in all-out startup mode? Perhaps a little overpowered by all that you have to do to before your brand welcomes the world? Is “business branding” one thing on your agenda that you aren’t sure how to handle? Distinctive brand identity captivates, resonates, and defines, forging lasting connections […]