Some important features in Laravel Framework
1. Artisan: Artisan is a command-line interface tool which is provided by laravel. By using this tool, users can create database structure. It is also used for creating the MVC files right away which means Read more…
Popular Open source tools for stress testing of a web application
What is Stress Test?
Stress test is kind of real-time diagnostics performance test of a web application in order to determine the stability of your web application under heavy load(stress).
Drag and Drop in Jquery UI
Problem: Jquery UI provides APIs to make DOM elements draggable and droppable. We can do some things out of the box by using its APIs. I have written a Jquery code below in which a dragging div can Read more…
Before we download and install selenium webdriver and eclipse, we need java which is prerequisite that must be installed in our system.
Following activities need to be performed during configuration:
1. Steps for configuration of eclipse IDE:
1.1. Go to the Read more…
Salesforce custom object using apex code
There are two ways of creating a custom object and its related fields in Salesforce. The first and the easiest way is to go to the Objects link beneath Create tab, click on the new button and create a new Read more…
Cross Origin issue is resolved by adding header(“Access-Control-Allow-Origin: http://yoursite.com”); to allow the particular origin or we can also allow all the origin by replacing the path to *.
For Cake php header is defined in file public/index.php.
header(“Access-Control Read more…
We can access different features of Salesforce on a single page by building a custom Lightning App:
1. Multiple features of salesforce on one page
2. Custom homepage
3. Edit layout of objects like adding tabs, flows, hierarchy etc.
Steps to Create a custom page or app Read more…
Below are the steps to read a CSV file in Talend
After creating a Local Repository follow the below steps to successfully read a CSV in Talend Open Studio (we are using Talend version 6.5.1).
1. Click on the Integration perspective on the Read more…
Problem:- System.EmailException: NO_MASS_MAIL_PERMISSION, Single email is not enabled for organization or profile.
Description : By default, email access level is set to “System Email only” or “No Access”. It allows only system generated email to be sent such as ‘Reset user password”.
Solution:- Following are the steps how to change Read more…
What Is PHP_CodeSniffer?
PHP_CodeSniffer is an essential development tool that helps developers to work in a standardise format so as to make code clean and consistent. It ensures that same coding style is being followed. It allows a set of rules or a standard to be Read more…
WordPress Version 4.9.5
WordPress 4.9.5 is released on 3rd April 2018. This version is released to fix the security issues. There were three major security issues which are solved by the WordPress community in this version:
1. Don’t treat Read more…
If you have a csv file with raw data and you want to read it using apex, convert to sfdc objects and insert these, then get success and failure results back then following steps and code can help you:
1. Create an Apex Class which will read the csv Read more…
WordPress is a cms (content management system) which contains different type of content including images, video and text. I think we all need to know about some of the best practices while developing in WordPress.
Before development of a website some of the best practices to follow are these Read more…
The one who has both qualities of a developer and a tester is known as a professional Software Developer. Most common terms used for such job titles are: SET (Software Engineer in Test) and SDET, (Software Development Engineer in Test). The one who is an IT professional and can work Read more…
What is Xpath?
Xpath is defined as XML path. If we are unable to find an element with id, class or name locator on web page then we can use XML path expression for finding the element on a webpage.
Syntax to write xpath is:
Xpath Read more…
Problem: How to change the Time Zone in VF Pages of Salesforce to show the Date Time field according to User’s Time Zone?
By default the Date Time field is saved in GMT TimeZone. If you simply use the System.now() method in order Read more…
The maximum number of records that we can retrieve using a single Salesforce API call is 2000. Below are some points using which we can reduce our API calls to not to cross Salesforce API call limits:
* Instead of using Salesforce operations like update(), upsert() for each record you can Read more…
CSS3 provides us a way to animate our objects using @keyframes css rule. In the below example we will animate a spinner using @keyframes rule.
1. Create an html page and add below HTML5 section element to it:
<section class Read more…
In the older versions of XAMPP (below 5.5), there are a couple of security vulnerabilities. If you are running XAMPP in your production environment and don’t want to upgrade/install the higher version, then make sure you do few changes in your existing XAMPP security using following steps Read more…