Aaron Francis
Aaron Francis
  • Видео 85
  • Просмотров 1 111 837
Laravel tip: Higher order collection proxies (and Zevia)
Poppin off is a series of short code tips, tricks, patterns, and refactors for software developers. Oh and also seltzer reviews.
Watch my other Dusk video: ruclips.net/video/2M23skx2TK8/видео.html.
Higher order collection proxies are one of Laravel's neatest bits of magic. Here is a way to use them that you might not expect!
We also do a review of Zevia's Cream Soda. Send me a seltzer or hipster soda!
Aaron Francis
9330 Lookout Point
Apt 226
Dallas, TX 75231
Check out aaronfrancis.com for more articles, podcasts, and courses.
Chapters:
00:00 Welcome to Poppin Off Series
00:10 Seltzer Overview
00:29 Laravel Higher Order Proxies
03:30 Seltzer Ranking
Просмотров: 4 843

Видео

Ruby on Rails + SQLite with Stephen Margheim
Просмотров 2,1 тыс.День назад
Want to learn more about SQLite? Check out the full course: highperformancesqlite.com/ Get production ready SQLite with Turso: tur.so/af. In this interview, I talk to Stephen Margheim about his work with SQLite and Ruby on Rails. Links: Database school on RUclips: ruclips.net/p/PLI72dgeNJtzqElnNB6sQoAn2R-F3Vqm15 Database school audio only: databaseschool.transistor.fm/ Aaron on Twitter: twitter...
Code tip: Don't undo what you haven't done
Просмотров 9 тыс.14 дней назад
Poppin off is a series of short code tips, tricks, patterns, and refactors for software developers. Oh and also seltzer reviews. Don't undo what you haven't done! Turn something off, do a thing, turn it back on. Seems so simple, but you might be undoing something that you never did in the first place. We also do a review of Mineragua. Send me a seltzer or hipster soda! Aaron Francis 9330 Lookou...
Code tip: clean up after yourself (and a seltzer review)
Просмотров 8 тыс.21 день назад
Poppin off is a series of short code tips, tricks, patterns, and refactors for software developers. Oh and also seltzer reviews. Clean up after yourself! It this video we cover two different methods to clean up after yourself. The first is returning undo functions and the second is maintaining a cleanup array. If you want to watch the video that inspired this one, you can find it here: ruclips....
SQL for fun and profit
Просмотров 10 тыс.21 день назад
Want to learn more SQLite? Check out the full course: highperformancesqlite.com. Recursive CTEs (common table expressions) are really powerful, and actually useful! Check out Turso for SQLite in production: tur.so/af. Chapters 00:00 Recursive CTE in SQLite 00:31 Orders Table Set-Up 01:55 Find Missing Order using Recursive CTE 05:40 When to Use Recursive CTE Head over to aaronfrancis.com for mor...
Laravel Dusk: painless browser automation
Просмотров 16 тыс.28 дней назад
Thanks to Bento for sponsoring this video! Check them out at aaronfrancis.com/bento. In this video I give you an overview of Laravel Dusk, a package that provides first-party browser testing. Docs: laravel.com/docs/11.x/dusk. Check out aaronfrancis.com for more articles, podcasts, and courses. Chapters 00:00 What is Laravel Dusk? 01:00 Set Up Laravel Dusk 02:20 Review Default Test 03:18 Turn Of...
Struggling with Laravel + Vite
Просмотров 9 тыс.Месяц назад
Laravel Herd has a nice `share` feature built in, but it doesn't handle Vite very well. Watch me fix that issue! • Laravel Herd's share: herd.laravel.com/docs/1/advanced-usage/sharing-sites • Ngrok: ngrok.io/
SQLite's WAL mode is fast fast
Просмотров 13 тыс.Месяц назад
Want to learn more SQLite? Check out the full course: highperformancesqlite.com. Turso for SQLite in production: tur.so/af. SQLite's WAL mode is significantly faster than the rollback mode. Let me show you why! Check out aaronfrancis.com for more articles, podcasts, and courses. Chapters 00:00 How Fast is WAL Mode 03:50 Benchmarking Code 05:03 What is WAL Mode 08:45 Why Change Default to WAL Mode
Migrating from Postgres to SQLite with Kent C. Dodds
Просмотров 10 тыс.Месяц назад
Want to learn more SQLite? Check out the full course: highperformancesqlite.com. Get production ready SQLite with Turso: tur.so/af. In this interview, I talk to Kent C. Dodds about SQLite, LiteFS and the React ecosystem. Kent: kentcdodds EpicWeb: www.epicweb.dev/ The Epic Stack: www.epicweb.dev/epic-stack Fly.io: fly.io/ LiteFS: fly.io/docs/litefs/ Litestream: litestream.io/
Controlling randomness in Laravel (watch me code)
Просмотров 5 тыс.2 месяца назад
Laravel's Str::random and Lottery helpers produce random results, which is usually what we're looking for! But sometimes we want repeatable randomness. In this video we take a look at how to control the randomness. laravel.com/docs/11.x/strings#method-str-random laravel.com/docs/11.x/helpers#lottery Want to support the channel? Please get in touch! aaronfrancis.com/sponsorships
Production SQLite with Turso and libSQL
Просмотров 8 тыс.2 месяца назад
Want to learn more SQLite? Check out the full course: highperformancesqlite.com. Get production ready SQLite with Turso: tur.so/af. In this interview I talk to Glauber Costa, CEO of Turso.
SQLite is not weakly typed!
Просмотров 9 тыс.2 месяца назад
SQLite is not weakly typed!
Offline-first, multiplayer SQLite
Просмотров 11 тыс.2 месяца назад
Offline-first, multiplayer SQLite
Real-time monitoring for Laravel applications
Просмотров 12 тыс.2 месяца назад
Real-time monitoring for Laravel applications
Laravel Pennant: first-party feature flags
Просмотров 17 тыс.2 месяца назад
Laravel Pennant: first-party feature flags
Distributed SQLite with Litestream and LiteFS
Просмотров 9 тыс.2 месяца назад
Distributed SQLite with Litestream and LiteFS
Laravel adds a new email provider
Просмотров 14 тыс.2 месяца назад
Laravel adds a new email provider
DHH discusses SQLite (and Stoicism)
Просмотров 59 тыс.2 месяца назад
DHH discusses SQLite (and Stoicism)
Laravel vs React
Просмотров 51 тыс.2 месяца назад
Laravel vs React
Laravel + Livewire todo app (and so much more)
Просмотров 39 тыс.3 месяца назад
Laravel Livewire todo app (and so much more)
Laravel Horizon: queue monitoring + configuration
Просмотров 17 тыс.3 месяца назад
Laravel Horizon: queue monitoring configuration
Laravel's secret weapon: macros (watch me code)
Просмотров 21 тыс.3 месяца назад
Laravel's secret weapon: macros (watch me code)
Make faster outbound requests with Laravel (10x faster, actually)
Просмотров 15 тыс.3 месяца назад
Make faster outbound requests with Laravel (10x faster, actually)
Laravel Octane: supercharge your Laravel applications
Просмотров 38 тыс.3 месяца назад
Laravel Octane: supercharge your Laravel applications
Laravel + Cloudflare D1 speedrun
Просмотров 14 тыс.4 месяца назад
Laravel Cloudflare D1 speedrun
Supercharge Markdown with Laravel
Просмотров 9 тыс.8 месяцев назад
Supercharge Markdown with Laravel
Cody: the AI assistant that actually knows your codebase
Просмотров 20 тыс.8 месяцев назад
Cody: the AI assistant that actually knows your codebase
Customizing Laravel Pulse
Просмотров 9 тыс.8 месяцев назад
Customizing Laravel Pulse
Make self-healing URLs with Laravel
Просмотров 40 тыс.8 месяцев назад
Make self-healing URLs with Laravel
Read the docs (don't skim them)
Просмотров 13 тыс.9 месяцев назад
Read the docs (don't skim them)

Комментарии

  • @tobidegnon4409
    @tobidegnon4409 20 часов назад

    You meant django right ? Lol just kidding

  • @pilskalns
    @pilskalns День назад

    I was just about to write simple 3 line each loop, then remembered about this feauture from one of your videos and now I saved 2 lines into cool oneliner. Thanks!

  • @laughingvampire7555
    @laughingvampire7555 2 дня назад

    I agree with the dependency hell, sadly I've seen it in Rails a lot with elasticsearch and qt and mysql.

  • @laughingvampire7555
    @laughingvampire7555 2 дня назад

    come on, that one dude from Redis had to take a break, I mean, we are not ghosts, we need food.

  • @AndreSantos-nl3vy
    @AndreSantos-nl3vy 2 дня назад

    This is a fun. Keep it up!

  • @laughingvampire7555
    @laughingvampire7555 2 дня назад

    next move will be distributing rails with it's own unikernel

  • @laughingvampire7555
    @laughingvampire7555 2 дня назад

    He hasn't elimated complexity, he has package it in gems and make installers for black boxes of complexity. that is Ruby, black magic. In other words, he sweeps it below the rug, that is all you do with OOP

  • @DavidSmith-ef4eh
    @DavidSmith-ef4eh 2 дня назад

    can i use eloquent without laravel? currently using propel orm, but sadly, it seems ded

  • @El_Bartto
    @El_Bartto 3 дня назад

    I'm curious about the speed, is it fast enough to compete with the others?

  • @stefan48391
    @stefan48391 3 дня назад

    Why not using expose?

  • @zx-sy1qh
    @zx-sy1qh 3 дня назад

    "Best.... Interview.... Ever...." - Simpson's Guy

  • @thewonderbeast6956
    @thewonderbeast6956 4 дня назад

    This was a great podcast and you are a great host Aaron! Stephen definitely is a genius and a very interesting guy with an incredible knack for problem solving, and I'm proud to be his brother!

  • @uraymeiviar
    @uraymeiviar 5 дней назад

    php suck not because the language is suck, it because it run in server to transform some text into another text, which is stupid for modern standard, where u can just code something that also act as a webserver

  • @hamdaniash-siddiq5021
    @hamdaniash-siddiq5021 5 дней назад

    PHP has good jobs copying everyting ES6 does

    • @aarondfrancis
      @aarondfrancis 3 дня назад

      Sure would beat shame to learn from each other wouldn't it

  • @BroJenuel
    @BroJenuel 5 дней назад

    what theme are you using.

  • @MichaelH-w6e
    @MichaelH-w6e 5 дней назад

    You are a wonderful advocate for Laravel

  • @FunctionGermany
    @FunctionGermany 7 дней назад

    nice video, but i think i don't like this pattern. i think there's nothing wrong with foreach, making it more expressive that you're working with multiple variables of a collection/list.

  • @theGamer93
    @theGamer93 8 дней назад

    As a Sysadmin if I need to code something I always use PHP or Python. I tried Javascript a few times but I am not getting warm with it and I hear from a lot of JS Developers that most of them also switched from plain JS to Typescript. What I also hate is npm and the whole package manager chaos. Its just so painful to get an application running if one package is not available in the version needed. I mean maybe its easy for JS pros but for me I always have to study trough docs and stackoverflow threds to get the application running. PHP? No problem just install the correct version of php and it will be working (I know composer exists).

  • @darkbelg
    @darkbelg 8 дней назад

    These highirderproxy is not really mentioned or shown like this in the docs. Like in the docs it's shown chained. But never mentioned you can use it like this. Does this only work for each?

  • @Devdojo
    @Devdojo 8 дней назад

    Haven’t used’m before, but I will now. Thanks. Also, I kind of want to give Zevia a try 😅 my expectations are low, so I might enjoy it.

  • @iPwnPancakes
    @iPwnPancakes 9 дней назад

    Oh snap, I do laravel and I didn't know I could do this 😆

  • @alexandruaxentioi3006
    @alexandruaxentioi3006 9 дней назад

    The part when we deleted the test was the cherry on top 😂 love this ❤

  • @MohammadRoshandelpoor
    @MohammadRoshandelpoor 9 дней назад

    thanks amazing keep it up دمت گرم

  • @thewizardguy1337
    @thewizardguy1337 9 дней назад

    bro, black cherry zevia, their only actual flavor imo still has the aftertaste, but much more tolerable imo

  • @spicynoodle7419
    @spicynoodle7419 9 дней назад

    I've used higher-order proxies, however, I don't like them. They break LSP hints and I've been embracing the stricter/more staticky typing of PHP 8. I wish Laravel would also throw away some of its magic *debugger()* statements in Eloquent relationship methods and the many *__get()* / *__set()* methods. The new JIT provides a good amount of performance but the dynamic magic of the frameworks trip it up

    • @aarondfrancis
      @aarondfrancis 9 дней назад

      You can just add a type comment to tell PHP Storm that it's an instance of Browser and you get it all back

  • @jorbascrumps
    @jorbascrumps 9 дней назад

    This is such a fun series. Keep it up!

  • @sinaahmadpour3180
    @sinaahmadpour3180 9 дней назад

    Short yet beneficial ❤ And not wasting time on thumbnails 😜

  • @rmdashrfv
    @rmdashrfv 9 дней назад

    Hi, I work at Zevia! Thanks for the feedback, how can we improve the product Aaron?

  • @phefochis6149
    @phefochis6149 9 дней назад

    Second 😂

  • @younesessaadani9303
    @younesessaadani9303 9 дней назад

    Yayy first 🎉

  • @ricko13
    @ricko13 10 дней назад

    coffee break, ill be right back (18:45)

  • @A.Persons
    @A.Persons 10 дней назад

    hmm

  • @WickedAyman
    @WickedAyman 10 дней назад

    Chapters: 00:00 - Intro to Database School with Steven Margheim 00:53 - Stevens journey from nontraditional path to Rails success 01:18 - How did you get into Rails? 01:39 - Graduate students passion for tools led to success 02:39 - Career success story web programming, academia, rails 03:16 - Job market 28 years old, no experience, optionality 03:44 - Discussing her decision to leave Germany and move to the US 04:03 - Job search success in Germany 04:17 - Texas natives accounting, academic, bitter rivals 04:58 - Rails developer landed job, tough application process, and lots of conversations 05:38 - Hiring process oriented more around clear thinking 06:09 - Penn Medicine IT team trained me in Rails 08:50 - Railsdirection career shift led to rapid success 11:34 - Switched to Rails for operational simplicity 16:15 - Simplifying system with mental model 16:31 - Fixed bug in 10 minutes 20:07 - Challenges in web development 23:30 - Easytouse philosophy benefits developers 25:10 - Geometrical thinking helps solve problems 28:47 - Creating beautiful columns in Rails 30:04 - Growing interest in tech revived blog 32:53 - After hours of learning, posting daily tasks 33:09 - Branching with Rails, gem, and Shopify 34:48 - Pushed hard to reduce Rails pull requests 35:37 - Personal goal Worlds best Rails framework 36:32 - Easy case study writing transformed life 37:21 - Im thrilled to hear you landed PRs in Rails 38:14 - Success relies on consistency, not cabal 40:42 - Nitty gritty gory details in Rails 44:56 - Rails improvements and Rubys concurrency 47:20 - Rubys versatility in web applications 49:22 - Ruby interpreter slows web application performance 52:24 - Rails thread manages web requests in milliseconds 56:56 - Rails idle execution problem solved with Rubys sleep implementation 58:51 - Ruby backoff for busy connections 59:43 - Exposes multiple ways to hook up with busy handler 01:00:06 - Rubys Cbased driver for busy handler 01:03:11 - Ruby gems accessibility benefits 01:05:53 - Ruby friendly sleep for busy handler 01:07:32 - Background jobs semantics checkin, checkout, retry 01:11:44 - Changes to Rails SQLI experience 01:14:30 - Future hold Rails, content, or no? 01:14:56 - Future plans for default vanilla for Rails 01:16:08 - Database locked errors in multithreaded environments 01:20:14 - Fractal mind following along, obsession with simplicity 01:20:37 - Fractal mind benefits from community support 01:21:47 - Stevens delight at getting to talk to Ruby community 01:22:28 - Do you have a debt for Steven?

  • @dominuskelvin
    @dominuskelvin 10 дней назад

    Yup, Stephen is a database genius and so are you Aaron!

  • @HeyRyanHaskell
    @HeyRyanHaskell 10 дней назад

    Aaron, you bring such a warm energy into the web development space- and I'm grateful for you! I really enjoying listening to these conversations as I code!

  • @Megaman3451
    @Megaman3451 11 дней назад

    Weird Edit Overlap at 2:50

    • @bcassol
      @bcassol 11 дней назад

      probably an editor mistake where clips overlapped a bit in the video editor. It's unfortunate but it happens.

    • @aarondfrancis
      @aarondfrancis 10 дней назад

      Ah dang. Sorry about that!

    • @user-kt1iz4vc3x
      @user-kt1iz4vc3x 10 дней назад

      @@aarondfrancis the idea was to lower the interviewee's volume and put the ad on top? I hope not, it's distracting. good episode btw

    • @Sammi84
      @Sammi84 10 дней назад

      @@user-kt1iz4vc3x No he usually just puts the interview on pause while doing that quick spot early in the video. Usually not an issue.

  • @medilies
    @medilies 11 дней назад

    Fourth!

  • @aakash.pradhan
    @aakash.pradhan 11 дней назад

    PHP is definitely not an overrated language.

  • @sinistergate
    @sinistergate 11 дней назад

    Second!

  • @veganbell
    @veganbell 11 дней назад

    First!

  • @Aeric80
    @Aeric80 11 дней назад

    I use SQLite in production where I build a support ticketing system as a single developer. I don't use any modern JS framework or TS. Just plain jquery, html, bootstrap. I also build my own Web Api framework and ORM that can connect to MySQL, MSSQL, Firebird and PostgreSQL. The backend is written in B4X that compiles into java application.

  • @1987alejandroivan
    @1987alejandroivan 11 дней назад

    This looks heavily influenced by Swift

  • @mohagungnursalim8219
    @mohagungnursalim8219 12 дней назад

    Why can Laravel only reach hundreds of requests per second?

  • @nicobaier5424
    @nicobaier5424 12 дней назад

    What is the `ar` command you're using to run the `bench` script?

  • @igorcastilhos
    @igorcastilhos 12 дней назад

    Hello Aaron, do you have a link for the products in your setup? I'm trying to build a more professional setup right now and your audio & image are great!

  • @vasiovasio
    @vasiovasio 13 дней назад

    Great implementation Aaron! This is actually Mandatory for every modern site - robust SEO, so don't worry about changes made in the title, Bookmarks always work even if some changes are made! For a unique guarantee for the public IDs, instead of another package, we can use just a simple MD5 hash over the primary ID + some secret key ( just a string to add entropy ) and get the last 8-10 characters. As I commented on the last video, simply look at how long the video is and how almost no time is required for something so fundamental that you can award your effort to every user and request in the future! :)

  • @vasiovasio
    @vasiovasio 13 дней назад

    Great video Aaron! This is a Great example, of how small changes has a really Big Impact when they are deployed on Scale! Something that costs Nothing, make it Once and on return the reward is for every single user and request that comes! p.s. polite question - Are these teeth veneers or crowns and if so what brand - eMAX? Your smile is brighter than SuperNova! :)

    • @aarondfrancis
      @aarondfrancis 13 дней назад

      Haha nope, just my teeth! 🙊

    • @vasiovasio
      @vasiovasio 13 дней назад

      @@aarondfrancis Wow, DNA Supremacy! ;)

  • @thecyrilcril
    @thecyrilcril 14 дней назад

    Interesting Video, thank you Aaron

  • @notnotjake
    @notnotjake 14 дней назад

    that intro is so fun!

  • @palantyr
    @palantyr 15 дней назад

    SQLite is not a secret DB engine. It has been used in Android since 2008 or so, for example.

    • @aarondfrancis
      @aarondfrancis 14 дней назад

      I don't think I ever said it was a secret.