Welcome Guest, Not a member yet? Register   Sign In
How a Library Should Work
#2

[eluser]Majd Taby[/eluser]
It depends on how you want to package it. The MVC design doesn't have a letter for "libraries" as we know them in CI...as such, it's really up to the developer. If I am to release a library that interacts with the database, I would not use a model or rely on the application. The reason is that it makes the installation easier, and it makes the code more centralized. Granted, if the library does a lot, you may consider splitting it up into the parts so you don't have a single 4000 line file.


Messages In This Thread
How a Library Should Work - by El Forum - 04-24-2008, 12:29 PM
How a Library Should Work - by El Forum - 04-24-2008, 12:36 PM
How a Library Should Work - by El Forum - 04-24-2008, 12:52 PM
How a Library Should Work - by El Forum - 04-25-2008, 01:47 AM
How a Library Should Work - by El Forum - 04-25-2008, 08:27 AM



Theme © iAndrew 2016 - Forum software by © MyBB