Author Archive

Basic Html Tags

Paragraph Tag <p> tag defines a paragraph in html. Example: <html> <head> <title>Paragraph Example</title> </head> <body> <p>This is a first paragraph. </p> <p>This is a second paragraph. </p> </body> </html> <html> <head> <title>Paragraph Example</title> </head> <body> <p>This is a first paragraph. </p> <p>This is a second paragraph.</p> </body> </html> Heading Tags Headings are like title or subtitle in html, when we place

Geting started with html

HTML stands for Hyper Text Markup Language. It was invented in 1990 by Tim Berners-Lee. HTML is the basic language of any browser and if we want to make website then there is no way around HTML. It’s a set of tags and each tag describes different web page content. Let’s take an examples: To

AngularJS Expressions

In angularJS expressions are used to bind application data to html, it is a code that is mainly placed inside double braces. Syntax: {{ expression }} Examples (Using Number): <html> <script src=”http://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js”></script> <body> <div ng-app> <span>Sum of 5 and 3 is: {{ 3 + 5 }}</span> </div> </body> </html> OUTPUT: Sum of 5 and 3

AngularJs Overview and Features

This article is about features and Advantages of AngularJs Features AngularJs is cross-browser compliant. It handles JavaScript automatically as per browser. AngularJs licensed under the Apache License version 2.0, It’s completely free and open source. In AngularJs we can write client side application in a MVC (Model View Controller) way. We can create very attractive

Database Handling in CodeIgniter

In this article, we will configure and work with database in same application “cidemo” as created in previous article of codeigniter, for that let’s create a new database and a table in MySql. Run the below command in your MySql Server: Step 1: Creation a database and table CREATE database mydb CREATE TABLE IF NOT

AngularJs Introduction

AngularJs is a open source JavaScript Framework comes with new attributes. It’s version 1.0 released in 2012 and now maintained by Google. AngularJs is prefect for a Single Page Applications. This article help you to get intro and quick start with AngularJs. Let’s take an example: <html ng-app> <head> <script src=”http://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js”></script> </head> <body> <div> <p>Enter

CodeIgniter Setup

CodeIgniter is one of the web application framework for PHP with MVC approach. It helps us to build faster web applications with many helpful code libraries and helpers. This article will show you the basics setup of the codeigniter framework, including how to build a basic hello user application that uses the MVC approach. Step

print_r shortcut in codeigniter

In codeigniter or php, we frequently use these lines for debugging: echo “<pre>”; print_r($myArray); echo “</pre>”; die; To avoid these lines to write again and again, I have defined a function in my comman_helper (application/helpers/comman_helper.php): <?php if ( ! defined(‘BASEPATH’)) exit(‘No direct script access allowed’); function pr($myArray = array(), $terminate = true) { echo “<pre>”;

Dynamically change the form action using JavaScript

<a onclick=”$(‘form’).attr(‘action’, ‘http://bestonetechnologies.com/’); $(‘form’).submit();” title=”submit form”> on anchor tag dynamically change the form action and submit using JavaScript </a>

javascript for phone number format

Useful link for ‘javascript for phone number format’: http://www.kodyaz.com/articles/javascript-phone-format-phone-number-format.aspx