Integrating DataTables the Vue Way Last time we looked at setting up DataTables using the DataTables CDN. If you read the DataTables Vue documentation, that’s not what it states. To be as comprehensive as I possibly can be on this topic, I’ve decided to show this approach as well. To read the CDN approach, check out the article below. https://medium.com/geekculture/laravel-9-x-with-vue-js-and-datatables-b1299d0e6f09 For this article, I figured it would be good to start from scratch. No assumptions made. Let’s install it with a fresh installation of Laravel 10.x. We’ll go through setting up Vue.js and then setting up DataTables with Server Side
Tag: Laravel
Customizing DataTables in Vue/Laravel A request came in that’s not completely out of the norm, but something that stumped me for a few hours. It wasn’t anything revolutionary. It was something that I’ve done before with a different type of implementation, but never like this. The request was, “can we add a dropdown list so that when we select an option, it would only load those items into the DataTables table. We want all of the items to load first and then if we need to narrow it down further, we’d like to have that capability.” Implementing this using Vue/jQuery
Rapid Deployment to DigitalOcean Although you can deploy a Laravel application hundreds of different ways, I wanted to share a quick way to deploy a Laravel app in DigitalOcean to get you started. Assumptions You have a Laravel application that you’re trying to deploy. You have a Digital Ocean account. If you don’t, it’s really simple to sign up. Your Laravel Application is on GitHub or Bitbucket. Droplet Log into your Digital Ocean account and click on the Create -> Droplets button. You will be brought to a screen that looks like the one below. The default Distributions tab will be selected, but we don’t want to spend that much time on optimizing our
My Laravel Journey: Books That Paved the Way I became a web-developer when YouTube tutorials weren’t still that popular. Everyone was just starting out and I had no idea where to begin. Since I didn’t know much about development, I didn’t even know which questions to ask. I pieced together a rudimentary understanding of what web-developers do by catching tech-talk from some of my coworkers in the software development department (I wasn’t in that department yet). What I heard was, “something something PHP.” Well, maybe PHP could help me, so I set out to learn PHP. I had enough sense to
A Guide to Laravel and Docker Setup We’re going to pretend that you just bought a new Mac and are trying to get up and running as quickly as possible. There are going to be a couple of things that you’ll need to get started, such as brew, composer, and Docker. If you don’t need to pull a Laravel project from GitHub, and this is your first time installing a Laravel project on your computer, you can skip the Brew and Composer installation steps. Make sure that you have Docker installed and run the Laravel install command. If you do have a Laravel
A Chat with ChatGPT on Laravel Other than creating completely new content, like a new framework, I’m not seeing the benefit of creating content like Laravel articles when you have ChatGPT. I’ll continue writing it of course, but I can’t see much benefit that the user gets especially when you have something like ChatGPT available under your toolbelt. Here’s a conversation that I had with it since I was curious about a topic that I’m very familiar with. I wanted to see how well it performs. Show me an example of how to use the faker library in Laravel. Sure,
Dockerizing Your Development Environment from Scratch I frequently speak with individuals on how to setup work environments. There’s still a large community that rejects Docker; I’m assuming because they don’t know how to use it fully. In this article, I want to show how to use Docker to setup an environment on your computer. That’s all you need. You won’t need anything else and it doesn’t matter which operating system you’re using. Never will you have to worry about changing versions on your computer. You can do it all through Docker. New Projects If we visit the Laravel documentation,
Where Laravel developers feel right at home It can sometimes feel like the documentation skips a few steps here and there. Other times, the documentation can feel overwhelming. Let’s demystify this process. Goals to accomplish: Introduction to Homestead Setup Homestead on Windows 10 for all of your websites Create a Laravel 8 application SSH into Homestead and create a database Migrate database tables Verify that everything is working: able to type in domain.test in our browsers. Introduction to Homestead The first step, of course is to go to the Laravel documentation. We’ll follow it throughout this article so that if something changes