Author: Justin

What is CKEditor 5? CKEditor (formerly known as FCKeditor) is a WYSIWYG rich text editor which enables writing content directly inside of web pages or online applications. Its core code is written in JavaScript and it is developed by CKSource. CKEditor is available under open source and commercial licenses. Modern JavaScript rich text editor with a modular architecture. Its clean UI and features provide the perfect WYSIWYG UX for creating semantic content. Features of CKEditor Written in ES6 with MVC architecture, custom data model, virtual DOM. Responsive images and media embeds (videos, tweets). Custom output format: HTML and Markdown support.…

Read More

Hello , Welcome back, this example is regarding How to use Event and Listener in Laravel 9. First we should know what is event? Laravel’s events provide a simple observer pattern implementation, allowing you to subscribe and listen for various events that occur within your application. example like User Created New Post submission Notification And What is Listener? Listeners, like the name implies, listens for events that occur in your application, but they do not just listen to any event, each listener must be mapped to an event before it listens for that event. Now i am coming on…

Read More

We can pass data to Blade components using HTML attributes. Hard-coded, primitive values may be passed to the component using simple HTML attribute strings. PHP expressions and variables should be passed to the component via attributes that use the : character as a prefix: <x-alert type=”error” :message=”$message”/> You should define the component’s required data in its class constructor. All public properties on a component will automatically be made available to the component’s view. It is not necessary to pass the data to the view from the component’s render method: <?php namespace App\View\Components; use Illuminate\View\Component; class Alert extends Component {…

Read More

In this post I will talk regarding Components also will explain how to use in Laravel. What is Components? In object-oriented programming and distributed object technology, a component is a reusable program building block that can be combined with other components in the same or other computers in a distributed network to form an application. Examples of a component include: a single button in a graphical user interface, a small interest calculator, an interface to a database manager. How to use component in Laravel? We can create a blade component in laravel 5, laravel 6, laravel 7, laravel 8…

Read More
PHP

JIT(Just-in-time) compilation is a process that takes compilation of the code at run time. JIT compilation allows to improve performance of interpreted programming languages. Since PHP 8.0, we can use JIT. In order to use JIT the OPcache extension must be installed and enabled. OPcache extension allows to eliminate the need to load and parse scripts on every request by storing precompiled script bytecode in shared memory. Enabling OPcache The zend_extension directive can be used to load the OPcache extension into PHP. We can set zend_extension directive in php.ini file. zend_extension=opcache The opcache_get_status function can be used to check…

Read More

Now a days it is more important to use Microsoft Team, Due to COVID. Microsoft Teams is one of the globally used digital tools that allow remote and dispersed teams around the world to collaborate through individual and group chats, video meetings, document sharing, and many others. Microsoft Teams is available for the following major platforms i.e Windows, Linux, macOS, and Android. To install MS Team will requires a file to download the .deb file from the official Microsoft Teams page. You can alternatively obtain the download link and pull the Microsoft Teams .deb file with the Wget command below.…

Read More

How to install Java 17 on Ubuntu 21.10. Java is a high-level object-oriented programming language and computing platform intended to let application developers write once and run everywhere. This means that a compiled java code runs on all platforms that support Java without the need for recompilation. JDK is a collection of various programming tools such as JRE(Java Runtime Environment), Java, Javac, Jar, and many others. Java 17 LTS is the latest long-term support release for the Java SE platform. Java OpenJDK 17 is an open-source implementation of the Java SE platform. Since the OpenJDK versions available in the default…

Read More

Python is an easy to learn, powerful programming language. It has efficient high-level data structures and a simple but effective approach to object-oriented programming. Python’s elegant syntax and dynamic typing, together with its interpreted nature, make it an ideal language for scripting and rapid application development in many areas on most platforms. This post will help you to how to install Python 3.10 on Ubuntu, Debian, and Linux Mint systems using source code. First of all, i will login to Debian-based system with sudo privileged account access. Open a terminal and execute the below commands to update packages. $ sudo…

Read More

In this post i will show to how to create a Laravel project using command line. For this using CLI you must have to install composer. using command prompt or using Terminal go to your destination directory where you want to create your laravel project. Then type below command. $ composer create-project laravel/laravel YOUR_PROJECT_NAME Here you can see an error is coming , if not then all good no any problem. for solving the above error we will use sudo. $ sudo composer create-project laravel/laravel example-pdf now it will takes some time. Then your project is created.…

Read More

Hello, All in this post i will integrate Razorpay Payment Gateway, I will explain each and every thing Step wise. Create Razorpay Account in Razorpay Install Razorpay Package Add API Key and Secret Key Route for payment Create Controller Create View File Finally The Result Step 1. Create Razorpay Account in Razorpay You can create account by clicking on link, and i am sure you are here because you already have account. Step 2. Install Razorpay Package we need to install razorpay/razorpay package in laravel. $ composer require razorpay/razorpay Step 3 : Add Key And Secret Key Now, we…

Read More