Techno Workshop provides technical solutions about different technologies like PHP, MySQL, PostgreSQL, Bootstrap Front-end Framework, JQuery, GIS, JasperServer, and PHP frameworks like Laravel, Codeigniter, CakePHP, etc. It also provides tutorials for Ajax, APIs, CURL, Composer Packages, etc. If you cannot find anything, you can also search for tutorials in the search box below.
- Laravel order by relation column with exampleSome examples that demonstrate the usage of Laravel’s orderBy method with relationship columns, which can be applied in Laravel versions 5, 6, 7, 8, 9, and 10.
- Git Commands to Remove Merged or Nonexistent Local BranchesThe following git commands will delete all local branches that have been removed from remote or merged into the main branch.
- Learn How to Use Laravel Enum CastingLaravel 9 has introduced enum model attribute casting, which makes it easier than ever to use enums in your application. With the help of an enum class and model casting, you can easily set up your table with specific enum values.
- Install React JS with Laravel BreezeInstall Laravel Breeze, which offers React JS scaffolding via an Inertia frontend implementation to build modern React JS app.
- How to upload file code using LaravelTo upload a file using Laravel, you can follow these steps: Create a new form in your Laravel view with an input field for the file: Define a new route in your routes/web.php file that points to a controller method that will handle the file upload: Create a new controller method in FileController that will handle the file upload: In the upload() method, we first validate that the uploaded file meets our requirements (in this case, it must be a file and not exceed 1 MB in size). We then use the store() method on the uploaded file to store … Continue reading “How to upload file code using Laravel”
- The Lexical Structure of JavaScriptTo understand the structure of JavaScript, you need to learn the following building blocks of it: Unicode, case sensitivity, semicolons, comments, white space, literals, identifiers, and reserved words. Unicode You can use Unicode in JavaScript. So, you can use Emojis as variable names and write identifiers in any language, for example, Japanese or Chinese, with some rules. If you want to know whether your Unicode variable is acceptable or not, you can check it at https://mothereff.in/js-variables. Case sensitivity JavaScript is case-sensitive like many languages. So, a variable name written in a lower case format is different from the same variable name … Continue reading “The Lexical Structure of JavaScript”
- Getting started with ReactJSSetting up a local environment is recommended way to learn ReactJS because the local setup allows you to complete the tutorial using your choice of editor, use the latest JavaScript features, provides a nice developer experience, and optimizes your app for production. Let’s start with creating a new ReactJS application. Create React App Creating React App is a comfortable environment for learning and building an application in React. There are few prerequisites for creating a React app as follows, Node.js >= 14.0.0 npm >= 5.6 If above requirements are satisfied, you can run the following command to create a new react application, You can … Continue reading “Getting started with ReactJS”
- Using ReactJS in the HTML FileNow that we know what ReactJS is, we can start with different usage of ReactJS. If you don’t know what ReactJS is, read the ReactJS introduction. In this article, we will learn to use ReactJS directly in the HTML file. There are some prerequisites to adding ReactJS script inside the HTML code. We need to include the following three javascript in the head section of the HTML file. ReactJS ReactDom Babel The first two allow us to write ReactJS code in our JavaScripts, and Babel will allow to write JSX syntax and ES6 in older browsers. Example Let’s see an … Continue reading “Using ReactJS in the HTML File”
- ReactJS IntroductionReactJS is one of the most popular JavaScript front-end libraries for building user interfaces with a strong foundation. It has a robust and rapidly growing developer community and a declarative, efficient, and flexible library for building reusable UI components. It is an open-source, component-based front-end library responsible only for the application view layer.
- Solved – error while loading shared libraries: libpangox-1.0.so.0: Anydesk on Ubuntu 22.04 LTSAfter successfully upgrading from Ubuntu 20.04 LTS to 22.04 LTS, most of the applications are working perfectly. But, some of the applications behave unusually. Such as, I tried to run the Anydesk application, but it doesn’t launch/start. when I checked the status service, the AnyDesk service was failed and the reason for failing is mentioned in the below error message, libpangox-1.0.so.0 is a library used for text layout and rendering the text. Most of the work on Pango-1.0 was done using the GTK+ widget toolkit as a test platform. So, I ran the command to install it using the apt as … Continue reading “Solved – error while loading shared libraries: libpangox-1.0.so.0: Anydesk on Ubuntu 22.04 LTS”