Hello Guys
Portlet used to write business logic in liferay and liferay also provide page creation functionality. Portlet add on a particular page of the website of liferay. Liferay page create from website administration in the liferay.
Bel...
Welcome to Findnerd. We are going to explain the storage procedure and functions. It is also known as stored routines. Stored routines is available from Mysql5.7.
There is table named proc which is required to work with stored routines. It will ...
Welcome to findnerd
Today we are going to discuss hide() method and show() method in jQuery
firstly, let start hide() method
hide() method is used for hiding data with HTML elements
Syntex of hide()
$(selector).hide();
And now abou...
Bootstrap Alerts.
Bootstrap provides a medium to print contextual feedback messages for typical user actions with the handful of available and flexible alert messages.These alert messages pop-up under specified user action which can be manipul...
If you want to implement Ripple effect for buttons and other views, then this tutorial is helpfull for you. Ripple is like a wave, when user interact with the UI elements, material design provides a visual effect at the point of contact. Ripple a...
sort() method is used for sorting the items of an array.It sorts the values as strings in alphabetical and ascending order.
And sort() method sort alphabetic or numeric.
you can take reference of bellow example.
<!DOCTYPE html>
&l...
Bootstrap badges(active nav states)
Bootstrap provides built-in styles which can be included in bootstrap navs or more for placing badges in active states in pill navigations.
<ul class="nav nav-pills" role="tablist">
<li role="...
If some one find a way to create an array with the registered routes paths within Laravel 4. If someone wants to get a list something like this returned:
/
/login
/join
/password
Solution: For this we will use the method
Route::getR...
To fetcht the user detail from facebook like name,first_name,last_name,middle_name,gender etc use the code below :
func fetchUserDetails(useid: String,accessToken:String)
{
let graphRequest : FBSDKGraphRequest = FBSDKGraphRequest...
to login using facebook in iPhone sdk please use the code below.
install the pods for facebook using
pod "FBSDKCoreKit";
pod "FBSDKLoginKit";
pod "FBSDKShareKit";
pod "FBSDKMessengerShareKit"
import FBSDKLoginKit
...
Bootstrap badges.
Badges can be easily created by adding a predefined class badge to links of nav bar in Bootstrap.You can customize it further according to your requirement.
<a href="#">Inbox <span class="badge">42</span>...
Hello Guys
I am writing blog to develop auto login logic in liferay. Liferay provide auto login functionality, So we can login by screenName, userId and email address parameter's.
We need to create hook to implement AutoLogin interface,...
Welcome to Findnerd. We have discussed the anonymous function. Today we are going to discuss the anonymous class. Here is the same concept. It does not have no name.
It can extends the class and implement the interface to use these menthods and ...
Hi Geeks,
I am webmaster of some web projects and regularly monitor website stats and performance through Google Webmaster and Analytic account. As we know in Google analytic we can track the visitors stats through URL only, however I want...
This article demonstrate how we can export records from MySQL Table to a CSV file. fputcsv() is a buit in function of PHP which takes an array and a file pointer as parameters which convert the array data into CSV format and writes it to the fil...
Hello friend's
If you are looking to created WebView function in android below example will help you. WebView is used for display web pages inside your application and it turns application to a web application.
Here I have added <webview&g...
Welcome to Findnerd. We are going to discuss the array function named array_flip which is useful to exchange the keys and its associated values.Please have a look.
<?php
$patients_nfo = array('Deepak'=>23,'Dipti'=>24,'sonak'=&g...
Here we will see example of how we can pass data using closure function.As we've seen how to create a closure, let's see how we can use them.
When we pass a callback function to the PHP usort() function, and usort() calls our callback, the cal...
Hello Guys
Ajax known as Asynchronous JavaScript and XML. Ajax based web applications used to send data and retrieve from a server in the background without refreshing complete web page. When we send http request to server from client side us...
Welcome to Findnerd. Today we are going to discuss the array function that is array_map which takes two main arguments one for callback function and other arguments
are in form of arrays. It will return the array according to callback function. ...
VPN is a network technology that is used to create secure network connection over a public network Corporations like government organizations , educational institutions use VPN technology so as to help remote users to securely communicate with a ...
Welcome to Findnerd. Today we are going to discuss the inline functions in php. PHP implements inline functions concept is different from other programming language.
In php you can define the function inside other function. Please have a look.
...
Welcome to Findnerd. PHP introducing new concepts version by version but many of us still are using old style of coding. We need to study these new concept and implement
these concepts in our code. Today we are going to discuss the anonymous fun...
Hello folks,
How css triangle works ? actually when we create css triangle, its means we are just showing and hiding borders of any element.
The angle intersects at (45) so the intersection edge is used by border here and we can also skew a...
Hello Guys
Liferay is an EMS to develop java based web application and it's have portlets to write business logics.
Liferay provide inbuilt login and other portlets, so now we need to use functionality of them in our custom portlets.
Fo...
Hi all,
Below is an example, How to disable the text selection and copy text.
Controls the actual Selection operation. This doesn't have any effect on content loaded as chrome, except in textboxes.
CSS :-
.noselect {
-webkit-tou...
What Is Glass Box Testing ?
Glass box testing is a testing approach that explores the program framework and acquires test data from the program codes or program logic. Glass box testing is also known as Open box testing, Clear box testing, Str...
Bootstrap Buttons
Bootstrap provides button classes to quickly create a styled button.So you can design any type of buttons with little effort and customization.
<!-- Standard button -->
<button type="button" class="btn btn-defaul...
What is Age Testing ?
Age testing is a testing approach that calculates a systems proficiency to execute in the prospective and generally caused to look by testing teams. As the system became older, how essentially the execution might fall is ...
Welcome to FindNerd.
We sometime get the error- can not send session cookie - headers already sent while we use the session. When we start the start the session
with the help of session_start, it means we are ready to use the session. To avo...
If you are looking to make Custom Font in android check the below code example. For this first download the required fonts on your system and then place it in fonts folder. After putting fonts in the assets/fonts folder then I have used java code...
String.replace method in javascript does not replace every occurrence of the string, it only replaces the first occurrence. To replace all occurrences of the string you must provide the replace() method a regular expression (or pass search string...
Welcome to Findnerd.
There are two new functions named random_int and random_bytes which are introduced in PHP7. You can generate the cryptographically secure integers and strings
with these functions. random_int takes two parameters, one is...
Here we will learn that how we can remove duplicate Array from multidimensional Array according to the key in the Array.
Lets look at the example below :-
Here I have initialized one multidimensional Array, now I would like to remove thos...
Welcome to Findnerd. We all knows and have used the define function in PHP but it is improved little bit. Now we can assign the array to the constant using define
function. Please have a look.
define('TAX_RANGE',[9.25,10.25]);
In above ...
Welcome to Findnerd. Today we are going to disccus two new features introduces in PHP7 that are closure::call. You can bind the outer function in class. It is also known as temporarily binding an object scope to a closure and invoking it. Please ...
hii,
Today i am sharing a blog on How to add and remove a class on click event in javascript.
First of all you need to either download few plugins or just copy and paste the below link inside head tag.
<script src="https://ajax.google...
Welcome to Findnerd. We have discussed the traits in previous blogs. You can check the other blogs for basic understanding. We can use the methods including in traits
and can perform the other operations as well. You can change the methods visib...
Different phases of QA Process are following:-
1.) Test Plan
2.) Test Cases
3.) Review
4.) Execute
5.) Improve
6.) Defects Logging
Test Plan : - In Test Plan scope of the project is defined, also in test plan there...
JavaScript String concat() method : To join one or more strings we use the concat method in JavaScript String.
Syntax of concat method :
string.concat(string1, string2, ..., stringX)
In the above syntax you can pass any number of p...
User Defined Session ID: As we know that the session is used to check the user's state. Almost every web application handles the user session. Their are number of ways to maintain the session like using url rewriting, hidden fields, cookies, web ...
Hello Guys
I writing blog to add JTable in Jpanel. JTable is an component of the swing package in java technology and also it's a class, so we need to create instance and using add() method add the JTable in JPanel.
Here, add() method used fo...
Hello Reader's! If you have the time stamp in unix time and you need to convert them into Date time format
Then you can use the diffrent ways of doing this in PHP
Let's say the example below:-
$timestamp=1455070324;
echo gmdate("Y-m-d\TH...
To perform long running operations on background without any disturbance with the application we use Services in android. Services are workable even if the application is destroyed. Service base class have various callback methods onCreate(), onB...
Hello Readers,
In this blog we define the difference between .empty(), .remove() and .detach() methods in jQuery:
.empty(), .remove() and .detach() all are jquery methods and all are used for removing elements from DOM but they all are diff...
A web worker is basically a javascript code that runs in the background. It does not effect the performance of the Page. Usually When we run some script in our html page the page do not response until the script finishes.
By using Web Workers ...
Well, in Java technology an int is a primitive type while an Integer is an Object or wrapper class. Meaning, if you made a new Integer:
Integer integerObj = new Integer(6);
You could call some method on integerObj:
String str = integer...
Below I have written the code for getting the Image using Bitmap in your Android App. Here we have passed two parameters in the method the first one is the Image View and second one is the url of the image that is to be shown on the image view.
...
Hi Guys,
In today's era, internet marketing is not just on-page optimization or huge link building. In today's world, content is king. One has to have a good quality content on their websites, that attracts not only users, but s...
Hello guys
Here, I am simplifying the java main method, In which beginners have many confusions about public, static, void and String array.
First of all see below simple java example :
package bhagwan;
public class Findnerd
{
...