
Search In
My previous articles titled Connecting MySQL database with MySQLi Object Oriented style and How to connect MySQL database using the MySQLi procedural function demonstrate about different ways to connect to a MySQL database with PHP application. Those
For write error in a file we use error log. In cakephp we can create error by using keyword CakeLog. For example
try {
//code here
} catch(Exception $e) {
CakeLog::write('error1', $e->getMessage());
}
and yo
Remove findViewById calls by using @Bind on widgets and fields.
Remove the click listeners by annotating methods with @OnClick and others.
class MainActivity extends Activity {
@Bind(R.id.user) EditText username;
@Bind(R.id.pass
Content writing is one of the most important activities a brand can adopt. It’s an effective way of creating conversations around your brand, connecting with your target audience and, best of all, content creators add value to your on
Hello Readers,
This plugin use to show JavaScript logs in your native logs. It is very useful and add some additional functions to make it more useful.
First of all we need to install the plugin through CLI run:
$ cordova
There are several points which we have to keep in mind while developing Asp.Net MVC application.
Some of them are given below:
1. Remove unnecessary references- When we create a project there are many references which are added automaticall
SMART Goals
SMART Learning Goals is a framework that helps evaluate the impact of goals. As the image above shows, SMART is an abbreviation for Specific, Measurable, Attainable, Relevant, and Time Based. These are all attributes that a goal
In MVC everything is based on the concept of action contained in the controller and the view that is being generated for that action.
While performing deletion in the gridview you first need to make the model class that will access the detai
In the example given below, I have used ng -repeat for dynamically creating input boxes. I have also used ng-form directive that allows the nesting of forms that can also be used for partial validation .
<form name="mainForm" ng-submit="submi
To find out the country of the user please use the code below:
1- Add the coreLocation Framework to your project and import #import <corelocation corelocation.h="">
2- Set the CLLocationManagerDelegate as UIViewController
@interface Locatio
