Jump to content

HappyDemon

Programmer
  • Content Count

    8
  • Joined

  • Last visited

  • Days Won

    1

Daily XP Streak Bonus

XP

Start posting to receive your Daily Streak Bonus for your Adoptable. Every day you post, the more XP you earn.


HappyDemon last won the day on September 27 2017

HappyDemon had the most liked content!

Community Reputation

5 Neutral

About HappyDemon

  • Rank
    Growing Member
  • Birthday 01/16/1989

Recent Profile Visitors

870 profile views
  1. Hey @owlmanatt, great to see you're back I am wondering though, isn't it a bit 'under' kill to use lumen for creating APIs (depending on the API's size/functionality of course). I know Taylor initially used it himself for webhooks (e.g. the online status checker on forge), where a full-on installation of Laravel would use too much resources for a simple DB update. However, if you're creating an API for an app or a website, in't it handier to have eloquent, mail, config bootstrapped and functional?
  2. I've previously put out a small series on recreating pokemon's original battle system in Vue.js (to some extent). The series isn't done and could still be more polished, however, it does go a long way already: Here's an overview of the articles I've posted in the series. #1 Single file components #2 Attacks: $refs, Promises & event bus #3 Vuex: state management #4 Damage calculations #5 Transitions & animation View full guide
  3. When you're working with large data sets it might be a good option to run a queue worker. You could set up a cron job that creates jobs for a queue worker. An example case would be sending over X amount of animals to be processed at a time. So lets say you have 3000 animals that need to age, you could paginate that (let's say into 300 animals), pass the IDs to a Job that would do the aging and just repeat until you hit the 3000. This is actually quite common when using modern frameworks, take a look at https://github.com/chrisboulton/php-resque if you're not using one Having said that, how are your crons being called actually? I've seen a lot of 'wget' tutorials floating around the web, it might be handier to run them through the command line, or increase the script timeout limit.
  4. I've previously put out a small series on recreating pokemon's original battle system in Vue.js (to some extent). The series isn't done and could still be more polished, however, it does go a long way already: Here's an overview of the articles I've posted in the series. #1 Single file components #2 Attacks: $refs, Promises & event bus #3 Vuex: state management #4 Damage calculations #5 Transitions & animation
  5. I'm a heavy fan of Vue.JS as a front-end framework, if things are simple enough or really require a lot of customisation I'll write it in Vue components myself (if the project requires it). But most of the time, jQuery is enough to sprinkle on top of HTML. IMO Vue is the jQuery of front-end frameworks, in terms of simplicity. jQuery started out with a lot of competition, but clearly won because of the simplicity of implementing it. I feel the same way about Vue, you don't need to know a lot about it to start using it, while other frameworks have a steep learning curve (I'm looking at you, angular).
  6. I'm currently with Digital Ocean as well, but I'm also trying out Vultr (same principle as DO, but the pricing is a bit different). For all the non-devops, there's plenty of services that help you setup your server and do basic upkeep (https://serverpilot.io, https://forge.laravel.com to name 2).
×
×
  • Create New...

Important Information

By using this site, you agree to our Guidelines, Terms of Use, and Privacy Policy.