RossUK

RossUK

Member Since 1 Year Ago

Experience Points
5,690
Total
Experience

4,310 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
42
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] 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 2
5,690 XP
Nov
13
2 months ago
Activity icon

Replied to Cannot Fire Vue Component Method

Sorry it cropped off the bottom section

export default { mounted: function(){ console.log('Customer component mounted.'); }, methods: { testMethod(){ console.log("I did something yay!!"); } } }

I have tried lots of different ways but cannot get the method to fire

Activity icon

Started a new Conversation Cannot Fire Vue Component Method

I have created a view component in my Laravel App (My first one so sure I have probably missed something)

I can log to the console that the component has mounted and also see the component but cannot get the onclick method to fire. My component will eventually be a tabbed form but for now I am just experimenting trying to fire the click event.

      <!-- Custom Tabs -->
      <div class="nav-tabs-custom">
        <ul class="nav nav-tabs">
          <li @click="testMethod()" class="active"><a href="#tab_1" data-toggle="tab">Trading Style</a></li>
          <li @click="testMethod()"><a href="#" >Customer Name</a></li>
          <li @click="testMethod()" class="disabled"><a href="#tab_3" data-toggle="tab">Addresses</a></li>
         <li class="disabled"><a href="#tab_3" data-toggle="tab">Contacts</a></li>
        </ul>
        <div class="tab-content">
          <div class="tab-pane active" id="tab_1">
            <b>Select Trading Style:</b>

          <div class="form-group">
              <div class="radio">
                <label>
                  <input type="radio" name="optionsRadios" id="optionsRadios1" value="option1" checked="">
                  Private Limited Company (LTD)
                </label>
              </div>

              <div class="radio">
                <label>
                  <input type="radio" name="optionsRadios" id="optionsRadios2" value="option2">
                  Limited Liability Partnership (LLP)
                </label>
              </div>

              <div class="radio">
                <label>
                  <input type="radio" name="optionsRadios" id="optionsRadios2" value="option2">
                  Sole Trader (Trading As)
                </label>
              </div>

              <div class="radio">
                <label>
                  <input type="radio" name="optionsRadios" id="optionsRadios2" value="option2">
                  Partnership (Trading As)
                </label>
              </div>

              <div class="radio">
                <label>
                  <input type="radio" name="optionsRadios" id="optionsRadios2" value="option2">
                  Public Limited Company (PLC)
                </label>
              </div>

            

            </div>

            <button type="submit" class="btn btn-primary" @click="testMethod()">Next</button>

          </div>
          <!-- /.tab-pane -->
          <div class="tab-pane" id="tab_2">
            Tab 2 Form to go here
          </div>
          <!-- /.tab-pane -->
          <div class="tab-pane" id="tab_3">
            Tab 3 Form to go here
          </div>
          <!-- /.tab-pane -->
        </div>
        <!-- /.tab-content -->
      </div>
      <!-- nav-tabs-custom -->

export default { mounted: function(){ console.log('Customer component mounted.'); }, methods: { testMethod(){ console.log("I did something yay!!"); } } }

Nov
06
2 months ago
Activity icon

Replied to Optional WHERE Statement In SQL Query

Sorry for bringing up an old topic, is this safe against SQL injection?

Sep
03
4 months ago
Activity icon

Replied to Getting And Ensuring Artisan Command Is Always Running

Thanks I'll check this out. Just need to lookup how to use it :)

Activity icon

Started a new Conversation Getting And Ensuring Artisan Command Is Always Running

I am looking at using a project I found on github to monitor and react to events on a phone system. The project is /enniel/ami (it connect to asterisk based phone systems) using a socket and triggers events realtime.

There is a command

php artisan ami:listen

How do I make sure this is always running and only running once?

Many Thanks

Aug
08
5 months ago
Activity icon

Replied to General Design Question - Quickly Getting Account Balance

thank you that is what I ended up doing 👍

Jul
25
5 months ago
Activity icon

Started a new Conversation General Design Question - Quickly Getting Account Balance

I have an API route where a customer can retrieve information from my app using an api key. Each api call generates a log of the transaction and uses one credit.

Because the api can be hit in quick succession I am not sure how to quickly determine the customers balance without doing a sum of the transactions every time.

Im just after a high level overview of any ideas on how to best approach this. I need to be able to stop if they exceed their balance this is why i need it each time.

Hope that makes sense

Thanks in advance