Provisioning Profile for iOS
A provisioning profile binds developers and devices to an authorized iPhone Development Team and enables a device to be used for testing. Just Like android, you can’t install your application directly on the iOS device. Provisioning profile act as an intermediate between the Read more…
Introduction to Video Compression
Video Compression is a term used to define a method to reduce the data used to encode digital video content. This reduction in data further translates to various benefits such as smaller storage requirements and lower transmission bandwidth requirements, for a clip of the Read more…
XPath in simple terms is a way of finding an element(s) in an HTML DOM by giving its path. It is useful when name or id etc is not available to be directly used to find the element. The path given can be either Absolute or Read more…
How to Pass the Data to Custom Validation attribute in MVC C#?
.Net provides the capability of validating model data with validation attributes like Required, Compare, Regular Expression, and user-defined custom attributes (also known as data annotations C#). MVC .net provides the built-in Read more…
These modules are written by using the AMD(Asynchronous Read more…
Laravel: Issues in thumbnail along with images while attaching multiple attachments to the mail
While sending an email to someone using a laravel Mailable class, we may need to attach some attachments to it. Then we can simply use the method attach of that class along with the Read more…
The partial view is a special view used to render a portion of view content. It is a reusable view. It reduces code duplication. We can say that a partial view enables us to render a view within the parent view.
In other words, if the view does not contain Read more…
First of all, we need some dummy XML data for parsing as given below:
The above XML has many tags. The first one being the XML tag which lets us know that it is an XML document. Moving on to the next one we have Read more…
CakePHP uses a two-layered approach to 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…
The mysqli_query statement
Generally, we use mysqli_query to execute Mysql queries in PHP. We can use multiple mysqli_query statements to execute multiple operations like insert, update, and select. Sometimes, we store records in more than one table during save operation at the backend, but it is Read more…
Introduction to Laravel 5.4
A log file is a file that keeps a registry or records of events, processes, messages that occur in the operating system or any software runs.
-Laravel provides the robust logging services that allow the user to log Read more…
Problem – Getting “Class ‘MongoDB\Driver\Manager’ not found” error while inserting some data in the collection (Laravel)
Check the following three points in order to resolve the MongoDB driver issue in Laravel:
1. PHP Module
2. MongoDB Extension
3. MongoDB Library
1. PHP Module –Read more…
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…
Bootstrap Templates, Grid System and Media-queries
What is Bootstrap?
Collections in C#
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 are used to create and Read more…
Progress Bar For Large Uploads Using AJAX/PHP
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…
Collecting Information or data from the system and storing it in a specific file is called logging. It may contain information or data for short or longer periods. Logs are the only way to troubleshoot an issue which the user has with the system.
Do logging correctly:
Creating Read more…