GTHell

GTHell

Member Since 1 Year Ago

Cambodia

Experience Points 10,830
Experience Level 3

4,170 experience to go until the next level!

In case you were wondering, you earn Laracasts experience when you:

  • Complete a lesson — 100pts
  • Create a forum thread — 50pts
  • Reply to a thread — 10pts
  • Leave a reply that is liked — 50pts
  • Receive a "Best Reply" award — 500pts
Lessons Completed 14
Lessons
Completed
Best Reply Awards 0
Best Reply
Awards
  • start-engines Created with Sketch.

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • first-thousand Created with Sketch.

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • 1-year Created with Sketch.

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • 2-years Created with Sketch.

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • 3-years Created with Sketch.

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • 4-years Created with Sketch.

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • 5-years Created with Sketch.

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • school-session Created with Sketch.

    School In Session

    Earned when at least one Laracasts series has been fully completed.

  • welcome-newcomer Created with Sketch.

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • full-time-student Created with Sketch.

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • pay-it-forward Created with Sketch.

    Pay It Forward

    Earned once you receive your first "Best Reply" award on the Laracasts forum.

  • subscriber-token Created with Sketch.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer-token Created with Sketch.

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • lara-evanghelist Created with Sketch.

    Laracasts Evangelist

    Earned if you share a link to Laracasts on social media. Please email [email protected]ts.com with your username and post URL to be awarded this badge.

  • chatty-cathy Created with Sketch.

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • lara-veteran Created with Sketch.

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • 10k-strong Created with Sketch.

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • lara-master Created with Sketch.

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • laracasts-tutor Created with Sketch.

    Laracasts Tutor

    Earned once your "Best Reply" award count is 100 or more.

  • laracasts-sensei Created with Sketch.

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • top-50 Created with Sketch.

    Top 50

    Earned once your experience points ranks in the top 50 of all Laracasts users.

10 Aug
1 week ago

GTHell left a reply on Is Installing Passport Package Just To Use JWT Overkill?

Isn't that JWT without the JW?

GTHell started a new conversation Is Installing Passport Package Just To Use JWT Overkill?

80% of the paragraph in the Passport section is all about OAuth and only 20% left that talking about consuming API with JWT. Is it overkill or good to use JWT from passport instead of the tymon package?

11 Jun
2 months ago

GTHell started a new conversation How To Secure My API Without Setup OAuth?

Hi, I have a project that currently only use in my company but as it scale, it need to integrate with other app and that need to use my API for calculation. But my current setup is that there's authorization whatsoever.

When I started I don't think much as it's a local system and no need to expose API to the public so I didn't have anything secure. Now, I want something simple like signature but without using the passport or JWT. I just want to keep it simple. How to achieve that?

16 Apr
4 months ago

GTHell started a new conversation Any Good Tutorial On Using React As Component In Laravel?

I have only use Vue global component before and never figure out how to do the same thing with react. So, basically I mix Vue-router, vue component with my Laravel App because I can. But when using the react preset, I don't know how to make React Components globally accessible like Vue.

I would love to use React as a wrapper as oppose to use it as a full front end library.

25 Mar
4 months ago

GTHell left a reply on Do You Use Vim?

I've been using vim for years but I felt like the mouse is better in some situation. It's just make me feel a little bit of depressing to type so fast but feel nothing is accomplished.

24 Mar
4 months ago

GTHell started a new conversation Do You Use Vim?

I'm just curious do you use vim or any editor with vim plugin. How was your experience?

09 Mar
5 months ago

GTHell left a reply on How Can I Get Vue To Work Without The Defer Attribute?

@WILK_RANDALL - It's a preset base code from Laravel package. Removing defer will make Vue not work.

03 Mar
5 months ago

GTHell started a new conversation How Can I Get Vue To Work Without The Defer Attribute?

Just like the title I want to use Vue without defer it in the script.

20 Feb
5 months ago

GTHell started a new conversation How Do You Handle Public API?

Currently, I need to publish some api to the third party APP. Their app need to use my API because it's involve some critical calculation.

Are all what I need to do is to give them a secret key and had a middleware to check that key against my the one reserve in my .env?

All user session and well, their app are handle by them not me. My web app only provide calculation for the payment gateway which is also handle by them.

28 Jan
6 months ago

GTHell left a reply on Nginx Or Apache If I Want Performance?

@cronix I go with Apache because I used to have a problem with Nginx non fixable bug before.

24 Jan
6 months ago

GTHell left a reply on Can We Use Jquery On Vue Js Application ?

jQuery is already included in Laravel. To import themeforest.css, you can either import it in your app.scss or in webpack.mix.js. If you're not using NPM then just do a normal import like your old project does by putting everything into public directory.

put your themeforest css into sass folder: resources/themeforest.css

in app.scss

@import './themeforest'
@import './themeforest2'

/// your css here

run npm run watch and include the compile css into your view.

GTHell left a reply on Nginx Or Apache If I Want Performance?

@CRONIX - I would love some explanation

GTHell started a new conversation Nginx Or Apache If I Want Performance?

Currently, my app require a really fast performance but less request made to server (Probably 2-3 minimum to 20-30 maximum). Most of other web app I built is just using whatever the server already has because it's just medium site but this one is different.

22 Jan
6 months ago

GTHell left a reply on How To Use CarbonPeriod?

Carbon\Carbon and Carbon\CarbonInterval available by default but not Carbon\CarbonPeriod I don't know why. I didn't say that I can't do that. Adding new Carbon package will conflict with existing one unless alias it to 1.25.0

21 Jan
6 months ago

GTHell left a reply on How To Use CarbonPeriod?

Like I said, Carbon\CarbonPeriod doesn't exist. However I manage to get it work by adding "nesbot/carbon": "1.29.0 as 1.25.0" to composer.json

GTHell left a reply on How To Use CarbonPeriod?

If I able to use the CarbonPeriod this question wouldn't be exist. I can't find Carbon anywhere in composer.json

GTHell started a new conversation How To Use CarbonPeriod?

There is no Carbon in composer.json. I can't update it and I need to use CarbonPeriod.

10 Jan
7 months ago

GTHell left a reply on First Connection Is Always So Slow. Why?

@BOBBYBOUWMANN - The problem happen with any database connection, whether it's installed sql or the sql server on the server.

GTHell left a reply on First Connection Is Always So Slow. Why?

@BOBBYBOUWMANN - I'm running in development mode locally with php artisan serve. The end system is intranet with window servers 12.

My current setup was Docker sql server + php artisan serve.

GTHell started a new conversation First Connection Is Always So Slow. Why?

Every time the app is idle and then I make a post or get request for some query then it take 5-6 second but after that connection it will be normal. What causing this? Is the server going into a sleep mode?

09 Jan
7 months ago

GTHell started a new conversation Is Build A Separate Real Time Server Good Idea?

Is it applicable to separate socket.io+nodejs server from the Laravel server? (can't get this real time thing to work with laravel, redis, event and broadcasting)

07 Jan
7 months ago

GTHell left a reply on DevExpress' DevExtreme DataGrid Server-side Script

You can try implementing the PHP package they have. Not easy but not that too hard. It's time consuming to build a wrapper around these library. I get all functionality to work but not polish yet so not yet to publish the source.

06 Jan
7 months ago

GTHell left a reply on Laravel Export Eloquent Query As Report?

Is printing support responsive?

05 Jan
7 months ago

GTHell left a reply on Laravel To Codeigniter, How Hard It Will Be?

@JLRDW - The .net core is too damn easy to get up and running and super fast. Beside, I want to make a move to c# since the stack is too good compare to PHP or Java.

GTHell started a new conversation Laravel To Codeigniter, How Hard It Will Be?

A client offer a project with codeigniter backend. Only thing I need to do is architect it to meet their need. How hard it will be knowing only Laravel, expressjs and maybe ASP.net mvc?

02 Jan
7 months ago

GTHell left a reply on Laravel Export Eloquent Query As Report?

@JLRDW - @jlrdw they basically want the power of SQL select where!!! I wish we had SQL admin so there is no more developer work to leverage the task. Also has SQL people will probably help a ton to the company in generating report and study the data. Well, I'm not the boss so I can only ask for easy solution here.

@cronix Cool package. I think it's what I needed.

GTHell started a new conversation Laravel Export Eloquent Query As Report?

So I have a beautiful query and would like to export it to A4 or possibly excel but with header, logos date just like typical invoice you see everyday. How would I do that?

01 Jan
7 months ago

GTHell started a new conversation Is There A Problem If I Switch DB Driver To Other DB?

Currently I'm using MySQL but realize that the production server is using Windows stack with SQL Server.

Is it just a matter of changing DB_CONNECTION from mysql to sqlserver? Is it that simple or do I need to be aware of something else?

Note: my query are all in eloquent.

15 Dec
8 months ago

GTHell started a new conversation What Is The Best Grid Library You Ever Use?

Working with data is never been easier. I sometime just make a simple table or use some random grid table library found on the internet. Non of them are perfect but it would be great if someone share their favorite grid table library one.

14 Dec
8 months ago

GTHell left a reply on Is Laravel Scalable?

@cronix not sure what other people think of what scalable is but to me it's about handling more request.

13 Dec
8 months ago

GTHell left a reply on So, How Exactly Do You Get JQuery From Webpack To Work With Blade?

I finally solve this problem. For those in the future who struggle to get jQuery to work you should add Event Listener to the window

@push('script')
<script defer>
window.addEventListener('DOMContentLoaded', function() {
        (function($) {
            //jQuery will work here
        })(jQuery);
    });
</script>
@endpush

The problem is that the defer script without src attribute will load before the defer script that has src attribute. Hence you either refactor your inline to a script file and reference through src or just tell your script to wait for everything to finish just like the above code for a dynamic script with @stack. Cheer

GTHell left a reply on Do I Need Server Side Rendering?

@lars-janssen why not?

GTHell started a new conversation Do I Need Server Side Rendering?

SSR in JS backend is easy. But do I need SSR with Laravel + Vue?

GTHell left a reply on Is Laravel Scalable?

@lostdreamer_nl php as a language is scalable but for Laravel as a framework, there's still question missing its answer.

GTHell started a new conversation Is Laravel Scalable?

I know all of my project is just a one in a life time project that will never get scale. But out of curiosity, is it scalable? Get into argument with some JS warrior and spring warrior who just proud of theirs project being written in Java & Javascript but the code is pure spaghetti, no patter, no good practice and said that Laravel ain't scalable but JS framework. I can't find a good point to say that it is.

12 Dec
8 months ago

GTHell left a reply on What Is The Flow That You're Following When Developing API Application?

@wilk_randall Actually, In one of my project I make use heavily of npm library from validation to customize component between bootstrap and vuetify and use a vue-recaptcha. Still, the work flow is suck. With vue-recaptcha, I need to go back and forth between server code and js code to make it behave correctly. Especially when their are a lot of CRUD operation involve where a small change will require go to different file just to track the file that I want to change. I wish people share their work flow online.

11 Dec
8 months ago

GTHell left a reply on What Is The Flow That You're Following When Developing API Application?

@wilk_randall what about other thing like fetching data? I find everything to be extra work. CRUD is extremely time consuming.

GTHell started a new conversation What Is The Flow That You're Following When Developing API Application?

I never go full API application between Laravel + Vue. The problem is it's time consuming to develop web app with API. For example, the form validation is extra work when using API + Vue.

07 Dec
8 months ago

GTHell left a reply on So, How Exactly Do You Get JQuery From Webpack To Work With Blade?

@munazzil But my problem was to find a work with npm.

05 Dec
8 months ago

GTHell left a reply on So, How Exactly Do You Get JQuery From Webpack To Work With Blade?

The jquery $ suppose to work fine. I think it's the problem with defer attribute in script tag. <script src="js/app.js" defer></script> when I remove the defer keyword, the jquery work but not the Vue. Well, I need both vue and jQuery.

I use webpack for everything in front-end. It does its job well. Super clean to import only one script and offer the ability to use latest Ecma script standard. Just give you the idea that I all have my quill-editor, date-picker .... and more useful package manage with webpack and import one script only while my friend still download the library and put it into the public folder. yek. Super useful knowing webpack. But still can't get jQuery to work without removing Vue.

GTHell left a reply on So, How Exactly Do You Get JQuery From Webpack To Work With Blade?

Yeah man it's suck. I need to import jQuery twice. One from npm and another one for whatever snippet I want to use in Laravel blade.

GTHell left a reply on So, How Exactly Do You Get JQuery From Webpack To Work With Blade?

@jlrdw How do you import the webpack into your laravel blade?

04 Dec
8 months ago
03 Dec
8 months ago

GTHell started a new conversation So, How Exactly Do You Get JQuery From Webpack To Work With Blade?

I read this issues and none of the solution work.

02 Dec
8 months ago

GTHell left a reply on Tips On Doing/query Report

@JLRDW - Joining table is simple using eloquent. The challenges is that, joining too much will result in huge column list. I think I'll just throw all column and make use of front end javascript to do the sorting.

Should sorting/select be done in front end or back end? Gotta admit that I never do much report before beside CRUD.

GTHell started a new conversation Tips On Doing/query Report

I don't know what user want so It would be good to give them choice. Since the user can't do SQL, what are some way to generate a query builder with front end?

24 Nov
8 months ago

GTHell left a reply on How To Generate Report?

@jlrdw Thank, I choose to go with C# because it's seem easier than all of this.

21 Nov
8 months ago

GTHell left a reply on What Is The Efficient Way To Store Config Option?

take a look again and it seem akaunting settings package is better than laravel config.