Tag: Phpframeworks
How to Detect Mobile devices in php
Detect mobile device php code We often need to detect if site visitor is using an iPad, a smartphone or any other mobile device in order to change website appearance and even make it faster by reducing data load. Normally
Salesforce SOAP and Bulk API Integration in PHP
Implementing Salesforce SOAP and Bulk API Integration in PHP Salesforce SOAP API: Salesforce SOAP API is a coding method to use our Org’s information with the help of inbuilt functions and SOQL query. With the help of these function, we
Creating custom plugins in wordpress
How to Create a custom plugins in wordpress What is a WordPress plugin: A plugin in WordPress is a small software app that can be added to a WordPress site to extend its functionality and to add new features to
Class ‘App\Controller\Aws\S3\S3Client’ not found error in CakePHP 3.*
How to resolve “Class ‘App\Controller\Aws\S3\S3Client’ not found” error in CakePHP 3.* Problem: Class ‘App\Controller\Aws\S3\S3Client’ not found error occurs when we are trying to create S3Client class object with given code (code copied from github): $s3 = new Aws\S3\S3Client ( [
Class ‘App\Controller\Aws\S3\S3Client’ not found error in CakePHP 3.*
How to resolve “Class ‘App\Controller\Aws\S3\S3Client’ not found” error in CakePHP 3.* Problem: Class ‘App\Controller\Aws\S3\S3Client’ not found error occurs when we are trying to create S3Client class object with given code (code copied from github): $s3 = new Aws\S3\S3Client ( [
Class ‘App\Controller\Aws\S3\S3Client’ not found error in CakePHP 3.*
How to resolve “Class ‘App\Controller\Aws\S3\S3Client’ not found” error in CakePHP 3.* Problem: Class ‘App\Controller\Aws\S3\S3Client’ not found error occurs when we are trying to create S3Client class object with given code (code copied from github): $s3 = new Aws\S3\S3Client ( [
Using Laravel Eloquent ORM
Introduction to Laravel Eloquent ORM Introduction: Eloquent ORM is an Object Relational Mapper that interacts with the database. It is a package separate from laravel so can be used outside the laravel too. It implements active record pattern. Laravel Eloquent
Sort query result according to search conditions in CakePHP 2.
How to sort query result according to various search conditions in fetch query of CakePHP 2. Problem: Priority based sorting of records Example: Search a string (“Proposalways StudySection”) and display records in following order: Contain all words (“Proposalways StudySection”) in
Understanding Inflector in Cakephp
Understanding the purpose and usage of Inflector in Cakephp The Inflector class in cakephp is used to modify single/multi word strings into different formats using its build-in methods. We don’t need to use core php methods such as str_replace if