Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

Code First approach in Entity framework

In the  code first approach we will create the class for defining the attributes for the DBContext   First we will create a class for defining attributes   public class Employee { public Employee () {

How to pass array argument to bash file from php

I was facing this issue of passing the array from php to the bash file. To pass array to bash file write the following lines of code. Php Code: $array= $countries_array; // Countries array from database shell_exec('sh get_countries.sh '.join(' ',$

AuthComponent and hashing password in cakePHP

Identifying and authentication of a user is very common and useful part of every web appilication, In CakePHP AuthComponent provides a way to secure user's password in encrypt manner and allow user to authenticate objects as well. It is a process

Hooks In Node.js

Hooks are used to add any functionality before or after our JavaScript methods like save, create etc. Using hooks we are able to write the code that can be run before or after save method. Suppose you have a User model, in that you have a password f

Select distinct records using Linq

We often need to select distinct records from a list or from database. In Linq, we can select distinct records from a list or collection using Distinct method. Suppose we have a list with the name Employees and we want to select only Distinct record

How to Delete Duplicates from Tables with Relationship

http://stackoverflow.com/questions/58952607/trying-to-delete-duplicates-from-tables-with-relationship   I would like to know how to delete duplicate cases in a database with tables that are joined through the use of primary key and a foreign k

Creating a mongDB snapshot with LVM

Snapshot can be represented by creating pointers (equivalent to hard links ) between special snapshot volume and live data. The snapshot process uses a copy-on-write strategy. As a result the snapshot only stores modified data. The primary purpose

Difference between Hashing and Encryption?

Hashing: A hashing is a protected version from string or text in the form of string or number. A string or number is generally have a fixed length. Hashing is a irreversible process, when we apply hashing on some string then it can't be decoded.

LINQ Basics

GETTING STARTED WITH LINQ:     As data plays a vital role in almost every application development therefore LINQ was provided as a whole new way to manipulate data, either to or from database, or with XML file or with simple list

Integrate Cometchat With CakePHP 3.x.x

1- System Requirements         1- PHP version 5 or greater         2- MySQL version 4/5 or MSSQL Server 2005/2008/2012 or PostgreSQL 9.2-9.5       &n

1 80 161
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: