A Brief Introduction to SOAP

Author - Parminder Kaur
|
0 Comments
|

SOAP stands for Simple Object Access Protocol. This protocol allows to communicate over the web between the programs (or Web service-enabled applications) running on two different systems using Http and language used by this protocol to communicate is XML (Extensible Markup Language).

The SOAP message is sent in an Read more…

How to configure DevExtreme with visual studio MVC application

Author - Neelam

These are the steps :

1. Install Microsoft visual studio on your machine.
2. Then we need Xpress Developer Studio. Which is available on https://js.devexpress.com/.
3. Install Xpress Developer Studio in your machine.
4. Then we need to install DevExtreme tool in the Microsoft visual studio.
5. Create Read more…

Importing gmail contacts in your website using javascript

Author - Richa
|
0 Comments
|

Importing gmail contacts in external website is common these day where you can login to gmail from within external website and then access your contacts directly inside external website. For example, the requirement could be to allow user to refer their friends to use your website and for that they Read more…

Moodle | Calling custom function on an event

Author - Kritika Sood
|
0 Comments
|

Event driven architecture is inbuilt into Moodle. There are various kinds of events present in moodle like:

1. Course completion
2. Course creation
3. Course deletion
4. Course Module creation
5. Category Creation
etc.

On trigger of an event we can call our custom function of custom block Read more…

Can static variables be local?

Author - Komal
|
0 Comments
|

Static variables are the variables that belongs to class. Static variables are shared among all the objects i.e there is only single copy of that variable.These do not get memory in each object. They automatically get initialised to 0.

For Example :
class Example {
static int count Read more…

WordPress | Add html form on a slide using Slider revolution Plugin

Author - Webner
|
0 Comments
|

How can we add html form in a slide in slider revolution plugin in WordPress?

Solution: Slider Revolution plugin gives us options to add image, shapes, layers to enter text for example.

For placing a form on a slide follow these Steps:

1. Click on Slider Read more…

Salesforce | Best Practices

Author - Webner
|
0 Comments
|

Best Practices for Salesforce

For Apex Classes:

1. Use Asynchronous Apex methods like @future methods, batch processing, scheduler that does not need to be executed synchronously.
2. Asynchronous Apex should be “bulkified”. It means able to handle collections of records.
3. Apex code must have appropriate exception handling Read more…

CakePhp 3.x | Declaration of user defined constants

Author - Parminder Kaur
|
0 Comments
|

In cakephp 3 we declare constants in bootstrap.php file under /app/config folder.

A constant can be declared as:

Configure::write(‘CONSTANT_NAME’, Value, true);

Example: Configure::write(‘USERNAME’, ‘Webners’, true);

To use this constant in another file, use this:

use Cake\Core\Configure;

Now the constant can be accessed Read more…

PHP and AWS | Copy AWS S3 file to local folder

Author - Ashish
|
0 Comments
|

How to copy a file from Amazon s3 to some local folder using PHP code

$t=file_put_contents(‘[Destination file address]’, file_get_contents(“[S3 url]”));

Here $t will get the size of file in bytes if successful otherwise 0. Before executing this make sure that the S3 file has access permission and Read more…

Java | Instance and Static variables with final keyword

Author - Webner
|
0 Comments
|

When to use instance variables, static variables and when to use final with them?

Instance variables belong to the object and each object has its own value for each instance variable.

For example:

The company has many employees and each employee has different properties like name, emp_id, address Read more…

Cron jobs in Totara

Author - Webner
|
0 Comments
|

When I made any new changes to the audience or add a new user(s) to existing audience in totara, it didn’t reflect in the member area of that audience. Sometimes it doesn’t even show changes made for many days because of scheduled Cron not running properly and Read more…

CakePHP | Calling Web API in CakePhp 3.x

Author - Parminder Kaur
|
0 Comments
|

Web API requests in CakePhp 3.x and difference from curl in php.

Cakephp provides an easy method to communicate with webservices as compared to core PHP. In core php we make api requests using curl. Below is the sample code :

function testAPI() {
header(“Content-type: application/json”);
$url = “https Read more…

Java | Few tips about Maven

Author - Rita

1.  How to compile maven project using different poms?

Solution: When we start compiling project with mvn -clean install command, maven tool first attempts to search the pom.xml file in the current directory. If no pom is found in the current directory then it will show following Read more…

Sendgrid | Display sender name with email in “from” field

Author - Manju Kashyap
|
0 Comments
|

If we want that when we send email to our users using sendgrid api then the name of the sender (if we provide) should appear along with sender-email then follow the process given below :

To accomplish this, we just need to pass an extra parameter “fromname” to the curl Read more…

Selenium IDE | Switch automation process to new browser window after link click

Author - Webner
|
0 Comments
|

Selenium IDE: (How to copy a link from a webpage and opening it in a new window and switch the automation process to new window).

Problem: In Selenium IDE we were required to copy a visible link on a webpage, open it in a new window Read more…

Salesforce | Steps to create Web To Lead form

Author - Webner
|
0 Comments
|

Steps to create Web To Lead form in Salesforce

Steps To Follow:
1. Login to your Salesforce account.
2. Click on Setup.
3. Under Build, section click on customize.
4. Click on Leads.
5. Under leads click on the web to Lead.
Show in Below ScreenShot:

6. Web Read more…

OpenSSL Project | The Heartbleed Bug

Author - Navneet Kashyap
|
0 Comments
|

The OpenSSL Project is an Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS) protocols as well as a general purpose cryptography library and contains the following vulnerability:

Allows stealing the information protected, under normal conditions, by the SSL/TLS encryption used to Read more…

AWS Amazon EC2 – Install php5.6 in Amazon linux

Author - Webner

In Amazon Linux, it is not yet packaged with php5.6. When we install PHP by a standrad command:
$yum install php*
1. It will install PHP version 5.3

Below are the steps to update PHP version from 5.3 to 5.6 in Amazon Linux:

Remove Read more…

PHP script scheduling without cron jobs

Author - Ishpreet Kaur

Sometimes a website built in php needs to schedule a script on daily or hourly basis – for example, Reminder Emails, Newsletter emails or Database backups to be taken automatically. Normally, these types of backend tasks can be handled with the help of cron jobs but sometimes on shared hosting cron Read more…

Problems in mounting Windows NTFS drives in Ubuntu

Author - Webner
|
0 Comments
|

While using dual boot system (Windows + Ubuntu) there can be problems with mounting the drives of Windows inside Ubuntu. This problem generally occurs with Windows 8 and above versions.

Solution:
When we shutdown our system it does not fully shutdown in case of windows 8 and above Os, It actually Read more…

‹ Prev page1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 Next page ›
Send your message