hello readers!
We designers have to deal with HTML pages and CSS every time. We have so many properties that will make a page to new look and making it more stylish by adding animation, keyframe and different effects to it. There are many enough...
Hi Friends,
Whenever you create an application it is never for lifetime, there is always something and better comes in the market, and once we talk about rails application, it comes pretty quickly. After every few months rails comes with a new...
Hello!!
Regular Expression is part of the Automata, and also called rational expression. We use it for finding the match of the string like validating the Email address, Password etc. It uses some special sequence of the character for mat...
Hi Friends,
There were so many changes came with introduction of Rails. So one the major change was regarding the HTTP Patch Requests. From rails 4, whenever a resource is declared in the routes, by default it uses PATCH as primary verb...
Hi Friends,
Git is the great tool for project versioning and code management, but mostly we are unaware so many things. So here I am going to tell you what is stashing in Git.
Sometimes we are working on some code and we don't want it t...
In my previous blog Upgrading Rails from 3.0 to 3.1, I explained you how we can upgrade a rails application from 3.0 to 3.1. In this I am going to show you, what changes are required to update an application from 3.1 to the latest of 3.2 rails ve...
CircularPagerIndicator is usually a kind of indicator that used to know how many images or tabs are left in our view. It is like a dot at the bottom of a view, more you can get by implementing below few lines in your project.
Step1: permission...
Upgrading a rails application directly from a lower version to a much higher version is never a good idea, so the best idea is to do it step by step. like one upgradation at a time. In my previous blog Things to Notice Before Upgrading Rails Ap...
In this article, we will learn how to convert a file into byte array and get back the original file from the byte array via FileUpload control.
Step 1: Create a page having control FileUpload and Button
<div>
...
Hello Readers,
Bitly API is a way to shrink long URLs so that we can share it on social media. For example on twitter we can't share long URL so it is a very easy way to shorten long URLs. The most important thing is no ser...
Hello Readers,
Below is used to update the single field in CakePHP.
In CakePHP, if we can update the one field into the database to do this w have two methods to update the field.
1> First using savefield() method:
Example:
$t...
Hello Readers!
Here in this blog I am gonna to explain you about the Ribbon banner using pure CSS. As Images are used in web pages to make them look more interactive and appealing but it takes little time of user while image is loading in the ba...
Hello readers, today in my blog I will discuss about a software i.e Adobe muse that is used to built website in which the user does not need to write any code.
So, here is a good news for all web designers that literally hate coding ...
In the Part-1 we learned about an abstract view of delegates and how we use them. In this article we will see the implementation of delegates which is obviously the basic one but will help you understand that how you will implement that for a UI ...
Hello readers, Today in my blog I will discuss some tips that would help the web designer to improve their website speed.
As many of us have visited various Online Shopping website and many of them take much time to load which losses...
In order to create youtube video thumbnail in android we have to first initialize its view i.e. YouTubeThumbnailView in our xml file. On initializing YoutubeThumbnailView we have to add developer key and its InitializationSuccess listener with tw...
Defect management process involves following steps::
Defect Prevention
Deliverable Base lining
Defect Naming
Defect Resolution Process improvement
Management Reporting
Defect Discovery:- Identify the defects as early as possi...
Hello!!!
Travelling Salesman Problem is for finding the shortest possible root that visit every node in the graph and return to the origin point. It is used to find the shortest path.
For example:-
In this graph, Their is many way to rea...
Hey Readers!
We must have all used the display property. One of the values for the property is inline-block. There is a certain problem with these. Inline Blocks have this weird space in-between them. The actual space is in the HTML.
I am p...
Ruby provides a number of enumerable methods that we can pass on collections or array for performing searching, sorting etc operations.
Here I will be discussing with all, any, none and find methods:
a) all?
In this every member of the...
As we know that in almost all web applications we use images then be it larger images or thumbnails
So for these functionalities we use Carrierwave gem. This gem helps us with uploading images and files.
With the help of carrier wave ...
Many times we need to select from date which should not be the greater than current date and to date must not be less than from particular date. In this blog illustrate how we can select the date range in datapicker.
We can achieve this with the...
This blog is about how to implement FCM(Firebase Cloud messaging) from Android Studio.
Android studio gives you tools to implement Firebase tools in very easy way.
1. Open Android Studio. (Make sure Android Studio is up to date)
2....
Traversing means to select HTML element on the basis of their relationship with other elements. Begining with one element we move through the DOM(Document object Model) untill we achieve the element needed.
As we shift from one element to anot...
Hello Everyone!!!
In order to solve binary tree problem of leaf node, we should know that what is leaf node? Leaf node is node of the binary tree whose have no left and right child means whose left and right child is null. It...
Hello readers, Well all love to play games whether a child or an adult. So here in my blog I have tried to create a game which we all have played in his/her life in their childhood days.
So, I have created it using CSS properties , h...
1) ==
It is a simple equality operator, that only checks if the value of the left operand is equal to the right operand or not, so returns true or false respectively
<pre>
> x = 5
> y = 5
> x == y
=> true
> y =...
Hello Readers !!
Today we are going to discuss a very interesting topic. Yes, i.e. Facebook Sharing to get more users for our apps or games.
If you don't know about how to create FaceBook app then please read my following Blog...
Hi Readers!
The other day I was experimenting a little with CSS and this is what I came up with.
<style>
imsocool {
color:blue;
}
</style>
<body>
<imsocool>HELLO</imsocool&g...
Hello reader
In this blog! I am going to tell you how to create Dynamic Content Load using jQuery. Generally, we see the content loader on many websites and on some registration form when we click on the next step button after completed the...
Now days you can see, most of applications are using socket programing. I want to implement socket programing in PHP. How i can build best web socket server in PHP which can handle more than 500 simultaneous connections. Please share your views.
Sometimes, you may need to call a method at runtime. If you know the name of the function you can invoke it as a string. You can call a function as a string. You are basically achieving eval of javascript indirectly.
Lets say, there ...
Hello Readers! In this blog we will be discussing about the different identifiers. What is the difference between them and when to use which identifier? First lets start with the const.
Const : is used to declare a variable...
Hi Readers!
List items are very commonly used in webpages. Lists can be ordered or unordered. The ordering of the items is very simple, by default. This can be customised with standard CSS. Let us first talk about the ordering of the list item...
In .Net we often listen to the word “Delegate” and whenever asked about the same in interviews or somewhere else, there is a short and sweet answer-“The delegate is a pointer to a method.”
The answer is simple, concise ...
A slider is possible using javascript but here in this blog we are using the pure css3 code for making transition to the images that is used in a slider. This is known as a magic of keyframe. CSS3 animation make it possible to animate transition ...
Broadcast Receivers are used to respond to the broadcast messages that are generated from application or from system.
The messages/ broadcasts that are caught or responded by our Broadcast receivers are sometimes called intents or events...
1. Inline css: In inline css we can insert a ‘style’ attribute inside an HTML element. This allows CSS properties on a "per tag" basis. Below is code for inline css in our webpage.
&nbs...
Hello Readers! In this blog we will talk about the process of working of postman tool. Potsman tool is used to interact with an API (Application Programming Interface). This tool is among top 6 tools available in market. Other tools are SOAP UI, ...
Does the World need another messenger application? Google says ‘Yes’ and believes that its Artificial Intelligence (AI) powered messaging app, ‘Google Allo’ is distinct enough to compete against WhatsApp, Facebook Messenge...
Hey there!
Carousels are one thing that attract a user's attention. On the same hand, they make the web page visually richer. Owl carousels are most widely and easy to use. Moreover, they are responsive. They do not need a customised CSS f...
1. HTML documents are made of elements that have three different components- element tags , start tag end tag; element attributes are given within tags. HTML element lies between and including tags.
XHTML documents has only one root element. A...
Hello everyone , In my previous blog I have discussed about a new technology introduced by Microsoft i.e METRO UI.
I hope you all have got an overview about METRO UI which I have discussed in my previous block.
But ,&nbs...
Hello Readers! In this blog we are going to create an api for inserting the data into database and then passing the data to the device in JSON format using php.
Step 1 : Firstly you are required to create a database. Here we have cre...
The canvas is an HTML5 element used for graphics.
It was presented by Apple for their Mac OS in 2004. In 2005 it was introduced for other browsers.
The canvas is just a container, graphics is added through javascript in it.
Canvas is havin...
Hello friends,
Today we learn about the keyup and keydown event in jQuery and understand how they works.
keydown():
In jQuery, keydown() event is used when we want to perform any functionality on press of any key. keydown() event occurs ...
A service is a component that runs in the background without user interaction and with no user interface.
Services performs long running tasks without being visible like, playing music, triggering notifications etc.
Services has two forms:-
...
The asset pipeline can be said as a tool through which we allow the Javascript files, stylesheets, and images to be prepared so that they can be used by the browser.
These processes are used to compress all the coffee script and...
Hey Readers!
A cursor is a very important thing to be seen on a computer screen. By the name of a cursor, we usually get an image of an arrow in our mind. It is a movable arrow on a computer screen that identifies the point of the user (user...
Hello readers, this is a smalll blog on animation-timing-function property. This property defines the speed of the animation. The animation-timing-function property, is used to define a function that defines how a transition will change during ea...