
Search In
In laravel we can create relation between the tables and can use them where ever we need it we need not to create custom queries or use query builder to retrieve data. I have written one of example of my worked project.
//hasOne relationship model
When a user requests a page or a resource then the CAKEPHP request cycle starts. It can be explained with the below diagram:
Let's now discuss the request cycle diagram with steps:
1.The request is redirected to webroot/index.php based on the w
Hello All,
Following lines of code will customize the delete button in UITableView editing style. This is an override method of UITableViewCell which is called when UITableView goes in editing mode. So to customize the delete button in UITableView e
There are two approaches of Integration Testing:
Big Bang approach
Incremental approach: Incremental approach includes following methods:
a. Top down approach
b. Bottom Up approach
c. Sandwich approach
Big Bang Approach:
In Big Bang approach,
How to open and read PHP files have been discussed in blog:
http://findnerd.com/list/view/How-to-open-and-read-files-with-PHP/3157/
Now,we will discuss about copying a php file.
In php,we can Copy files from “source” to “destination”.
Function use
Sometimes the method definition is not displayed hovering over the method name.
On hovering the desired method, following message is displayed:
"Note: This element neither has attached source nor attached Javadoc and hence no Javadoc could be found.
Here I am writing code to create zip file in android application.
Here, First I create directory where I create zip file.
Then by using Compress class I create zip file having some valid images already saved on our device.
private File createZipFil
Database Normalization
Normalization is a technique of managing records in a database. It is an approach to eliminate data redundancy and anamolies . It also removes data duplicacy in a record. It helps in data update,delete and insert anamolies.Wi
Here is a way by which you can send the email via android-intent.
The below code opens a dialog showing email related apps e.g. Gmail, Yahoo Mail etc. if installed in your device. In case your device is not installed with mailing applications then i
Hello Reader's if you want to send the checkbox in post for this you have to pass the form name as an array and afterwards you can access all checked boxes using the var itself which would then be an array.
Lets consider the example below:-
<form
