
Search In
Hello Readers,
These are some techniques to speed up the cakephp website:-
1. Upgrade versions regularly
When you work on cakephp website.You need to upgrade your Cake website to the latest version in order to keep it performing at its best.
2.
What does array_rand() function in php.?
The array_rand() function returns a random key from an array, or it returns an array of random keys if you specify that the function should return more than one key.
Syntax of array_rand() function:array_ran
Sometimes when you have large databases files and you are unable to import the database manually. Then the easiest (and fastest) way is to use command line.
Import:--
1. Run the cmd (DOS) and get into the mysql folder, which in my case works like
In Laravel, many times we may need to create a link to download sample CSV file. So that user can download sample CSV file from our website and upload correct formatted file.
It's a very simple task and to accomplish that we need to follow followin
Clone copies the exact copy of the original (same address.id) and the dup copy is a new record (address.id = nil). Any changes you will made in the clone copy will be changed the original object, but any changes to the dup copy attributes will remain
Magento provides a way to add product attribute from admin but sometime we need to add category attribute in our category settings. So here I am going to tell you the way we need to create category attribute programmatically.E.g. I am creating one ag
If you are creating subdomains using htaccess for this, you have to set the virtual host
Follow the below steps.
Step 1: Create a wildcard DNS entry first.
*.domain.com. 3600 A 127.0.0.1
Step 2: Now Setup the Virtual Host, in your vhost fil
The Google Location Services API, part of Google Play services, is the preferred way to add location-awareness to an android app.
Follow the below steps to get current position of an android device.
1. To use the location manager make the Google pl
Does C support function overloading?
Function overloading is a feature available in most Object Oriented Languages such as C++ and Java. But C (not Object Oriented Language) doesn’t support function overloading. Function overloading can be defined
How to manage stored routines?
In the second part of the series we will see basic commands used to manage the Stored Routines
As these are also Database objects so the basic DDL commands hold true here also
Create
Alter
Drop
CREATE
The syntax
