Welcome Guest, Not a member yet? Register   Sign In
Outlet ORM
#13

[eluser]M4rc0[/eluser]
[quote author="fgrehm" date="1225496579"]
I'm actually using the repository pattern but to make things simple, here's a sample usage:
Code:
class OrderController extends Controller
{
    function show($id)
    {
        $this->load->outlet();
        
        $outlet = Outlet::getInstance();
        $order = $outlet->load('Order', $id);
        // display order data...
    }
}
[/quote]

Hi (Olá) Fábio,

Could you elaborate your example a little bit further?

You gave a great introduction to Outlet, and that is the problem because I'm more interested now (also searching for an ORM) Smile

How would the model look like in this "repository" pattern? Is this the same as a "Domain Driven Design" pattern?

I'm just trying to imagine the model after you presented the controller Smile


Messages In This Thread
Outlet ORM - by El Forum - 10-31-2008, 12:42 PM
Outlet ORM - by El Forum - 11-03-2008, 02:05 PM
Outlet ORM - by El Forum - 03-12-2009, 10:05 AM
Outlet ORM - by El Forum - 03-13-2009, 12:10 PM
Outlet ORM - by El Forum - 04-22-2009, 08:56 AM
Outlet ORM - by El Forum - 10-28-2009, 08:54 AM
Outlet ORM - by El Forum - 10-29-2009, 04:04 PM
Outlet ORM - by El Forum - 11-17-2009, 03:55 AM
Outlet ORM - by El Forum - 11-17-2009, 05:13 AM
Outlet ORM - by El Forum - 11-17-2009, 08:39 AM
Outlet ORM - by El Forum - 11-17-2009, 02:43 PM
Outlet ORM - by El Forum - 11-18-2009, 01:47 AM
Outlet ORM - by El Forum - 11-25-2009, 01:16 PM
Outlet ORM - by El Forum - 07-08-2010, 08:37 PM



Theme © iAndrew 2016 - Forum software by © MyBB