
Search In
When we face any issue in database records value at that situation we use read records value and record data is accessible with the read() method, which takes a list of ids (as returned bysearch()) and optionally a list of fields to fetch.
Earlier when programmer used to build a web application, they required the skills to code in both business logic language and database language. However now, back-end frameworks are using Object-Relational Mapping (ORM). It helps programmer store t
How to save CakePHP session in Database ?
To store session in Database, you need to create a table in DB so that you can store the session in it.
Follow below steps.
1. Create a table in DB
CREATE TABLE IF NOT EXISTS `users` (
`id` VARCHAR(255) NOT
CakePHP will save model data as a snap to your database, User's Data will be ready to be saved in database it should be passed to the model’s save() method using this, in the giving format below. This is Controller action that uses a Cakeph
MVC stands for Model View Controller, MVC approach seprate's the application at macro level into 3 sets of responsibilities.
The main benefit for us is the MVC separation of concerns. Each part of the MVC takes care of its own work: the view tak
To maintain the data integrity sometimes we need the changes to database to occur when all of the actions have successfully finished. One of the examples is funds transfer from one account to another. One account should be debited and another a
SQL(Structured Query Language) is a computer language used for storing, retrieving and management of data in Relational Database Management System(RDBMS).
The commands of SQL can be categorize into following categories :
1. DDL : DDL stands for Data
Below are few ways by which we can copy a website from local to remote server.
Upload all files using FTP such as filezilla or winscp just select all files from directory and upload it to remote host HTML directory for domain. Also another way is y
The first thing we need to understand is the need of caching. This can be understood by a very simple and most common usage of search functionality. For example we need to search all products that come under furniture by typing in one of the furnitur
First, remove the current version of MySQL you're already using:
$ sudo apt-get purge mysql-client-core-5.5
Now, to install MySQL, run the following command from a terminal prompt:
$ sudo apt-get install mysql-server
$ sudo apt-get install