Category Archives: Web Development

Javascript-Syntax

Hi all, JavaScript syntax is the set of rules.JavaScript can be implemented using JavaScript statements in webpages that are placed within the <script>……..</script> HTML tags.You can place the <script&gt tags anywhere within your web page. but it is normally recommended that you should keep it within the <head> tags. A simple syntax of your JavaScript… Read More »

AngularJS Controllers

AngularJS controllers tp control the flow of data in AngularJS applications.The ng-controller directive is used for defined controller.Its regular javascript object containing attributes/properties and functions. <div ng-app=”” ng-controller=”studentController”> … </div> studentController using ng-controller directive.Next step we’ll define the studentController as follows: <script> function studentController($scope) { $scope.student = { firstName: “Priya”, lastName: “Mary”, fullName: function() {… Read More »

AngularJS Directives

The AngularJs directive are helps/used to extend the html.To extended HTML attributes in AngularJs directives with prefix ng-. The ng-app directive used for initializes an AngularJS application. The ng-init directive used for initializes application data. The ng-model directive binds the value of HTML controls (input, select, textarea) to application data. The ng-repeat used for repeating… Read More »

Advantages and Disadvantages of AngularJS

Advantages of AngularJS AngularJS provides capability to create Single Page Application in a very clean and maintainable way. AngularJS provides data binding capability to HTML thus giving user a rich and responsive experience AngularJS code is unit testable. AngularJS uses dependency injection and make use of separation of concerns. AngularJS provides reusable components. With AngularJS,… Read More »

Getting data from database to angular js

Hi all, Today I would like to explain fetching the data from mysql database using PHP, like we do it in jQuery AJAX. For this first we have to create a PHP file. We can use the following code to fetch a data from database. We already have a database named ‘testingpurpose’ and we get… Read More »

Remove row data angularjs button

Hi Friends.., I have a table with some sample data. I have a button that I want to use with in the table row that will remove table row when clicked.It will remove the row, the button was clicked in. This demo shows how to remove/delete a table row dynamically. In coding, AngularJS vey good… Read More »

KnockoutJs Basic Idea with Simple Example

Hi Friends, KnockoutJS is another javascript library that helps you to create rich, responsive display and editor user interfaces with a clean underlying data model.Any time you have sections of User Interface(UI) that update dynamically (e.g:changing depending on the user’s actions), KO can help you implement it more simply and maintainably. Automatically updates the right… Read More »

Best CSS TextBox Styles

Hi, A few examples at what can be achieved with CSS and form text box’s. CSS helps different style and effect on text-boxes. Below I have given some text-box styles. You’ll find a style of all coded with just pure CSS3 code. Try this style in your code.. Style – 1 /*Background Color */ .tb1… Read More »