Tangente

Tangente

Senior Fullstack Engineer at Seattle

Member Since 6 Years Ago

Seattle, WA

Experience Points
33,380
Total
Experience

1,620 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
351
Lessons
Completed
Best Reply Awards
20
Best Reply
Awards
  • start your 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-in-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 Created with Sketch.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer Created with Sketch.

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • evangelist Created with Sketch.

    Laracasts Evangelist

    Earned if you share a link to Laracasts on social media. Please email [email protected] 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.

Level 7
33,380 XP
Jul
11
2 days ago
Activity icon

Replied to I Am Getting Internal Server Error After Uploading To Shared Hosting

Check your log file, it should list what went wrong.

May
06
2 months ago
Activity icon

Replied to Php Artisan Tinker Error

Well, 'updated_at' column doesn't exist on the assignments table. Are you sure there is one?

Activity icon

Replied to Relationship Help

$page = Page::where('uri', $uri)->firstOrFail()->template;

the tables you gave don't have the column 'uri'. Are you sure that the table PAGE has that column?

Apr
23
2 months ago
Activity icon

Awarded Best Reply on Is It Possible To Make A Taxi Platform On Laravel?

It is possible. Laravel is just a PHP framework, and it is easy to learn and make it do whatever you want to do.

There are many ways you can approach this:

You would need payment processing system (or use sprite for this), but you would definitely need to track sales and revenues, etc, and this can easily be done in Laravel.

You would need phone app (like Uber or Lyft does), where clients can track the taxi, and the best way I would approach this is using google maps API (This is not Laravel)

Another nice to have system (in Laravel), a reporting system, to see how many people booked, how many canceled, and how many trips got fulfilled.

Apr
19
2 months ago
Activity icon

Awarded Best Reply on Submit Button Does Not Work After Ajax Request

You are replacing the entire html inside tbody, remember, that also contains Form html tag.

So you are replacing this:

<tbody>
<form method="post">
      @include('pagination_data')
<button type="submit" class="btn btn-primary">Submit</button>
</form>

with this:

<tr>
        .....stuff here
    </tr>

and therefore

<form method="post">

is nowhere to find

I would do this if I were you:

<form method="post">
<div id="replaceThis">
      @include('pagination_data')
<button type="submit" class="btn btn-primary">Submit</button>
</div>
</form>

then in fetchdata function, do something like this:

function fetch_data(page, sort_type, sort_by, query)
 {
  $.ajax({
   url:"/pagination/fetch_data?page="+page+"&sortby="+sort_by+"&sorttype="+sort_type+"&query="+query,
   success:function(data)
   {

    $('#replaceThis').html(data);
   }
  })
 }
Apr
13
3 months ago
Activity icon

Replied to Submit Button Does Not Work After Ajax Request

I don't know why you need to have that in the query results, you can have that in the html page.

But if you must have that format, I suggest you visit this page and see how you can make query in your controller:

https://laravel.com/docs/7.x/queries

Apr
11
3 months ago
Activity icon

Replied to Get Data From Different Tables Using Inner Joins

and see if you get any results first.

Activity icon

Replied to Get Data From Different Tables Using Inner Joins

select * from results join users on users.user_id = results.user_id join tests on results.test_id = tests.test_id  join subjects on results.subject = subjects.subject_id 

Activity icon

Replied to Get Data From Different Tables Using Inner Joins

I don't see anything wrong in the code. Are you sure you have all the data you are trying to retrieve?

I would start by running the script against the database and see what I get, if you get results, then you know the issue is somewhere in the code. That's where I would start debugging from.

something like that.

Activity icon

Replied to How To Prevent Other Websites From Embedding Your Website Files

I doubt you can. If your files are publicly reachable, that means they can include them in their links.

Activity icon

Replied to Submit Button Does Not Work After Ajax Request

You are replacing the entire html inside tbody, remember, that also contains Form html tag.

So you are replacing this:

<tbody>
<form method="post">
      @include('pagination_data')
<button type="submit" class="btn btn-primary">Submit</button>
</form>

with this:

<tr>
        .....stuff here
    </tr>

and therefore

<form method="post">

is nowhere to find

I would do this if I were you:

<form method="post">
<div id="replaceThis">
      @include('pagination_data')
<button type="submit" class="btn btn-primary">Submit</button>
</div>
</form>

then in fetchdata function, do something like this:

function fetch_data(page, sort_type, sort_by, query)
 {
  $.ajax({
   url:"/pagination/fetch_data?page="+page+"&sortby="+sort_by+"&sorttype="+sort_type+"&query="+query,
   success:function(data)
   {

    $('#replaceThis').html(data);
   }
  })
 }
Activity icon

Replied to Moving From A Page To Another In Php Using Ajax And Jquery

I would look into using this, if the pages you are loading were already visited:

https://github.com/browserstate/History.js

Activity icon

Replied to Is It Possible To Make A Taxi Platform On Laravel?

It is possible. Laravel is just a PHP framework, and it is easy to learn and make it do whatever you want to do.

There are many ways you can approach this:

You would need payment processing system (or use sprite for this), but you would definitely need to track sales and revenues, etc, and this can easily be done in Laravel.

You would need phone app (like Uber or Lyft does), where clients can track the taxi, and the best way I would approach this is using google maps API (This is not Laravel)

Another nice to have system (in Laravel), a reporting system, to see how many people booked, how many canceled, and how many trips got fulfilled.

Jan
14
5 months ago
Activity icon

Replied to Add Values On Two Arrays

The quickest way would be (if they are the same length:


$array_new=[];

for($i=0; $i<array1.length; $i++)
{
$array_new[$i]=$array1[$i]+$array2[$i];
}