PHP Frameworks

Validation vs. Application Rules In CakePHP

Author - Pawandeep Kaur
|
0 Comments
|

CakePHP uses a two-layered approach to validation:

1. Validation
It determines basic validity. It ensures that the data types, size, and format of data are correct. When we call newEntity() or patchEntity() methods, validations are triggered. For example, checking if an email address Read more…

Methods of Debugging – PHP

Author - Umang Pasricha
|
0 Comments
|

Methods of Debugging by dumping information

These methods are used for debugging in PHP. We can see the variable values in human-readable form on the console and can find errors in case there are issues due to variables incorrect values. print_r() and var_dump() are used Read more…

Collections in C#

Author - Monika Dhiman
|
0 Comments
|

Collections in C#

Arrays
Arrays are useful for creating and working with a fixed number of strongly typed objects.

Problem with Arrays:
1. Fixed length
2. Insert similar data type elements

Collections
Collections are used to create and Read more…

Progress Bar Using AJAX/PHP

Author - Webner
|
0 Comments
|

Progress Bar For Large Uploads Using AJAX/PHP

Problem:
When large files are being uploaded, a server at the back takes time to upload the same file. Users have to wait irrespective of knowing, whether the file is even being uploaded or not and how much Read more…

How to set the values of Metadata (column fields) of Sharepoint Documents

Author - Umang Pasricha
|
0 Comments
|

How to set the values of Metadata(Column fields) of Sharepoint Documents

Here is the code in C# which helps you to change the metadata field values of Sharepoint Files.

//This manager class can be used to obtain a SharePointContext object
OfficeDevPnP.Core.AuthenticationManager authMgr = new Read more…

Paytm gateway integration in PHP

Author - Vikas Dalal
|
1 Comment
|

Paytm gateway integration in PHP

Paytm is a very popular way to make payments these days. To integrate Paytm in our site we need to follow the given steps –

Step 1. First, we need to create an account at https://business.paytm.com/ and get our Read more…

Fill a PDF form using C# console application

Author - Mahesh Kumar
|
0 Comments
|

Fill a PDF form using C# console application

We will be using the SyncFusion Package to fill out the PDF Form Fields. To add SyncFusion to your project follow these steps :

1. Go to Tool -> NuGet Package Manager -> Manage NuGet Packages For Solution
2. Then search Read more…

Showing Deletion Confirmation box in Laravel datatables

Author - Komal Dhiman
|
0 Comments
|

Showing Deletion Confirmation box in Laravel datatables

Datatables are the finest way to show the larger number of records to the user on a single page as it provides so many features like sorting, pagination, etc. Sometimes we need to provide the facility to edit or Read more…

Deploy the laravel project on 1&1 production server

Author - Manoj Thakur
|
0 Comments
|

How to deploy the laravel project on Shared hosting server

On shared Environment:

Step 1: Push the code to Production Server.

I’m assuming that your project is running perfectly on your localhost and now you are ready to push it to Read more…

Download files from S3 disk in Laravel

Author - Navneet Kaur
|
0 Comments
|

how to download file from s3 disk in Laravel

What is AWS S3?
Amazon Simple Storage Service (Amazon S3) is an object storage service that offers industry-leading scalability, data availability, security, and performance. S3 helps you securely upload and download your data with Read more…

Bundle in ASP.NET MVC

Author - Nipun Negi
|
0 Comments
|

Bundle in ASP.NET MVC

Bundling is a process that allows us to load a bunch of static files from the server into one HTTP request. We can load multiple CSS and Javascript files using bundles.

Let’s take an example :

In the above example browser Read more…

Insert and update bulk data in CakePHP 3.7

Author - Kailash Kumar
|
0 Comments
|

How to Insert and update bulk data in CakePHP 3.7?

We can insert and update multiple records using “saveMany($entities)” function. We can create entities array from “newEntities() / patchEntities()” functions. newEntities function is used to insert new data and patchEntities function is used to update Read more…

ASP.Net MVC Quick Introduction

Author - Vikas Dalal
|
0 Comments
|

ASP.Net MVC Quick Introduction

ASP.Net MVC – In MVC, the architecture of an application is divided into three parts –
Model, View and Controller.

Model – Model represents the shape of data. It is basically used to connect to the database and perform Read more…

Detect Text From Uploaded Image and Base64 string

Author - Dalbir Kaur
|
0 Comments
|

How to Detect Text From Uploaded Image and Base64 string in laravel

Laravel has various packages available to achieve this. I have tried “yk/laravel-ocr” and “alimranahmed/laraocr” but these are not producing accurate results. After that, I used the “AWS sdk” and it proved Read more…

How to run CakePHP 3.7 Shell Commands in Heroku console

Author - Kailash Kumar
|
0 Comments
|

Learn how to run CakePHP 3.7 Shell Commands in Heroku console

1. Create myCommandShell.php file in src/Shell folder with below content

<?php
namespace App\Shell;
use Cake\Console\Shell;
use App\Controller\PagesController;
class myCommandShell extends Shell {
public function main() {
// do your Read more…

Laravel Cron to keep executing manually even for a long time

Author - Komal Dhiman
|
0 Comments
|

Laravel Cron to keep executing manually even for a long time

The cron jobs we create in Laravel can be very time consuming if they have much to do. They may take a few minutes to execute completely. While testing the cron by executing it manually Read more…

Add Text to Image with Php and Python

Author - Maniraj Singh
|
0 Comments
|

How to add Text to Image with Php and Python

Step 1: Call the python file from PHP with the following arguments.
$ filePathForPython: Specify the location of the python file.
$imageName: Dynamic name of the image.
$ imageText: Text to be written on the image Read more…

Face detection using Laravel

Author - Harpal Singh
|
0 Comments
|

Method of Face detection using Laravel

Laravel is a PHP framework for Web Development. It provides many features to make things easy for Web Development. It also takes care of the security of the application. If you have an intermediate level knowledge of PHPRead more…

How to Install nginx and configure it for CakePHP

Author - Manoj Thakur
|
0 Comments
|

How to Install nginx and configure it for CakePHP

Quick Summary:

1. What is Web Server?
2. What is Nginx?
3. Nginx Installation.
4. Create server block (VirtualHost).
5. Install CakePHP and configure it for Nginx.
6. How to check CakePHP version.

What Read more…

Install MPDF 7.x on https://www.ionos.com/

Author - Ishpreet kaur
|
0 Comments
|

How to install MPDF 7.x for PHP version > 5.6 on https://www.ionos.com/ and use in PHP Project?

Since from January 2019, https://www.ionos.com/ has been resisting the use of PHP version 5.6, it is supporting PHP versions >= 7.1 Read more…

1 2 3 4 5 6 ... 13 Next page ›