Category: PHP Frameworks
Using Laravel Eloquent ORM
Introduction to Laravel Eloquent ORM Introduction: Eloquent ORM is an Object Relational Mapper that interacts with the database. It is a package separate from laravel so can be used outside the laravel too. It implements active record pattern. Laravel Eloquent
Sort query result according to search conditions in CakePHP 2.
How to sort query result according to various search conditions in fetch query of CakePHP 2. Problem: Priority based sorting of records Example: Search a string (“Proposalways StudySection”) and display records in following order: Contain all words (“Proposalways StudySection”) in
Using Breadcrumbs in Laravel
How to add Breadcrumbs to your Website in Laravel Breadcrumbs are links used to track and navigate in the website. Generally every page is considered as a link and is arranged in hierarchical order at the top of the website.
Handle data from .msg file parsed by IndependentSoft’s msg.net package
Handle data from .msg file parsed by IndependentSoft’s msg.net package IndepentSoft’s MSG.NET package is used for parsing of outlook .msg files for reading the contents of file and which can be used to display contents on screen or in our
Understanding PHP CS-FIXER with example
Steps to Understand PHP CS-FIXER with example Introduction The PHP coding standards fixer tool is used to solve many issues (syntax, indentation etc) in your code when you want to follow the PHP coding standards defined in PSP-1 and PSR-2
Moodle Windows installation using XAMPP | Common Issues
Common Issues faced during Moodle Windows installation using XAMPP 1. Do not have permissions to create a database or MySQL database is too old. Xampp uses the Mariadb database (based upon MySql), if during installation above issue occurs then: a.
How to Change Innodb storage Format for Moodle/Totara
Steps to Change Innodb storage Format for Moodle/Totara Description: You may face this problem in Totara: Advanced Totara features require innodb Barracuda storage format Reason: The error usually occurs because of Mysql 5.6 and below using file format “Antelope”. This
What is the purpose of multiple .htaccess files in CakePHP?
Purpose of multiple .htaccess files in CakePHP In Cakephp, contained .htaccess files are as follows: newcakeproject/.htaccess /app/.htaccess /app/webroot/.htaccess 1. newcakeproject/.htaccess CakePHP root directory .htaccess redirects everything to your CakePHP app (means to webroot). We can also redirect the url to
Login With Facebook in PHP
How to implement Login With Facebook in PHP In today’s environment it is very common to use facebook and gmail login features to make login process more authentic and fast. Here I am going to describe how to implement login