shammadahmed

shammadahmed

Member Since 3 Years Ago

Karachi

Experience Points 23,250
Experience Level 5

1,750 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 272
Lessons
Completed
Best Reply Awards 0
Best Reply
Awards
  • Start Your Engines Achievement

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • First Thousand Achievement

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • One Year Member Achievement

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • Two Year Member Achievement

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • Three Year Member Achievement

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • Four Year Member Achievement

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • Five Year Member Achievement

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • School In Session Achievement

    School In Session

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

  • Welcome To The Community Achievement

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • Full Time Learner Achievement

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • Pay It Forward Achievement

    Pay It Forward

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

  • Subscriber Achievement

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • Lifer Achievement

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • Laracasts Evangelist Achievement

    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 Achievement

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • Laracasts Veteran Achievement

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • Ten Thousand Strong Achievement

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • Laracasts Master Achievement

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • Laracasts Tutor Achievement

    Laracasts Tutor

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

  • Laracasts Sensei Achievement

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • Top 50 Achievement

    Top 50

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

19 Nov
2 years ago

shammadahmed started a new conversation Multiple Domain Sites With Same Codebase

I'm building a SaaS for creating custom social networks. Can I have a single codebase on one droplet and have multiple social networks with different domains?

21 Jun
2 years ago

shammadahmed left a reply on Extending Multiple Blade Hierarchy

@mstnorris Use @owerwrite instead of @endsection in the third level of extension.

13 Mar
3 years ago

shammadahmed left a reply on Laravel 500 Internal Server Error

@Snapey Thanks a lot, the error was because he was using PHP 5.4.

11 Mar
3 years ago

shammadahmed started a new conversation Laravel 500 Internal Server Error

Hi, I built a script with Laravel and uploaded to a marketplace. I had successfully setup the demo and one of my buyer is placing some problem, installing it. The page is displaying a 500 Internal Server Error. I've set the permissions correctly to the storage folders and checked .htaccess.

14 Feb
3 years ago

shammadahmed started a new conversation Parse XML Feed Every Hour And Store The New Items In The DB

I'm building a news aggregator app. I want to parse an XML feed every hour and then store the new items in the database. The problem is that how do I parse only the new items in the news feed and do it every hour.

30 Dec
3 years ago

shammadahmed left a reply on Npm/Gulp/Elixir Not Working

npm version is 3.3.12.

29 Dec
3 years ago

shammadahmed left a reply on Npm/Gulp/Elixir Not Working

@bashy It says

node -v
v5.3.0

shammadahmed started a new conversation Npm/Gulp/Elixir Not Working

When I run npm install --no-bin-links , the installation starts but keeps on running. Then it ends with this error

ERR! argv npm install --no-bin-links
Max Call Stack Exceded

And when I look in the node_modules folder, it contains tons of folders of all the packages available at npm. I'm using Windows 7.

06 Dec
3 years ago
05 Dec
3 years ago

shammadahmed left a reply on Where To Store Only Single Admin Details

@jekinney There are no users and no authentication required for the site. There needs to be only one user who is the admin.

shammadahmed started a new conversation Where To Store Only Single Admin Details

The app I'm building requires only a single admin and the website details. Where should I store them, in the .env file, a single table or mulptiple tables?

27 Nov
3 years ago
10 Nov
3 years ago

shammadahmed left a reply on QueryException In Connection.php Line 651: SQLSTATE[3D000]: Invalid Catalog Name: 1046 No Database Selected

After the clear-compiled command, everything started working once again.

shammadahmed left a reply on QueryException In Connection.php Line 651: SQLSTATE[3D000]: Invalid Catalog Name: 1046 No Database Selected

@ChristopherRaymond Yes, the database config are all correct. I had the same configs before, nothing is changed.

shammadahmed started a new conversation QueryException In Connection.php Line 651: SQLSTATE[3D000]: Invalid Catalog Name: 1046 No Database Selected

Everything was fine, until I refreshed the page and saw this exception. It is appearing on every page with a db query. I searched Google for it but couldn't find anything.

07 Nov
3 years ago

shammadahmed left a reply on Laravel Project

@martinbean No, it was a little one. I just needed to an update controller and a repository. After all, he was my client and it all messed up.

06 Nov
3 years ago

shammadahmed left a reply on Laravel Project

@jldrw There were no existing backend files.

shammadahmed left a reply on Laravel Project

@martinbean He doesn't actually understand English very well. I couldn't find the Laravel files and then he ended the contract. He was my first client.

shammadahmed left a reply on Laravel Project

He gave me the FTP address and told me to start the work. Only the frontend files were there. He is not using Github. I asked him about the Laravel files. He replied that I must know where to look for the files in that extremely cluttered folder. And then the FTP was not connecting as well. Is it my job to search for the files?

shammadahmed left a reply on Laravel Project

He told me that I need to code the backend for this page http://tbm.com.my/admin_html_ecommerce/product_edit.html#pwp

shammadahmed started a new conversation Laravel Project

A client gave me 3 pages to develop in Laravel. Rest of the project is being developed by someone else. How will I be able to start without the rest of the Laravel files. Should I only need to code required files?

26 Oct
3 years ago

shammadahmed left a reply on Your First Client

@SachinAgarwal @ohffs The place where I live, people don't need websites. It's hard to find web development work.

25 Oct
3 years ago

shammadahmed left a reply on Your First Client

I made a demo e-commerce and uploaded it on github. I had been a while since but it's hard to get actuall work.

shammadahmed left a reply on L5.2.* Eloquent Sluggable - Bootstrap\app

Are you trying to replace the Symfony Router class with your custom implementation?

shammadahmed started a new conversation Your First Client

I have a one year experience in web development, building web apps in PHP and Laravel. But its hard to get a client on the freelancing websites. They all require to have past feedback from other clients. How can I get my first client for web design or development? How did you get your first client?

20 Oct
3 years ago

shammadahmed left a reply on PHP For Desktop Apps

@martinbean I meant that what's your preference?

19 Oct
3 years ago

shammadahmed left a reply on PHP For Desktop Apps

@martinbean What's the best language to develop cross platform apps?

shammadahmed started a new conversation PHP For Desktop Apps

Can PHP be used to develop Desktop apps for Windows and Mac?

shammadahmed left a reply on IoC Container | Multiple Bindings Simultaneously

@belisar Would be nice if Laravel 5.2 includes it out of the box.

18 Oct
3 years ago

shammadahmed started a new conversation IoC Container | Multiple Bindings Simultaneously

How can I bind multiple implementations to an interface? Like if I want to trigger NotifyEvent when a status is updated. And the NotifyEvent has the NotifierInterface as a dependency. How can I bind both SMSNotifier AND EmailNotifier to the NotifierInterface, so that the event is fired off to both of them?

27 Sep
3 years ago

shammadahmed left a reply on Switch Error Messages To Another Language

You can set the language variables and use them in your views.

26 Sep
3 years ago

shammadahmed started a new conversation Speed And Performance

Laravel Elixir compiles all the CSS into one file which I include in my master layout view. Doing this includes some unnecessary styles for the views that don't need them. Should I make a separate styles section or import all the CSS (same for JS).

Thanks for help!

shammadahmed left a reply on Web Design For Developers

@mehany Using Elixir will compile all my Sass code for the master page. But it will include some unnecessary styles as well. What about it?

shammadahmed left a reply on Web Design For Developers

Thanks, getting started with Sass.

25 Sep
3 years ago

shammadahmed left a reply on Web Design For Developers

Do I need to change the bootstrap files?

shammadahmed started a new conversation Web Design For Developers

I've completed the back end of my site and now I'm starting to design it. And I'm finding it very difficult. Should I also learn design and Photoshop. If I pull in bootstrap, do I need to edit it to suit to my design or I need to cascade by another stylesheet? Thanks for help.

10 Aug
3 years ago
09 Aug
3 years ago

shammadahmed started a new conversation Laravel For Android Apps

Is it possible to build android apps using Laravel and Vue.js. It would very much helpful if anyone could share something about it. I searched and found Phonegap and Ionic. Has anyone used any of them?

07 Aug
3 years ago

shammadahmed started a new conversation How Can I Improve This Code

How can i improve this code: It doesn't work when there is no search term, the page simply reloads.

public function search(Request $request)
{
    $q = $request->get('q');

    if ($request->has('q')) {

        if (empty($q)) {
            return redirect('search')->with('status', 'Please, insert a search term.');
        } else {
            $shirts = Shirt::where('name', 'LIKE', '%'.$q.'%')->get();

            if (empty($shirts->toArray())) {
                return redirect('search')->with('status', 'No products were found matching that search term.')->withInput();
            }
        }

        return view('search', compact('shirts'));
    }

    return view('search');
}
04 Aug
3 years ago

shammadahmed started a new conversation White Space Between @include() In Blade

I'm trying to dispaly 4 products in each row, but the row collapses because whitespace is added between the

  • tags which is in the included view.

    <ul class="products">
    
        @foreach($products as $product)
    
            @include('partials.product-list-view')
            
        @endforeach
    
    </ul>
    
    //partials.product-list-view
    <li>
        <a href="shirts/{{ $product->sku }}">
            <img src="{{ $product->img }}" alt="{{ $product->name }}">
            <p>View Details</p>
        </a>
    </li>
    
  • 03 Aug
    3 years ago

    shammadahmed left a reply on Environment Configuration

    XAMPP

    I don't know what was the problem, but it's running well now.

    02 Aug
    3 years ago

    shammadahmed left a reply on Environment Configuration

    No, I'm not.