Welcome Guest, Not a member yet? Register   Sign In
DMZ Help
#4

[eluser]2think[/eluser]
@garycocs,

tomdelonge's post was quite explanatory, he provided a well-written explanation and the DMZ link for more info. I'll take a stab at it for you.

You:"So the model is basically crud stuff?"

Answer: It could be, depends. But to really answer that, we need to go to your next question.

You: "What’s the deal with objects and classes??"

Answer: The deal with objects and classes is that your database items - via the DMZ-enhanced models - appear as objects which, to object-oriented programmers, leads to a much more comfortable, intelligible style of coding.

Furthermore, DMZ also allows you to include relationships within your models that mirror your table relationships. By including said relationships, you are relieved of the need to do things like save an invoice then the actual invoice line items in separate tables. Because you've setup the relationships ahead of time in the models, DMZ saves and retrieves affiliated table results as needed.

DMZ has much more functionality than I mention and really the best you can do for yourself is to install it and try it. If it works and you get it, great. If not, Codeigniter's ActiveRecord continues to work well.

Hope this helps some and apologize if there are any inaccuracies. I'm not a Codeigniter pro by any means having come across from Java and older languages to PHP/CI.


Messages In This Thread
DMZ Help - by El Forum - 12-04-2009, 04:47 PM
DMZ Help - by El Forum - 12-04-2009, 07:09 PM
DMZ Help - by El Forum - 12-05-2009, 06:13 AM
DMZ Help - by El Forum - 12-05-2009, 09:34 AM



Theme © iAndrew 2016 - Forum software by © MyBB