Hello friends, this is my 14th tutorial of PHP and Today I am sharing the concept of form processing in PHP. Forms are almost useeverywher...
Handling Sessions in PHP with simple example
Hello friends, this is my 13th tutorial of PHP and Today I am sharing the concept of using Sessions in PHP. Sessions are useful for storin...
URL Encoding in PHP with easy example
Hello friends, this is my 12th tutorial of PHP and Today I am sharing the concept of URL encoding in PHP. Every user needs data privacy so...
Database connectivity in PHP in 5 simple steps with simple example
Hello friends, welcome again, this is my 11th tutorial of PHP and Today I am sharing the concept of using database in PHP. Database is a v...
Using Cookies in PHP with easy example
Hello friends, this is my 10th tutorial of PHP and Today I am sharing the concept of using Cookies in PHP. Cookies are useful for storing ...
Using Functions in PHP with easy example
Hello friends, this is my 9th tutorial of PHP and Today I am sharing the concept of using functions in PHP. Functions are block of codes t...
String manipulation in PHP with easy example
Hello friends, this is my 8th tutorial of PHP. Today I am sharing the concept of String manipulation in PHP. Strings are almost used every...
Using pointers in PHP with easy example
Hello friends, this is my 7th tutorial of PHP and Today I am sharing the concept of using pointers in PHP. Pointers always come handy whil...
Using Array in PHP with easy example
Hello friends, this is my 6th tutorial of PHP and Today I am sharing the concept of using arrays in PHP. As we all know that array is a co...
Using Constants in PHP with easy example
Hello friends, this is my fifth tutorial of PHP and Today I am sharing the concept of using Constants in PHP. As we all know that constant...
Type Casting in PHP with easy example
Hello friends, here I am back again with the second basic tutorial of PHP and Today I am sharing the basics of type casting in PHP . If si...
Using loops in PHP with easy example
Hello friends, this is my fourth tutorial of PHP and Today I am sharing the concept of using loops in PHP. Loops provides the feature of i...
Using logical operators in PHP with easy example
Hello friends, this is my third tutorial of PHP and Today I am sharing the concept of using logical operators in PHP. Conditional operator...
Find intermediate coordinates between two points of a Map programmatically in iOS using Objective-C
Here is a sample code to find the co-ordinates of a location from the location name: Code: -(NSMutableArray *)decodePolyLine: (NSMutable...
Number format in PHP with easy example
Hello friends, this is my first tutorial of PHP and I am starting with the Numbers. As for any programming language the Numbers are the ba...
Handling view with respect to keyboard height iOS programmatically
Managing the view of an iOS application with respect to the keyboard events generated by iOS application is one of the most widely faced i...
Login with Facebook in iOS programmatically
Integrating facebook in any iOS application for login purpose is common in today's market. As most of today's applications uses lo...
Adding Custom UIProgressView iOS programmatically
Hello friends, today I have used a UIProgressView in my iOS application. I have created a custom UIProgressView programmatically. I found ...
Remove all NSUserDefault keys programmatically
Normally while working with iOS applications we create multiple NSUserDefault with multiple names but while a user log out from the applic...
Animating Navigation Controller in iOS programmatically
There are certain situations in which we want to custom the animation of push navigation controller. In this post I am giving a block of c...
Simple ways to use Pair in Hack Language Facebook
Pair in Hack The Hack Language supports various collection types including Pair . There are various simple ways to use Pair in Hack Langu...
Simple ways to use Set in Hack Language Facebook
Set in Hack The Hack Language supports various collection types including Set . Sets in Hack Language simply represents an unordered a...
Simple ways to use Map in Hack Language Facebook
Map in Hack Language Facebook Hack Language supports Map that are simply an ordered dictionary-style collection. Map in Hack Language F...
Simple ways to use Vector in Hack Language Facebook
Vector in Hack In Hack Language Vectors are an integer-indexed (zero-based) collection. Vectors allows random access to its elements w...
Collection in Hack Programming Language Facebook
Hack introduces the concept of Collections. Collections are basically used for data storage and retrieval. Collections implement many of t...
Using Nullable in Hack Language Facebook
Hack introduces a new way to handle null values by introducing the concept of Nullable. ? Operator is used for representing Nullable type...
Generic in Hack Language Facebook
Hack Language introduces the concept of generics to PHP. It allows a class or function or interface to define the type of it’s at the time...
Hack Modes in Hack Programming Language
The HACK language code is generally written in one of the three modes: Strict Partial Decl Unsafe These modes provides the developers th...
Using 'mixed' type is Hack Language Facebook
In certain situations, it is difficult to determine the return type of a function prior to its call. In that situation we use the ‘mixed’ ...
Using 'this' in Hack Language Facebook
Using this in Hack Language is shown below: As we see in the example below that ' this ' can also be used as return type of a func...
Array in Hack Language Facebook
In HACK array can be created using one of the following ways: Untyped Array : array Explicitly Typed Array with Integer key: array<Ty...
Type Casting in Hack Language Facebook
Allowed Type : float, int, bool Not Allowed Type : double, integer, boolean, real, binary Example: <?hh function typeCast(): bool ...
Function in Hack Language Facebook
Function with no argument and no return type: <?hh // void indicate that a function does not return anything. function display(): voi...
Type Annotation in Hack Language Facebook
Basic/Primitive Types: int, float, string, bool, array. Other Types: mixed, void, resource, array, Vector, tuple (type1, type2, . . .) ...
Feature of Hack Language Facebook
FEATURES OF HACK Hack provides a method, the ability to annotate and to specify the return type. Hack helps to detect unsafe coding ...
Add JTree programmatically in Java Swing
JTree: A tree is a component that presents a hierarchical view of data. The user has the ability to expand or collapse individual subtrees...
Add JTable Programmatically in Java
JTable: JTable is a component that displays rows and columns of data. We can drag the cursor on column boundaries to resize columns. JTa...
HACK: The new programming language by Facebook
HACK: The new programming language by Facebook The new language introduced by Facebook called Hack but it has very little to do with hack...
Programmatically find the co-ordinates of a location from the location name iOS Map
Here is a sample code to find the co-ordinates of a location from the location name: Code: -(CLLocationCoordinate2D) getLocationFromAddr...
Draw Line on TouchesMoved()/Mouse move programmatically in iOS using Objective-C
Here is a sample code to draw line on touches move in iOS programmatically: Code: -(void) touchesBegan:(NSSet *)touches withEvent:(UIEve...
Open Mail Composer programmatically in ios 8 using Objective-C
In this blog post I am going to elaborate a simple example to Open Mail Composer programmatically in iOS using Objective-C. I would also p...
Connecting with SQLite programmatically in iOS using Objective-C
Here is a sample code for connecting with SQLite using Objective-C... Code: #import "sqlLiteDemoViewController.h" @interface s...
Adding Links To UILabel Programmatically iOS using Objective-C
Hey friends here is a sample code that help you create link in UILabel...... Don't forget to import TTTAttributedLabel. Code: #imp...
Adding UIButton Programmatically iOS using Objective-C
Here is a sample code to add a UIButton Programmatically in iOS using Objective-C: Code: UIButton *button_name=[[UIButton alloc]initWithF...