While a business strategy is essential, there's nothing more vital than a game plan to manage your success in launching your business. The following are some of the key components to adding to a fruitful game plan.
You should choose wh...
To fetch a data from database by using simple PHP code, firstly create a connection to the database by using simple query and create a login form using HTML code for entering values through user. on clickinng submit button, This form will b...
Installing Redis
curl -O http://redis.googlecode.com/files/redis-2.2.2.tar.gz
tar xzf redis-2.2.2.tar.gz
cd redis-2.2.2
make
cp src/redis-server src/redis-cli /usr/bin
Redis Server
If you want to use redis-server locally, j...
You might bound out of bed every morning overjoyed at the possibility of working another day in your business. But there might also be times when your entrepreneurial enthusiasm/zeal starts to wind down/wane and you simply drift along, going thro...
In PHP we have three different functions which can be used to test the value of a variable. They are isset(), empty() and is_null(). All these functions return a boolean value. But in case if these functions are not used in correct way they can c...
In the below example I have described "how to add or merge two array list?". Here I have created two array String a[],String b[], then I have initialize values in array . After this I have created arrayList and merge value S...
We know that Alert dialog boxes are used to show some popup to user so that user can perform some action. But with Activity dialog you can manage the visibility of dialog based on activity life cycles.
To create an activity as a dilaog we have...
I found that sometimes button showing text in upper case.
I have found the solution that we just need to define property textAllCaps in the xml file.
For example
<Button
android:layout_width="match_parent"
...
Hello,
It is very simple to delete an item or row from any parse table from the code.
First, we need to create the object of the table that points that particular row and then delete it.
I create an object using object id and t...
Database in php can be Created by using the four argumnets:-
Servername,Username,Password and dbname.
This will give the information about the server like a using 'localhost' username as 'root' and password should be of users ...
In computer graphics several different mathematical systems exists which are used to describe colors. The colors system used in computer graphics are typically known as primary 3 color system. Primary colors are those which cannot be created by m...
Wrapper Class:
In Java there are 8 primitive data types and to convert them into object we use wrapper classes. We use boxing and autoboxing to convert primitive into object and object into primitive.
Primitive type and their correspnding w...
Here is a simple program code to enter the form data to the database using php.
HTML Code:
<!DOCTYPE html>
<html>
<head>
<title>Form To Db</title>
<style type="text/css">
.container{width: 80%;...
Model View Controller is abbreviated as MVC. MVC is the popular web design architecture because it separates the business logic from its view or presentation.
It has three components:-
Model- an object carrying data.
View- visualization ...
This tutorial help you to create a real time chat applications using SignalR library.
SignalR Lib is an open-source lib introduced by .Net Framwork. Its very easy to use for building applications that require live user interaction or real time...
// A C++ program for splitting a string using strtok()
#include <stdio.h>
#include <string.h>
int main()
{
char str[] = "First-Demo-Example";
char *token = strtok(str, "-"); // Returns first token
whi...
Java String split
The java string split() method splits a string according a given regular expression and returns a char array.
There are two signature for split() method in java string.
public String split(String r...
Hello All,
Could anyone help with this,The Serializable interface doesn't contain any members and also called as Marker Interface But to persist any object that must be implemented serializable interface ,I want detail explanation ab...
We utilize the terms entrepreneur and small business owner reciprocally. It is safe to say that they are the same or are there any distinctions? I chose to do some examination to get answers to these questions. My findings say a entrepreneur and ...
You are likely asking yourself what could be great about failing. Failing means … well … that you fizzled, that you didn't accomplish the outcomes/results you needed and that things didn't turn out as you trusted/hoped.
&...
To pass data from one fragment to another in android we simply make use of Bundle .
In this example I am sending three String from MainActivityFragment(Fragment) to SecondFragment(Fragment) with the help of Bundle.
Below i...
What Is Root Cause Analysis (RCA) In Software Testing ?
Root Cause Analysis:- Root Cause Analysis (RCA) is a technique of determining the furnishing components for the fundamental differences in the accomplishment connected wit...
'No man is an island' the saying goes. The suggestion is that people can't exist alone. I would make the island adage a step advance and contend that nobody can be fruitful/successful alone. Only existing everyday is insufficient. Ach...
Single page applications are the applications that separates the model and the view layer i.e, model layer handles the data and view layer reads from the models.
SPA’s are becoming popular because it retrieves all the code(JS,HTML,CSS) on ...
Iterator in Java
java.util package has public interface Iterator. Iterator can be defined as interface which belongs to collection framework. Iterator as name suggest allows accessing,removing and traversing data eleme...
We know “Comments do not Execute” . Below is the code which shows “The comments that execute” in java.
public class Testing
{
public static void main(String[] args)
{
// the line below this...
You've noted it said that you never get another opportunity to make an first impression. Whether you know it or not, this is additionally genuine with regards to business. In the event that you don't depict your business and the work forc...
In the below example I have created Floating Action Button Animations. Here I have added four FloatingActionButton, then in second step I have created button_open, button_close ,rotate_forward, rotate_backward xml layouts ...
Hello Readers...
By this blog i am trying to explain the difference between static testing and dynamic testing. I hope this way of presenting is very easy to understand for all the test engineers.
S.No.
Static Test...
Below we first creating a html form, which contain a field for uploading a file and a submit button for submiting form.
<html>
<body>
<form action="file_upload.php" method="post" enctype="multipart/form-data">
Sele...
Variable Arguments :
We can pass variable number of arguments to a function in Java. Variable arguments means passing different number of arguments to same function on different call. Variable number of arguments are represented by elipsis(......
STL stands for Standard Template Library. This is a container used to store collection of similar objects. While declaring the container variable, we need to determine the type of element that container will hold. Adding and removing is done by t...
.empty() : All the child element of the matched element are removed by this method i.e the element will not be removed only the content of all DOM elements in the matched set are removed.
.remove() : This method removes the matched e...
The implementations of Page-Redirection are as follows:
Example 1:
In Java script we can simply do page redirect at client side. if any visitors visit the website then you can redirect your website visitors to new page , For that you just n...
Since we know that the "Splash Screen" just appears for the few seconds as the app get start so we need to add the time for how much second the splash screen would be shown, so to add Splash screen in Android app follow the step...
If you want to create automated action in odoo, you have to go in .xml file and decide the action menu.
1- The first step is to create a model and to create some fields on this model->
class test_demo(models.Model):
_name ...
Jquery traversing means moving through one HTML element to another based on their relations to other elements. In a family tree, starting from the selected (current) element, we can easily move up (ancestors), move down (descendants), and sideway...
The detach() method removes the selected elements, including all text and child nodes. However, the advantage of using this method is that it keeps data and events i.e keeps a copy of the removed elements, which allows them to be reinserted ...
As the name itself defines Ring Topology is the topology which forms a ring in network. In Ring Topology one computer is connected to second computer and second computer is connected to third computer and following the same wa...
Page navigation means moving from one page to another in you website. In ASP.NET, there are different methods for navigation. These navigations are :
Client-side navigation
Cross-page posting
Client-side browser redirect
S...
Here we will learn how to open camera in android, to open Camera in the android app we have to add
<uses-permission android:name="android.permission.CAMERA"/>
permission in our manifest file.
In this example I&...
Color harmony in design
"Color does not add a pleasant quality to design - it reinforces it." - Pierre Bonnard
What is evident when it comes to color is that it is a crucial component of design and creates an emotional respons...
PHP Variable Scope
In PHP there are three variable scope. They are : Local , Global and Static.
LOCAL VARIABLE : Local variable is the one which is declared within the function, has the local scope and can be accessed ...
1. QUEL
It is the query language in the system INGRES. It is based on relational calculus. The fundamental aspect of the query languages based on the relational calculus is tuple variable ( which is a variable that "ranges over&...
I need help please. I create html file with 2 tabs. The first tab contains form that takes user input and submit it to php file. I want the result of the php file to be displayed in the second tab.
HTML file:
<ul class="nav">...
Hello All,
In this blog we will discuss about how to use Loopbacks explorer.
LoopBack basically provides the developer portal / API Explorer which consits of the methods defined for performing CRUD application with the database. You can use...
Hello All,
In this blog we will discuss about the remote methods of loopback js.
Remote methods are the static methods of a model, It is basically used to perform operations not defined in Loo...
Many entrepreneurs boast about their workforce, how great a job they do and how they function next to each other with the business owner/entrepreneur, indicating that the owner must be an extraordinary leader that each time they walk into the sho...
I am trying to print this sample report in pdf
so far this is what I have
1st Problem: the report should have another 2 cell (Ave and %) below the criteria which are (Exam, Progress Report, Quiz, Project)
2nd Problem: The records u...