Adding multiple filters to the query dynamically in Laravel

Author - Komal Dhiman
|
0 Comments
|

Laravel: Adding multiple filters to the query dynamically

There may be some situations when the user has the facility to apply some filters on a set of objects. For Example – when we visit the e-commerce sites, there are certain filters like price range, brand, sort Read more…

Fetching resolution of screens using Selenium code

Author - Varun Chopra
|
0 Comments
|

How to fetch resolution of screens using Selenium code

For Gui testing aspects java.awt.Dimension and java.awt. Toolkit packages are used to get the screen resolutions whereas the Dimension object stores the result. Inbuilt methods of Dimension class are used to get different aspects Read more…

Class ‘App\Controller\Aws\S3\S3Client’ not found error in CakePHP 3.*

Author - Kailash Kumar

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 Read more…

Find broken links using Selenium Webdriver

Author - Manpreet Singh
|
0 Comments
|

Find broken links using Selenium Webdriver

A broken link or dead link occurs when a user tries to reach a website page that couldn’t be found on the server. A standard “404 Not Found error” message displayed on the screen.

There are a number Read more…

How to create Bootstrap dropdowns in Bootstrap v4

Author - Varun Chopra

Creating Bootstrap dropdowns in Bootstrap v4

Dropdowns are used to display lists of links, names etc. Bootstrap dropdowns can be toggled by clicking on it.

1.Create a file with .html extension.
2.Include bootstrap css and js version 4 CDN link in Read more…

Using Laravel Eloquent ORM

Author - Umang Pasricha

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 ORM uses Object-Oriented Read more…

Sort query result according to search conditions in CakePHP 2.

Author - Kailash Kumar
|
0 Comments
|

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 Read more…

Using Breadcrumbs in Laravel

Author - Mahesh Kumar
|
0 Comments
|

How to add Breadcrumbs to your Website in Laravel

Breadcrumbs are links used to track and navigate in the website. Generally every page is considered as a link and is arranged in hierarchical order at the top of the website.

We can use breadcrumbs to track Read more…

Handle data from .msg file parsed by IndependentSoft’s msg.net package

Author - Varun Chopra

Handle data from .msg file parsed by IndependentSoft’s msg.net package

IndepentSoft’s MSG.NET package is used for parsing of outlook .msg files for reading the contents of file and which can be used to display contents on screen or in our custom viewer Read more…

iCal format for different frequency of events

Author - Webner
|
0 Comments
|

Format for various type of event occurrence in iCal

Description: Calendar events can be of multiple types like which can occur on daily basis, weekly, monthly or on custom days of the same month. So, followings are the ways how we can use these types of Read more…

Salesforce – How to do it right

Author - Varun Chopra

Salesforce – How to do it right

Moving on from managing your customer relationships in a worksheet and deciding to do that in a CRM system like Salesforce is a big step forward. If you have already taken that step and you are a Salesforce customer, congratulations Read more…

Document Your API with “Doxygen Tool”

Author - Varun Chopra
|
0 Comments
|

Problem: Document Your API with “Doxygen Tool” | SOAP web services using spring jax-ws package (ubuntu 14.04)

Solution: Documenting any API is prerequisite if we are exposing our api web services to the third party to make them easily understandable to the outside world. Documenting Read more…

Understanding PHP CS-FIXER with example

Author - Gopi Chand

Steps to Understand PHP CS-FIXER with example

Introduction

The PHP coding standards fixer tool is used to solve many issues (syntax, indentation etc) in your code when you want to follow the PHP coding standards defined in PSP-1 and PSR-2 Documents Read more…

Moodle Windows installation using XAMPP | Common Issues

Author - Varun Chopra

Common Issues faced during Moodle Windows installation using XAMPP

1. Do not have permissions to create a database or MySQL database is too old.

Xampp uses the Mariadb database (based upon MySql), if during installation above issue occurs then:

a. go to the c:\xampp\htdocs Read more…

How to Change Innodb storage Format for Moodle/Totara

Author - Varun Chopra

Steps to Change Innodb storage Format for Moodle/Totara

Description: You may face this problem in Totara:

Advanced Totara features require innodb Barracuda storage format

Reason: The error usually occurs because of Mysql 5.6 and below using file format “Antelope”. This format cannot handle more Read more…

What is the purpose of multiple .htaccess files in CakePHP?

Author - Varun Chopra

Purpose of multiple .htaccess files in CakePHP

In Cakephp, contained .htaccess files are as follows:

newcakeproject/.htaccess
/app/.htaccess
/app/webroot/.htaccess

1. newcakeproject/.htaccess

CakePHP root directory .htaccess redirects everything to your CakePHP app (means to webroot). We can also redirect the url to some Read more…

Install own SSL on Amazon Machine Image (AMI)

Author - Manoj Thakur
|
0 Comments
|

Own Certificate Authority (CA) SSL installation on Amazon Machine Image (AMI)

1. We need to install HTTPD2.4 package in order to understand the encrypted layer of SSL. Install PHP 5.6 (Apache 2.4 will be automatically installed with this)

# sudo yum install php56

Install Read more…

How to read Mobile Hardware and Operating system Details in React Native

Author - Varun Chopra

Steps to read Mobile Hardware and Operating system Details in React Native

To get the android and ios device information like UDID, version, build, operating system etc – We can get this information by using react-native-device-info plugin provided by react native.
Installation:

npm install Read more…

How to access camera in React Native

Author - Varun Chopra
|
0 Comments
|

Steps to access the camera in React Native

There are lots of method to use camera in react-native. Here I have used react native Image Picker. A React Native Image Picker library allows you select a photo/video from the device library or directly from Read more…

Login With Facebook in PHP

Author - Varun Chopra
|
0 Comments
|

How to implement Login With Facebook in PHP

In today’s environment it is very common to use facebook and gmail login features to make login process more authentic and fast. Here I am going to describe how to implement login via facebook in your web Read more…

‹ Prev page1 2 3 4 5 6 7 8 9 ... 54 Next page ›