Giter Club home page Giter Club logo

cribbb's People

Contributors

martindilling avatar philipbrown avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cribbb's Issues

Please put old code up

Hey,
I have been following your tutorials for some time and was hoping you would put your old code up so I can reference it. I am trying to find AbstractRepository.php to see how that worked.
John

Publish laravel 4 version, before the Laravel 5 updates.

It would be nice if you could create a version splitting the code between laravel 4 and laravel 5. It would benefit both developers using L4 as the ones migrating to L5.

PS: thank you for publishing this and all your tutorials. Thank you!

Best regards.

Tests

Hi there,

When using the phpunit test I get the following error:

PHP Fatal error: Call to undefined method Cribbb\Repositories\Invite\EloquentInviteRepository::getBy() in /app/Cribbb/Inviters/Requester.php on line 58

Any ideas?
Cheers

should i use model's method directly in controller ?

find() , all() returning an instance of model . in controller still coupled to the Model Class. so should change different object?

controller:

//get a record from repository
$user = Repository::find(1);
// if execute save(), it will call repository which binding eloquent
$user->save()

if i replace Eloquent model to fluent
i pretend fluent model dont have save method,it should not work perfect if i need to change other model right?

any suggestion ?
thanks

this is a post controller copy from https://github.com/BootstrapCMS/CMS

        $post = PostRepository::find($id);
        $this->checkPost($post);
        $post->update($input);

Bug when register an user and checking the invite filter

When you are trying to create an account and for example introduce an error on the registration form (invalid email) the code will redirect you to register.index and because we are not using the code stored on the session we will get and 404 error, the code should be something like this:

...
$repository = App::make('Logbook\Repositories\Invite\InviteRepositoryInterface');

$code = Input::has('code') ? Input::get('code') : Session::get('invitation_code');

if (! $repository->getValidInviteByCode($code))
{
    App::abort(404);
}
...

Instead of this:

$repository = App::make('Logbook\Repositories\Invite\InviteRepositoryInterface');

if (! $repository->getValidInviteByCode(Input::get('code')))
{
    App::abort(404);
}

Thanks,

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.