Application Structure comparison between Laravel and Cakephp 3.x

Author - Rita
|
0 Comments
|

Cakephp and Laravel are MVC frameworks for php. Both frameworks have totally different application structure. In the following document I have described all the important folders and their respective locations in Cakephp and Laravel (project_name is the root folder of your project)

Some other Important Points Read more…

Moodle/Totara | Different ways to enable/disable maintenance mode

Author - Webner
|
0 Comments
|

There are multiple ways to enable/disable maintenance mode in Moodle.

From UI

Enable Maintenance Mode:

* Go to the Site Administration.
* Click on Server.
* Click on Maintenance Mode option:

* On the next screen: Maintenance mode ->Select “Enable” from drop-down. And write the message which Read more…

Diagnosing the exception: System.Data.entity.Internal.appConfig threw an Exception

Author - Harleen Kaur
|
0 Comments
|

‘System.Data.entity.Internal.appConfig’ exception generally arises from your configuration file like web.config file due to some conflicting statements. I faced this error during login process:

During debugging I found that this error was thrown to me at the step of entity framework connection context initialization. I tried Read more…

Database indexes | How to decide on which columns to create database indexes?

Author - Namisha
|
0 Comments
|

Columns that are used for filtering or joining should have indexes on them. An index is a specific data structure that organizes data in such a way that it is much faster for database management system to look up the records at query time. Indexes are great for accessing your Read more…

WordPress | How To change login (wp-admin) page css in WordPress

Author - Komal
|
0 Comments
|

In wordpress, we can also change the appearance of wp-login page. There are so many plugins available for this purpose like Alter – White Label WordPress plugin. We can change the appearance of wp-login page through this plugin like I have changed the background image and color in this Read more…

How to create AWS OpsWorks Stack

Author - Webner

Purpose is to automate most of recurring processes like creating user, installing application (apache, apache-tomcat, mysql-server …etc), and modifying security file to hardening Linux machines in AWS environment.

1. Click AWS OpsWorks option from AWS console panel:

2. Now click on Add Stack to create a new Stack Read more…

CakePHP | Send Email using SMTP in cakephp 3

Author - Gopi
|
0 Comments
|

1. Open config/app.php file inside your project and then modify the default email configuration and setup your SMTP account there:
‘EmailTransport’ => [
‘default’ => [
‘className’ => ‘SMTP’,
// The following keys are used in SMTP transports
‘host’ => ‘ssl://smtp.gmail.com’,
‘port’ => 465,
‘timeout’ =&gt Read more…

Slider Revolution Plugin | Keep text while background images change

Author - Komal
|
0 Comments
|

Slider revolution plugin is used to create the slider to be used in the wordpress website through its shortcode. We can create as many slides as we want and can design each slide very easily by adding layers above layers. But sometimes there is a need to keep the text Read more…

Split large CSV into multiple smaller CSV files with Python script

Author - Deepika
|
0 Comments
|

Problem: If you are working with millions of record in a CSV itt is difficult to handle large sized file.

Solution: You can split the file into multiple smaller files according to the number of records you want in one file. Python helps to make it Read more…

Configuring AWS WAF (Web Application Firewall)

Author - Navneet Kashyap
|
0 Comments
|

AWS WAF web application firewall service is built to protect cloud apps from web attacks like DDoS attacks, SQL injections, Cross site scripting.

Below are the steps involved in configure AWS WAF security:

Step.1 Open CloudFormation and click on create new Stack.

Step.2 Select the option (Specify an Read more…

Cakephp 3.0 | Methods to get base and application url

Author - Parminder Kaur
|
0 Comments
|

In cakephp we do not need to set hard coded relative paths.There are methods by calling which we can build the url dynamically.

use Cake\Routing\Router;
To get the base url use
Router::fullBaseUrl(); => http://localhost //Output

To get the Application Url
Router::url(); =>/CakeApp/ //Output

To build Read more…

Queues in salesforce

Author - Webner
|
0 Comments
|

One primary purpose of creating the queue in salesforce is to manage particular object records. For example in lead queue, the queue is created to automatically assign the lead to particular user of the lead queue. As new lead enters the queue, the users of the queue are informed so Read more…

Software Testing | Understanding Severity & Priority

Author - Webner
|
0 Comments
|

While testing the Web applications, Software and Projects, sometimes we cannot perform the full test scenarios and bug fixes due to shortage of time or due to project running out of time. A lot of bugs and errors could be left behind due to shortage of time. In this case Read more…

PHP | Send mail through Gmail SMTP server and phpmailer

Author - Tanuj

We have mail() function to send emails in PHP. It uses built in sendmail command that uses local mail server to send emails. PHPMailer, on the other hand, is very different. Rather than relying on sendmail, it communicates directly with the SMTP server and relays the mail itself.

One of Read more…

Salesforce | Dynamic table column headings in a VisualForce page

Author - Navdeep Kaur
|
0 Comments
|

In VisualForce Page I wanted to have different column headings, like this:

I tried it using tag and tag but you can not display header value using tag as well as <apex:facetname=”header” > tag.
<apex:repeat value=”{!prolist}” var=”ls” >

<apex:column headerValue=”Producer Read more…

Stripe Gateway Payments | Some important points

Author - Rita
|
0 Comments
|

Important points about Stripe Gateway payments In Test Mode:

Below are some very useful points that you must know if are going to use Stripe as your payment gateway:

1. There is no limit on the payments for a stripe customer you are using in test mode. You Read more…

Moodle: Checking visibility of Specific activity to users

Author - Harleen Kaur
|
0 Comments
|

In moodle, there can be various conditions based on which we can restrict visibility of an activity to all or some specific users even when activity has been created in course and is available to users.

First Red Box area in the screenshot below depicts the restrictions based on date Read more…

Test cases generation and bug report generation in salesforce

Author - Piyush
|
0 Comments
|

In case you would like to create test cases or record bugs inside Salesforce you can create custom objects for this.

Steps for test cases object creation:

Select->Setup->create object->new custom object

Then we can add custom fields and relationships or the validation Read more…

Couple of different ways to rename table name through UI in phpmyadmin

Author - Parminder Kaur
|
0 Comments
|

First method:

1. Click on the database (from list of databases on the phpMyAdmin home screen) in which you want to rename table name.
2. You will see a list of tables on click of the database.
3. Select the table and there is a dropdown below the tables with Read more…

What is PDO? Why PDO should be used in PHP?

Author - Ishpreet Kaur
|
0 Comments
|

PDO stands for PHP Data Objects. PDO is a consistent way to access databases.
Today, mostly websites or desktop based applications store their data in databases. Therefore, PHP has also provided the way to connect with databases.

PHP supports following ways to connect to the database:

1. Mysql 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 39 40 41 42 43 44 45 46 Next page ›