Welcome Guest, Not a member yet? Register   Sign In
CI-Enhanced: Model Library
#1

[eluser]Webnet[/eluser]
I've recently been working on converting a few of my existing libraries within CodeIgniter and decided I may as well publish them on GitHub and make them available to all. I'm really looking forward to feedback on these libraries so I can make improvements. As a side affect, it'd be great if someone else found it useful too.

Currently I only have my model library available. But the idea behind it is that you can do things like this to update a user... leave off $userId to create a new user

Code:
modelFactory('user', $userId)
      ->setName('Alex')
      ->setAge(22)
      ->save();

If you like what you see I'd encourage you to check it out, browse the source code, and look at the examples and documentation. I still have more work to do on the wiki I hope to complete over the next week.

CodeIgniter-Enhanced on GitHub




Theme © iAndrew 2016 - Forum software by © MyBB